Home
last modified time | relevance | path

Searched refs:cur_pmksa (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant/
Dpmksa_cache.c109 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_reauth()
130 entry = pmksa->sm->cur_pmksa ? pmksa->sm->cur_pmksa : in pmksa_cache_set_expiration()
200 if (pos == pmksa->sm->cur_pmksa) { in pmksa_cache_add()
211 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_add()
384 return sm->cur_pmksa; in pmksa_cache_get_current()
396 sm->cur_pmksa = NULL; in pmksa_cache_clear_current()
414 sm->cur_pmksa = NULL; in pmksa_cache_set_current()
416 sm->cur_pmksa = pmksa_cache_get(pmksa, NULL, pmkid); in pmksa_cache_set_current()
417 if (sm->cur_pmksa == NULL && bssid) in pmksa_cache_set_current()
418 sm->cur_pmksa = pmksa_cache_get(pmksa, bssid, NULL); in pmksa_cache_set_current()
[all …]
Dwpa.c738 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) in wpa_gen_wpa_ie_rsn()
800 if (sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
805 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn()
811 if (!sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
1351 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk()
1356 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid); in wpa_supplicant_get_pmk()
1357 if (sm->cur_pmksa) { in wpa_supplicant_get_pmk()
1366 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk()
1367 os_memcmp(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk()
1391 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk()
[all …]
Dwpa_i.h93 struct rsn_pmksa_cache_entry *cur_pmksa; /* current PMKSA entry */ member
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dpmksa_cache.c114 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_reauth()
135 entry = pmksa->sm->cur_pmksa ? pmksa->sm->cur_pmksa : in pmksa_cache_set_expiration()
207 if (pos == pmksa->sm->cur_pmksa) { in pmksa_cache_add()
218 pmksa->sm->cur_pmksa = NULL; in pmksa_cache_add()
392 return sm->cur_pmksa; in pmksa_cache_get_current()
404 sm->cur_pmksa = NULL; in pmksa_cache_clear_current()
422 sm->cur_pmksa = NULL; in pmksa_cache_set_current()
424 sm->cur_pmksa = pmksa_cache_get(pmksa, NULL, pmkid); in pmksa_cache_set_current()
425 if (sm->cur_pmksa == NULL && bssid) in pmksa_cache_set_current()
426 sm->cur_pmksa = pmksa_cache_get(pmksa, bssid, NULL); in pmksa_cache_set_current()
[all …]
Dwpa.c198 if (pmkid && !sm->cur_pmksa) { in wpa_supplicant_get_pmk()
203 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid); in wpa_supplicant_get_pmk()
204 if (sm->cur_pmksa) { in wpa_supplicant_get_pmk()
213 if (pmkid && sm->cur_pmksa && in wpa_supplicant_get_pmk()
214 os_memcmp(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) { in wpa_supplicant_get_pmk()
252 if (!sm->cur_pmksa && pmkid && in wpa_supplicant_get_pmk()
264 if (sm->cur_pmksa) { in wpa_supplicant_get_pmk()
267 sm->cur_pmksa = NULL; in wpa_supplicant_get_pmk()
489 if (sm->cur_pmksa && sm->cur_pmksa->opportunistic) { in wpa_supplicant_key_neg_complete()
492 sm->cur_pmksa->opportunistic = 0; in wpa_supplicant_key_neg_complete()
[all …]
Dwpa_ie.c266 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) { in wpa_gen_wpa_ie_rsn()
341 if (sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
346 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); in wpa_gen_wpa_ie_rsn()
352 if (!sm->cur_pmksa) { in wpa_gen_wpa_ie_rsn()
Dwpa_i.h40 struct rsn_pmksa_cache_entry *cur_pmksa; /* current PMKSA entry */ member