Lines Matching full:void
21 void *ctx; /* pointer to arbitrary upper level context */
22 void *msg_ctx; /* upper level context for wpa_msg() calls */
24 void (*set_state)(void *ctx, enum wpa_states state);
25 enum wpa_states (*get_state)(void *ctx);
26 void (*deauthenticate)(void * ctx, int reason_code);
27 void (*disassociate)(void *ctx, int reason_code);
28 int (*set_key)(void *ctx, enum wpa_alg alg,
32 void * (*get_network_ctx)(void *ctx);
33 int (*get_bssid)(void *ctx, u8 *bssid);
34 int (*ether_send)(void *ctx, const u8 *dest, u16 proto, const u8 *buf,
36 int (*get_beacon_ie)(void *ctx);
37 void (*cancel_auth_timeout)(void *ctx);
38 u8 * (*alloc_eapol)(void *ctx, u8 type, const void *data, u16 data_len,
39 size_t *msg_len, void **data_pos);
40 int (*add_pmkid)(void *ctx, const u8 *bssid, const u8 *pmkid);
41 int (*remove_pmkid)(void *ctx, const u8 *bssid, const u8 *pmkid);
42 void (*set_config_blob)(void *ctx, struct wpa_config_blob *blob);
43 const struct wpa_config_blob * (*get_config_blob)(void *ctx,
45 int (*mlme_setprotection)(void *ctx, const u8 *addr,
47 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
49 int (*send_ft_action)(void *ctx, u8 action, const u8 *target_ap,
51 int (*mark_authenticated)(void *ctx, const u8 *target_ap);
53 int (*tdls_get_capa)(void *ctx, int *tdls_supported,
55 int (*send_tdls_mgmt)(void *ctx, const u8 *dst,
58 int (*tdls_oper)(void *ctx, int oper, const u8 *peer);
59 int (*tdls_peer_addset)(void *ctx, const u8 *addr, int add,
63 void (*set_rekey_offload)(void *ctx, const u8 *kek, const u8 *kck,
82 void *network_ctx;
87 void *eap_conf_ctx;
96 void wpa_sm_deinit(struct wpa_sm *sm);
97 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
98 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
99 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len);
100 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
101 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
102 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
103 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config);
104 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr);
105 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname,
107 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol);
123 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise);
128 void wpa_sm_aborted_cached(struct wpa_sm *sm);
133 void wpa_sm_drop_sa(struct wpa_sm *sm);
136 void wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr);
138 void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx);
147 static inline void wpa_sm_deinit(struct wpa_sm *sm)
151 static inline void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid)
155 static inline void wpa_sm_notify_disassoc(struct wpa_sm *sm)
159 static inline void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk,
164 static inline void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm)
168 static inline void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth)
172 static inline void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx)
176 static inline void wpa_sm_set_config(struct wpa_sm *sm,
181 static inline void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr)
185 static inline void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname,
190 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol)
243 static inline void wpa_sm_key_request(struct wpa_sm *sm, int error,
254 static inline void wpa_sm_aborted_cached(struct wpa_sm *sm)
276 static inline void wpa_sm_drop_sa(struct wpa_sm *sm)
285 static inline void wpa_sm_update_replay_ctr(struct wpa_sm *sm,
290 static inline void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm,
291 void *network_ctx)
356 void wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
357 void wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
364 void wpa_tdls_deinit(struct wpa_sm *sm);
365 void wpa_tdls_enable(struct wpa_sm *sm, int enabled);
366 void wpa_tdls_disable_link(struct wpa_sm *sm, const u8 *addr);