Lines Matching defs:wpa_sm_ctx

25 struct wpa_sm_ctx {  struct
26 void *ctx; /* pointer to arbitrary upper level context */
27 void *msg_ctx; /* upper level context for wpa_msg() calls */
29 void (*set_state)(void *ctx, enum wpa_states state);
30 enum wpa_states (*get_state)(void *ctx);
31 void (*deauthenticate)(void * ctx, u16 reason_code);
32 void (*reconnect)(void *ctx);
33 int (*set_key)(void *ctx, int link_id, enum wpa_alg alg,
37 void * (*get_network_ctx)(void *ctx);
38 int (*get_bssid)(void *ctx, u8 *bssid);
39 int (*ether_send)(void *ctx, const u8 *dest, u16 proto, const u8 *buf,
41 int (*get_beacon_ie)(void *ctx);
42 void (*cancel_auth_timeout)(void *ctx);
43 u8 * (*alloc_eapol)(void *ctx, u8 type, const void *data, u16 data_len,
45 int (*add_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
49 int (*remove_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
51 void (*set_config_blob)(void *ctx, struct wpa_config_blob *blob);
52 const struct wpa_config_blob * (*get_config_blob)(void *ctx,
54 int (*mlme_setprotection)(void *ctx, const u8 *addr,
56 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
58 int (*send_ft_action)(void *ctx, u8 action, const u8 *target_ap,
60 int (*mark_authenticated)(void *ctx, const u8 *target_ap);
62 int (*tdls_get_capa)(void *ctx, int *tdls_supported,
64 int (*send_tdls_mgmt)(void *ctx, const u8 *dst,
69 int (*tdls_oper)(void *ctx, int oper, const u8 *peer);
70 int (*tdls_peer_addset)(void *ctx, const u8 *addr, int add, u16 aid,
85 int (*tdls_enable_channel_switch)(
88 int (*tdls_disable_channel_switch)(void *ctx, const u8 *addr);
90 void (*set_rekey_offload)(void *ctx, const u8 *kek, size_t kek_len,
93 int (*key_mgmt_set_pmk)(void *ctx, const u8 *pmk, size_t pmk_len);
94 void (*fils_hlp_rx)(void *ctx, const u8 *dst, const u8 *src,
96 int (*channel_info)(void *ctx, struct wpa_channel_info *ci);
97 void (*transition_disable)(void *ctx, u8 bitmap);
98 void (*store_ptk)(void *ctx, const u8 *addr, int cipher,
101 int (*set_ltf_keyseed)(void *ctx, const u8 *own_addr,
105 void (*notify_pmksa_cache_entry)(void *ctx,
107 void (*ssid_verified)(void *ctx);