wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
wpa_sm_ctx Struct Reference

Data Fields

void * ctx
 
void * msg_ctx
 
void(* set_state )(void *ctx, enum wpa_states state)
 
enum wpa_states(* get_state )(void *ctx)
 
void(* deauthenticate )(void *ctx, int reason_code)
 
int(* set_key )(void *ctx, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len)
 
void *(* get_network_ctx )(void *ctx)
 
int(* get_bssid )(void *ctx, u8 *bssid)
 
int(* ether_send )(void *ctx, const u8 *dest, u16 proto, const u8 *buf, size_t len)
 
int(* get_beacon_ie )(void *ctx)
 
void(* cancel_auth_timeout )(void *ctx)
 
u8 *(* alloc_eapol )(void *ctx, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos)
 
int(* add_pmkid )(void *ctx, const u8 *bssid, const u8 *pmkid)
 
int(* remove_pmkid )(void *ctx, const u8 *bssid, const u8 *pmkid)
 
void(* set_config_blob )(void *ctx, struct wpa_config_blob *blob)
 
const struct wpa_config_blob *(* get_config_blob )(void *ctx, const char *name)
 
int(* mlme_setprotection )(void *ctx, const u8 *addr, int protection_type, int key_type)
 
int(* update_ft_ies )(void *ctx, const u8 *md, const u8 *ies, size_t ies_len)
 
int(* send_ft_action )(void *ctx, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len)
 
int(* mark_authenticated )(void *ctx, const u8 *target_ap)
 
void(* set_rekey_offload )(void *ctx, const u8 *kek, size_t kek_len, const u8 *kck, size_t kck_len, const u8 *replay_ctr)
 
int(* key_mgmt_set_pmk )(void *ctx, const u8 *pmk, size_t pmk_len)
 

The documentation for this struct was generated from the following file: