Searched refs:wpa_sm (Results 1 - 25 of 73) sorted by relevance

123

/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpreauth.h16 void pmksa_candidate_free(struct wpa_sm *sm);
17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
19 void rsn_preauth_deinit(struct wpa_sm *sm);
20 int rsn_preauth_scan_results(struct wpa_sm *sm);
21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
25 void rsn_preauth_candidate_process(struct wpa_sm *sm);
26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
28 int rsn_preauth_in_progress(struct wpa_sm *sm);
32 static inline void pmksa_candidate_free(struct wpa_sm *s
[all...]
H A Dwpa.h17 struct wpa_sm;
117 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
118 void wpa_sm_deinit(struct wpa_sm *sm);
119 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
120 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
121 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
123 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
124 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
125 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
126 void wpa_sm_set_config(struct wpa_sm *s
[all...]
H A Dpmksa_cache.h60 void *ctx, struct wpa_sm *sm);
75 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
76 void pmksa_cache_clear_current(struct wpa_sm *sm);
77 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
91 void *ctx, struct wpa_sm *sm)
108 pmksa_cache_get_current(struct wpa_sm *sm)
141 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
145 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
H A Dwpa_i.h18 * struct wpa_sm - Internal WPA state machine data
20 struct wpa_sm { struct
170 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
176 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
182 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
188 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
198 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
204 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
210 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
217 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s
[all...]
H A Dwpa_ie.h12 struct wpa_sm;
60 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm)
55 struct wpa_sm *sm = ctx;
77 struct wpa_sm *sm = ctx;
121 struct wpa_sm *sm = eloop_ctx;
133 struct wpa_sm *sm = ctx;
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
273 void rsn_preauth_deinit(struct wpa_sm *sm)
300 void rsn_preauth_candidate_process(struct wpa_sm *sm)
368 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
448 int rsn_preauth_scan_results(struct wpa_sm *s
[all...]
H A Dwpa.c48 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk,
177 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
242 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
260 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
423 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
514 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
529 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
639 struct wpa_sm *sm = eloop_ctx;
644 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
692 struct wpa_sm *s
[all...]
H A Dtdls.c85 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
86 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
88 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
159 static int wpa_tdls_get_privacy(struct wpa_sm *sm)
177 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
190 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
240 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst,
251 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code,
319 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer,
335 struct wpa_sm *s
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dpreauth.h16 void pmksa_candidate_free(struct wpa_sm *sm);
17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
19 void rsn_preauth_deinit(struct wpa_sm *sm);
20 int rsn_preauth_scan_results(struct wpa_sm *sm);
21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
25 void rsn_preauth_candidate_process(struct wpa_sm *sm);
26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
28 int rsn_preauth_in_progress(struct wpa_sm *sm);
32 static inline void pmksa_candidate_free(struct wpa_sm *s
[all...]
H A Dwpa.h17 struct wpa_sm;
117 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
118 void wpa_sm_deinit(struct wpa_sm *sm);
119 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
120 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
121 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
123 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
124 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
125 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
126 void wpa_sm_set_config(struct wpa_sm *s
[all...]
H A Dpmksa_cache.h60 void *ctx, struct wpa_sm *sm);
75 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
76 void pmksa_cache_clear_current(struct wpa_sm *sm);
77 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
91 void *ctx, struct wpa_sm *sm)
108 pmksa_cache_get_current(struct wpa_sm *sm)
141 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
145 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
H A Dwpa_i.h18 * struct wpa_sm - Internal WPA state machine data
20 struct wpa_sm { struct
170 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
176 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
182 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
188 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
198 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
204 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
210 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
217 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s
[all...]
H A Dwpa_ie.h12 struct wpa_sm;
60 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm)
55 struct wpa_sm *sm = ctx;
77 struct wpa_sm *sm = ctx;
121 struct wpa_sm *sm = eloop_ctx;
133 struct wpa_sm *sm = ctx;
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
273 void rsn_preauth_deinit(struct wpa_sm *sm)
300 void rsn_preauth_candidate_process(struct wpa_sm *sm)
368 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
448 int rsn_preauth_scan_results(struct wpa_sm *s
[all...]
H A Dwpa.c48 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk,
177 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
242 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
260 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
423 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
514 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
529 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
639 struct wpa_sm *sm = eloop_ctx;
644 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
692 struct wpa_sm *s
[all...]
H A Dtdls.c85 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
86 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
88 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
159 static int wpa_tdls_get_privacy(struct wpa_sm *sm)
177 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
190 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
240 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst,
251 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code,
319 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer,
335 struct wpa_sm *s
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dpreauth.h16 void pmksa_candidate_free(struct wpa_sm *sm);
17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
19 void rsn_preauth_deinit(struct wpa_sm *sm);
20 int rsn_preauth_scan_results(struct wpa_sm *sm);
21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
25 void rsn_preauth_candidate_process(struct wpa_sm *sm);
26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
28 int rsn_preauth_in_progress(struct wpa_sm *sm);
32 static inline void pmksa_candidate_free(struct wpa_sm *s
[all...]
H A Dwpa.h17 struct wpa_sm;
117 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
118 void wpa_sm_deinit(struct wpa_sm *sm);
119 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
120 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
121 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
123 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
124 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
125 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
126 void wpa_sm_set_config(struct wpa_sm *s
[all...]
H A Dpmksa_cache.h60 void *ctx, struct wpa_sm *sm);
75 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
76 void pmksa_cache_clear_current(struct wpa_sm *sm);
77 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
91 void *ctx, struct wpa_sm *sm)
108 pmksa_cache_get_current(struct wpa_sm *sm)
141 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
145 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
H A Dwpa_i.h18 * struct wpa_sm - Internal WPA state machine data
20 struct wpa_sm { struct
170 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
176 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
182 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
188 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
198 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
204 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
210 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
217 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s
[all...]
H A Dwpa_ie.h12 struct wpa_sm;
60 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm)
55 struct wpa_sm *sm = ctx;
77 struct wpa_sm *sm = ctx;
121 struct wpa_sm *sm = eloop_ctx;
133 struct wpa_sm *sm = ctx;
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
273 void rsn_preauth_deinit(struct wpa_sm *sm)
300 void rsn_preauth_candidate_process(struct wpa_sm *sm)
368 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
448 int rsn_preauth_scan_results(struct wpa_sm *s
[all...]
H A Dwpa.c48 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk,
177 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
242 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
260 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
423 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
514 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
529 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
639 struct wpa_sm *sm = eloop_ctx;
644 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
692 struct wpa_sm *s
[all...]
H A Dtdls.c85 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
86 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
88 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
159 static int wpa_tdls_get_privacy(struct wpa_sm *sm)
177 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
190 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
240 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst,
251 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code,
319 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer,
335 struct wpa_sm *s
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_mlme.c189 if (sta->wpa_sm)
190 wpa_remove_ptk(sta->wpa_sm);

Completed in 255 milliseconds

123