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;
112 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
113 void wpa_sm_deinit(struct wpa_sm *sm);
114 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
115 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
116 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
118 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
119 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
120 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
121 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);
62 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
63 void pmksa_cache_clear_current(struct wpa_sm *sm);
64 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
78 void *ctx, struct wpa_sm *sm)
95 pmksa_cache_get_current(struct wpa_sm *sm)
114 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
118 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
144 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
150 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
156 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
162 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
172 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
178 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
184 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
191 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 43 int wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len,
96 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
163 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
181 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
336 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
429 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
444 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
554 struct wpa_sm *sm = eloop_ctx;
559 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
605 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,
124 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm,
179 struct wpa_sm *sm, const unsigned char *src_addr,
322 static void wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm,
379 static void wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm,
458 static int wpa_supplicant_process_smk_m5(struct wpa_sm *sm,
514 struct wpa_sm *sm, const unsigned char *src_addr,
593 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(?) */
405 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm)
417 void pmksa_cache_clear_current(struct wpa_sm *sm)
434 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
526 void *ctx, struct wpa_sm *sm)
wpa_ie.c 111 struct wpa_sm *sm)
298 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 179 if (sta->wpa_sm)
180 wpa_remove_ptk(sta->wpa_sm);
tkip_countermeasures.c 77 wpa_auth_sta_local_mic_failure_report(sta->wpa_sm);
drv_callbacks.c 216 if (sta->wpa_sm == NULL)
217 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth,
220 if (sta->wpa_sm == NULL) {
225 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm,
283 if (wpa_auth_uses_mfp(sta->wpa_sm))
291 status = wpa_ft_validate_reassoc(sta->wpa_sm, req_ies,
343 if (sta->wpa_sm == NULL)
344 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth,
346 if (sta->wpa_sm == NULL) {
351 if (wpa_validate_osen(hapd->wpa_auth, 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);
164 wpa_set_wnmsleep(sta->wpa_sm, 1);
176 wpa_set_wnmsleep(sta->wpa_sm, 0);
179 if (!wpa_auth_uses_mfp(sta->wpa_sm))
180 wpa_wnmsleep_rekey_gtk(sta->wpa_sm);
ieee802_1x.c 70 if (wpa_auth_pairwise_set(sta->wpa_sm))
346 ver = wpa_auth_sta_wpa_version(sta->wpa_sm);
347 val = wpa_auth_get_pairwise(sta->wpa_sm);
370 val = wpa_auth_sta_key_mgmt(sta->wpa_sm);
476 sta->wpa_sm &&
477 (wpa_key_mgmt_ft(wpa_auth_sta_key_mgmt(sta->wpa_sm)) ||
489 if ((hapd->conf->wpa || hapd->conf->osen) && sta->wpa_sm &&
853 if (sta->wpa_sm) {
855 if (wpa_auth_sta_get_pmksa(sta->wpa_sm))
959 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr
    [all...]
ieee802_11.c 246 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH);
562 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH);
    [all...]
wpa_auth_glue.c 363 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx))
518 if (sta == NULL || sta->wpa_sm == NULL)
550 if (sta->wpa_sm) {
552 return sta->wpa_sm;
555 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL);
556 if (sta->wpa_sm == NULL) {
562 return sta->wpa_sm;
sta_info.h 138 struct wpa_state_machine *wpa_sm; member in struct:sta_info
sta_info.c 260 wpa_auth_sta_deinit(sta->wpa_sm);
269 * sta->wpa_sm->group needs to be released before so that
992 if (wpa_auth_sta_set_vlan(sta->wpa_sm, sta->vlan_id) < 0)
1149 if (wpa_auth_get_ip_addr(sta->wpa_sm, ip_addr_buf) == 0) {
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ibss_rsn.h 35 struct wpa_sm *supp;
mesh_rsn.c 309 if (!sta->wpa_sm)
310 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth,
312 if (!sta->wpa_sm) {
322 wpa_auth_pmksa_set_to_sm(pmksa, sta->wpa_sm, hapd->wpa_auth,
wpa_supplicant_i.h 30 struct wpa_sm;
573 struct wpa_sm *wpa;
    [all...]

Completed in 929 milliseconds

1 2