Home
last modified time | relevance | path

Searched refs:wpa_sm (Results 1 – 25 of 58) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.h17 struct wpa_sm;
143 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
144 void wpa_sm_deinit(struct wpa_sm *sm);
145 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
146 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
147 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
149 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
150 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
151 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
152 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config);
[all …]
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 *sm) in pmksa_candidate_free()
[all …]
Dwpa_i.h25 struct wpa_sm { struct
222 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) in wpa_sm_set_state() argument
228 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) in wpa_sm_get_state()
234 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, u16 reason_code) in wpa_sm_deauthenticate()
240 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg, in wpa_sm_set_key()
251 static inline void wpa_sm_reconnect(struct wpa_sm *sm) in wpa_sm_reconnect()
257 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm) in wpa_sm_get_network_ctx()
263 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) in wpa_sm_get_bssid()
269 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, in wpa_sm_ether_send()
276 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *sm) in wpa_sm_get_beacon_ie()
[all …]
Dpmksa_cache.h64 void *ctx, struct wpa_sm *sm);
80 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
81 void pmksa_cache_clear_current(struct wpa_sm *sm);
82 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
100 void *ctx, struct wpa_sm *sm) in pmksa_cache_init()
117 pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current()
150 static inline void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current()
154 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current()
Dwpa_ie.h12 struct wpa_sm;
14 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
15 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len);
16 u16 rsn_supp_capab(struct wpa_sm *sm);
Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free()
64 struct wpa_sm *sm = ctx; in rsn_preauth_receive()
86 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_cb()
130 struct wpa_sm *sm = eloop_ctx; in rsn_preauth_timeout()
142 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_send()
179 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, in rsn_preauth_init()
282 void rsn_preauth_deinit(struct wpa_sm *sm) in rsn_preauth_deinit()
309 void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process()
375 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add()
455 int rsn_preauth_scan_results(struct wpa_sm *sm) in rsn_preauth_scan_results()
[all …]
Dwpa.c52 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, in wpa_eapol_key_send()
181 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request()
253 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) in wpa_supplicant_key_mgmt_set_pmk()
271 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk()
483 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_2_of_4()
582 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk()
626 static int wpa_handle_ext_key_id(struct wpa_sm *sm, in wpa_handle_ext_key_id()
671 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_1_of_4()
846 struct wpa_sm *sm = eloop_ctx; in wpa_sm_start_preauth()
851 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, in wpa_supplicant_key_neg_complete()
[all …]
Dtdls.c86 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
87 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
89 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
163 static int wpa_tdls_get_privacy(struct wpa_sm *sm) in wpa_tdls_get_privacy()
181 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_del_key()
194 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_set_key()
245 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, in wpa_tdls_send_tpk_msg()
256 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, in wpa_tdls_tpk_send()
324 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer, in wpa_tdls_do_teardown()
340 struct wpa_sm *sm = eloop_ctx; in wpa_tdls_tpk_retry_timeout()
[all …]
Dwpa_ft.c28 static void wpa_ft_pasn_store_r1kh(struct wpa_sm *sm, const u8 *bssid);
30 static void wpa_ft_pasn_store_r1kh(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_pasn_store_r1kh()
36 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk_ft()
92 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params()
185 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, in wpa_ft_gen_req_ies()
447 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_install_ptk()
483 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) in wpa_ft_prepare_auth_request()
506 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *buf, size_t buf_len, in wpa_ft_add_mdie()
531 const u8 * wpa_sm_get_ft_md(struct wpa_sm *sm) in wpa_sm_get_ft_md()
537 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response()
[all …]
Dwpa_ie.c108 u16 rsn_supp_capab(struct wpa_sm *sm) in rsn_supp_capab()
128 struct wpa_sm *sm) in wpa_gen_wpa_ie_rsn()
331 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) in wpa_gen_wpa_ie()
354 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len) in wpa_gen_rsnxe()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.h17 struct wpa_sm;
120 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
121 void wpa_sm_deinit(struct wpa_sm *sm);
122 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
123 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
124 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
126 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
127 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
128 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
129 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config);
[all …]
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 *sm) in pmksa_candidate_free()
[all …]
Dwpa_i.h20 struct wpa_sm { struct
179 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) in wpa_sm_set_state() argument
185 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) in wpa_sm_get_state()
191 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, u16 reason_code) in wpa_sm_deauthenticate()
197 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg, in wpa_sm_set_key()
207 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm) in wpa_sm_get_network_ctx()
213 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) in wpa_sm_get_bssid()
219 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, in wpa_sm_ether_send()
226 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *sm) in wpa_sm_get_beacon_ie()
232 static inline void wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) in wpa_sm_cancel_auth_timeout()
[all …]
Dpmksa_cache.h60 void *ctx, struct wpa_sm *sm);
76 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
77 void pmksa_cache_clear_current(struct wpa_sm *sm);
78 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
93 void *ctx, struct wpa_sm *sm) in pmksa_cache_init()
110 pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current()
143 static inline void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current()
147 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current()
Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free()
55 struct wpa_sm *sm = ctx; in rsn_preauth_receive()
77 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_cb()
121 struct wpa_sm *sm = eloop_ctx; in rsn_preauth_timeout()
133 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_send()
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, in rsn_preauth_init()
273 void rsn_preauth_deinit(struct wpa_sm *sm) in rsn_preauth_deinit()
300 void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process()
368 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add()
448 int rsn_preauth_scan_results(struct wpa_sm *sm) in rsn_preauth_scan_results()
[all …]
Dtdls.c86 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
87 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
89 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
160 static int wpa_tdls_get_privacy(struct wpa_sm *sm) in wpa_tdls_get_privacy()
178 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_del_key()
191 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_set_key()
241 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, in wpa_tdls_send_tpk_msg()
252 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, in wpa_tdls_tpk_send()
320 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer, in wpa_tdls_do_teardown()
336 struct wpa_sm *sm = eloop_ctx; in wpa_tdls_tpk_retry_timeout()
[all …]
Dwpa.c50 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, in wpa_eapol_key_send()
179 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request()
243 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) in wpa_supplicant_key_mgmt_set_pmk()
261 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk()
469 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_2_of_4()
560 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk()
585 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_1_of_4()
722 struct wpa_sm *sm = eloop_ctx; in wpa_sm_start_preauth()
727 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, in wpa_supplicant_key_neg_complete()
777 struct wpa_sm *sm = eloop_ctx; in wpa_sm_rekey_ptk()
[all …]
Dwpa_ft.c25 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk_ft()
76 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params()
161 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, in wpa_ft_gen_req_ies()
398 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_install_ptk()
431 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) in wpa_ft_prepare_auth_request()
454 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *buf, size_t buf_len, in wpa_ft_add_mdie()
479 const u8 * wpa_sm_get_ft_md(struct wpa_sm *sm) in wpa_sm_get_ft_md()
485 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response()
668 int wpa_ft_is_completed(struct wpa_sm *sm) in wpa_ft_is_completed()
680 void wpa_reset_ft_completed(struct wpa_sm *sm) in wpa_reset_ft_completed()
[all …]
Dwpa_ie.h12 struct wpa_sm;
64 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Ddrv_callbacks.c68 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p, in hostapd_notify_assoc_fils_finish()
81 wpa_auth_sm_event(sta->wpa_sm, WPA_ASSOC_FILS); in hostapd_notify_assoc_fils_finish()
312 if (sta->wpa_sm == NULL) in hostapd_notif_assoc()
313 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc()
316 if (sta->wpa_sm == NULL) { in hostapd_notif_assoc()
321 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc()
385 if (wpa_auth_uses_mfp(sta->wpa_sm)) in hostapd_notif_assoc()
393 status = wpa_ft_validate_reassoc(sta->wpa_sm, req_ies, in hostapd_notif_assoc()
445 if (sta->wpa_sm == NULL) in hostapd_notif_assoc()
446 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc()
[all …]
Dieee802_11.c290 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); in auth_shared_key()
755 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); in sae_accept_sta()
1544 if (!sta->wpa_sm) in handle_auth_fils()
1545 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, in handle_auth_fils()
1547 if (!sta->wpa_sm) { in handle_auth_fils()
1554 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in handle_auth_fils()
1596 if (pmksa && wpa_auth_sta_key_mgmt(sta->wpa_sm) != pmksa->akmp) { in handle_auth_fils()
1599 wpa_auth_sta_key_mgmt(sta->wpa_sm), pmksa->akmp); in handle_auth_fils()
1638 if (fils_pmkid_erp(wpa_auth_sta_key_mgmt(sta->wpa_sm), in handle_auth_fils()
1752 if (wpa_key_mgmt_ft(wpa_auth_sta_key_mgmt(sta->wpa_sm))) { in prepare_auth_resp_fils()
[all …]
Dwnm_ap.c96 wpa_auth_uses_ocv(sta->wpa_sm)) { in ieee802_11_send_wnmsleep_resp()
144 if (!wpa_auth_uses_mfp(sta->wpa_sm) || in ieee802_11_send_wnmsleep_resp()
149 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos); in ieee802_11_send_wnmsleep_resp()
154 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos); in ieee802_11_send_wnmsleep_resp()
202 wpa_set_wnmsleep(sta->wpa_sm, 1); in ieee802_11_send_wnmsleep_resp()
214 wpa_set_wnmsleep(sta->wpa_sm, 0); in ieee802_11_send_wnmsleep_resp()
217 if (!wpa_auth_uses_mfp(sta->wpa_sm) || in ieee802_11_send_wnmsleep_resp()
219 wpa_wnmsleep_rekey_gtk(sta->wpa_sm); in ieee802_11_send_wnmsleep_resp()
297 sta && wpa_auth_uses_ocv(sta->wpa_sm)) { in ieee802_11_rx_wnmsleep_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Ddrv_callbacks.c70 p = hostapd_eid_assoc_fils_session(sta->wpa_sm, p, in hostapd_notify_assoc_fils_finish()
83 wpa_auth_sm_event(sta->wpa_sm, WPA_ASSOC_FILS); in hostapd_notify_assoc_fils_finish()
348 if (sta->wpa_sm == NULL) in hostapd_notif_assoc()
349 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc()
352 if (sta->wpa_sm == NULL) { in hostapd_notif_assoc()
357 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc()
438 if (wpa_auth_uses_mfp(sta->wpa_sm)) in hostapd_notif_assoc()
445 status = wpa_ft_validate_reassoc(sta->wpa_sm, req_ies, in hostapd_notif_assoc()
511 if (sta->wpa_sm == NULL) in hostapd_notif_assoc()
512 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc()
[all …]
Dieee802_11.c358 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); in auth_shared_key()
969 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); in sae_accept_sta()
1885 if (!sta->wpa_sm) in handle_auth_fils()
1886 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, in handle_auth_fils()
1888 if (!sta->wpa_sm) { in handle_auth_fils()
1895 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in handle_auth_fils()
1939 if (pmksa && wpa_auth_sta_key_mgmt(sta->wpa_sm) != pmksa->akmp) { in handle_auth_fils()
1942 wpa_auth_sta_key_mgmt(sta->wpa_sm), pmksa->akmp); in handle_auth_fils()
1981 if (fils_pmkid_erp(wpa_auth_sta_key_mgmt(sta->wpa_sm), in handle_auth_fils()
2095 if (wpa_key_mgmt_ft(wpa_auth_sta_key_mgmt(sta->wpa_sm))) { in prepare_auth_resp_fils()
[all …]
Dwnm_ap.c97 wpa_auth_uses_ocv(sta->wpa_sm)) { in ieee802_11_send_wnmsleep_resp()
156 if (!wpa_auth_uses_mfp(sta->wpa_sm) || in ieee802_11_send_wnmsleep_resp()
161 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos); in ieee802_11_send_wnmsleep_resp()
165 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos); in ieee802_11_send_wnmsleep_resp()
175 res = wpa_wnmsleep_bigtk_subelem(sta->wpa_sm, pos); in ieee802_11_send_wnmsleep_resp()
224 wpa_set_wnmsleep(sta->wpa_sm, 1); in ieee802_11_send_wnmsleep_resp()
236 wpa_set_wnmsleep(sta->wpa_sm, 0); in ieee802_11_send_wnmsleep_resp()
239 if (!wpa_auth_uses_mfp(sta->wpa_sm) || in ieee802_11_send_wnmsleep_resp()
241 wpa_wnmsleep_rekey_gtk(sta->wpa_sm); in ieee802_11_send_wnmsleep_resp()
320 sta && wpa_auth_uses_ocv(sta->wpa_sm)) { in ieee802_11_rx_wnmsleep_req()

123