HomeSort by relevance Sort by last modified time
    Searched refs:wpa_sm (Results 1 - 25 of 27) sorted by null

1 2

  /external/wpa_supplicant_8/src/rsn_supp/
preauth.h 16 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
    [all...]
wpa.h 17 struct wpa_sm;
116 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
117 void wpa_sm_deinit(struct wpa_sm *sm);
118 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
119 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
120 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
122 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
123 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
124 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
125 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config)
    [all...]
peerkey.h 39 int peerkey_verify_eapol_key_mic(struct wpa_sm *sm,
43 void peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey,
46 void peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
49 void peerkey_deinit(struct wpa_sm *sm);
54 peerkey_verify_eapol_key_mic(struct wpa_sm *sm,
63 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey,
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
76 static inline void peerkey_deinit(struct wpa_sm *sm)
pmksa_cache.h 52 void *ctx, struct wpa_sm *sm);
66 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
67 void pmksa_cache_clear_current(struct wpa_sm *sm);
68 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
82 void *ctx, struct wpa_sm *sm)
99 pmksa_cache_get_current(struct wpa_sm *sm)
131 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
135 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
wpa_i.h 19 * struct wpa_sm - Internal WPA state machine data
21 struct wpa_sm { struct
156 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
162 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
168 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
174 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
184 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
190 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
196 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
203 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *sm
    [all...]
wpa_ie.h 12 struct wpa_sm;
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
preauth.c 37 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)
367 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
447 int rsn_preauth_scan_results(struct wpa_sm *sm
    [all...]
wpa.c 46 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk,
172 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
237 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
255 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
410 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
501 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
516 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
626 struct wpa_sm *sm = eloop_ctx;
631 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
677 struct wpa_sm *sm = eloop_ctx
    [all...]
tdls.c 85 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,
158 static int wpa_tdls_get_privacy(struct wpa_sm *sm)
176 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
189 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
222 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst,
233 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code,
302 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer,
318 struct wpa_sm *sm = eloop_ctx
    [all...]
peerkey.c 47 struct wpa_sm *sm = eloop_ctx;
54 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm,
62 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst,
123 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm,
177 struct wpa_sm *sm, const unsigned char *src_addr,
320 static void wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm,
378 static void wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm,
457 static int wpa_supplicant_process_smk_m5(struct wpa_sm *sm,
513 struct wpa_sm *sm, const unsigned char *src_addr,
592 struct wpa_sm *sm, const unsigned char *src_addr
    [all...]
wpa_ft.c 21 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr,
58 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len)
141 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len,
313 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid)
346 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie)
369 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
520 int wpa_ft_is_completed(struct wpa_sm *sm)
532 void wpa_reset_ft_completed(struct wpa_sm *sm)
539 static int wpa_ft_process_gtk_subelem(struct wpa_sm *sm, const u8 *gtk_elem,
614 static int wpa_ft_process_igtk_subelem(struct wpa_sm *sm, const u8 *igtk_elem
    [all...]
pmksa_cache.c 25 struct wpa_sm *sm; /* TODO: get rid of this reference(?) */
418 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm)
430 void pmksa_cache_clear_current(struct wpa_sm *sm)
447 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
545 void *ctx, struct wpa_sm *sm)
wpa_ie.c 111 struct wpa_sm *sm)
310 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len)
  /external/wpa_supplicant_8/src/ap/
ap_mlme.c 189 if (sta->wpa_sm)
190 wpa_remove_ptk(sta->wpa_sm);
tkip_countermeasures.c 77 wpa_auth_sta_local_mic_failure_report(sta->wpa_sm);
drv_callbacks.c 223 if (sta->wpa_sm == NULL)
224 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth,
227 if (sta->wpa_sm == NULL) {
232 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm,
290 if (wpa_auth_uses_mfp(sta->wpa_sm))
298 status = wpa_ft_validate_reassoc(sta->wpa_sm, req_ies,
350 if (sta->wpa_sm == NULL)
351 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth,
353 if (sta->wpa_sm == NULL) {
358 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm,
    [all...]
ieee802_11.c 254 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH);
573 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH);
1057 if (!sta->wpa_sm)
1058 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr,
1060 if (!sta->wpa_sm) {
1067 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm,
1106 if (pmksa && wpa_auth_sta_key_mgmt(sta->wpa_sm) != pmksa->akmp) {
1109 wpa_auth_sta_key_mgmt(sta->wpa_sm), pmksa->akmp);
1239 if (fils_rmsk_to_pmk(wpa_auth_sta_key_mgmt(sta->wpa_sm)
    [all...]
wnm_ap.c 111 if (!wpa_auth_uses_mfp(sta->wpa_sm) ||
115 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos);
120 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos);
161 wpa_set_wnmsleep(sta->wpa_sm, 1);
173 wpa_set_wnmsleep(sta->wpa_sm, 0);
176 if (!wpa_auth_uses_mfp(sta->wpa_sm))
177 wpa_wnmsleep_rekey_gtk(sta->wpa_sm);
ieee802_1x.c 72 if (wpa_auth_pairwise_set(sta->wpa_sm))
349 ver = wpa_auth_sta_wpa_version(sta->wpa_sm);
350 val = wpa_auth_get_pairwise(sta->wpa_sm);
373 val = wpa_auth_sta_key_mgmt(sta->wpa_sm);
480 sta->wpa_sm &&
481 (wpa_key_mgmt_ft(wpa_auth_sta_key_mgmt(sta->wpa_sm)) ||
493 if ((hapd->conf->wpa || hapd->conf->osen) && sta->wpa_sm &&
857 if (sta->wpa_sm) {
859 if (wpa_auth_sta_get_pmksa(sta->wpa_sm))
963 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr
    [all...]
wpa_auth_glue.c 366 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx))
521 if (sta == NULL || sta->wpa_sm == NULL)
553 if (sta->wpa_sm) {
555 return sta->wpa_sm;
558 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL);
559 if (sta->wpa_sm == NULL) {
565 return sta->wpa_sm;
sta_info.h 150 struct wpa_state_machine *wpa_sm; member in struct:sta_info
sta_info.c 269 wpa_auth_sta_deinit(sta->wpa_sm);
278 * sta->wpa_sm->group needs to be released before so that
1029 if (wpa_auth_sta_set_vlan(sta->wpa_sm, sta->vlan_id) < 0)
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ibss_rsn.h 35 struct wpa_sm *supp;
mesh_rsn.c 357 if (!sta->wpa_sm)
358 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth,
360 if (!sta->wpa_sm) {
370 wpa_auth_pmksa_set_to_sm(pmksa, sta->wpa_sm, hapd->wpa_auth,
wpa_supplicant_i.h 31 struct wpa_sm;
594 struct wpa_sm *wpa;
    [all...]

Completed in 140 milliseconds

1 2