/external/wpa_supplicant/ |
D | pmksa_cache.c | 32 struct rsn_pmksa_cache_entry *pmksa; /* PMKSA cache */ member 69 static void pmksa_cache_set_expiration(struct rsn_pmksa_cache *pmksa); 78 static void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument 82 pmksa->pmksa_count--; in pmksa_cache_free_entry() 83 pmksa->free_cb(entry, pmksa->ctx, replace); in pmksa_cache_free_entry() 90 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local 94 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 95 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire() 96 pmksa->pmksa = entry->next; in pmksa_cache_expire() 99 pmksa_cache_free_entry(pmksa, entry, 0); in pmksa_cache_expire() [all …]
|
D | pmksa_cache.h | 43 void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa); 44 struct rsn_pmksa_cache_entry * pmksa_cache_get(struct rsn_pmksa_cache *pmksa, 48 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 50 void pmksa_cache_notify_reconfig(struct rsn_pmksa_cache *pmksa); 57 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa, 70 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument 75 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid) in pmksa_cache_get() argument 92 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, in pmksa_cache_add() argument 98 static inline void pmksa_cache_notify_reconfig(struct rsn_pmksa_cache *pmksa) in pmksa_cache_notify_reconfig() argument
|
D | preauth.c | 106 pmksa_cache_add(sm->pmksa, pmk, pmk_len, in rsn_preauth_eapol_cb() 317 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL); in rsn_preauth_candidate_process() 363 pmksa_cache_get_opportunistic(sm->pmksa, sm->cur_ssid, bssid); in pmksa_candidate_add() 437 struct rsn_pmksa_cache_entry *pmksa; in rsn_preauth_scan_results() local 462 pmksa = pmksa_cache_get(sm->pmksa, r->bssid, NULL); in rsn_preauth_scan_results() 463 if (pmksa && in rsn_preauth_scan_results() 464 (!pmksa->opportunistic || in rsn_preauth_scan_results()
|
D | driver_wext.c | 2119 struct iw_pmksa pmksa; local 2124 os_memset(&pmksa, 0, sizeof(pmksa)); 2125 pmksa.cmd = cmd; 2126 pmksa.bssid.sa_family = ARPHRD_ETHER; 2128 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); 2130 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); 2131 iwr.u.data.pointer = (caddr_t) &pmksa; 2132 iwr.u.data.length = sizeof(pmksa);
|
D | wpa_i.h | 92 struct rsn_pmksa_cache *pmksa; /* PMKSA cache */ member
|
D | wpa.c | 1356 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid); in wpa_supplicant_get_pmk() 1389 pmksa_cache_add(sm->pmksa, sm->pmk, pmk_len, src_addr, in wpa_supplicant_get_pmk() 1392 pmksa_cache_get(sm->pmksa, src_addr, pmkid)) { in wpa_supplicant_get_pmk() 3824 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init() 3825 if (sm->pmksa == NULL) { in wpa_sm_init() 3844 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit() 3982 pmksa_cache_notify_reconfig(sm->pmksa); in wpa_sm_set_config()
|
D | README | 811 pmksa = show PMKSA cache
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | pmksa_cache.c | 31 struct rsn_pmksa_cache_entry *pmksa; /* PMKSA cache */ member 74 static void pmksa_cache_set_expiration(struct rsn_pmksa_cache *pmksa); 83 static void pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, in pmksa_cache_free_entry() argument 87 pmksa->pmksa_count--; in pmksa_cache_free_entry() 88 pmksa->free_cb(entry, pmksa->ctx, replace); in pmksa_cache_free_entry() 95 struct rsn_pmksa_cache *pmksa = eloop_ctx; in pmksa_cache_expire() local 99 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire() 100 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire() 101 pmksa->pmksa = entry->next; in pmksa_cache_expire() 104 pmksa_cache_free_entry(pmksa, entry, 0); in pmksa_cache_expire() [all …]
|
D | pmksa_cache.h | 53 void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa); 54 struct rsn_pmksa_cache_entry * pmksa_cache_get(struct rsn_pmksa_cache *pmksa, 58 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 60 void pmksa_cache_notify_reconfig(struct rsn_pmksa_cache *pmksa); 67 pmksa_cache_get_opportunistic(struct rsn_pmksa_cache *pmksa, 80 static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa) in pmksa_cache_deinit() argument 85 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid) in pmksa_cache_get() argument 102 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, in pmksa_cache_add() argument 108 static inline void pmksa_cache_notify_reconfig(struct rsn_pmksa_cache *pmksa) in pmksa_cache_notify_reconfig() argument
|
D | preauth.c | 105 pmksa_cache_add(sm->pmksa, pmk, pmk_len, in rsn_preauth_eapol_cb() 318 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL); in rsn_preauth_candidate_process() 365 pmksa_cache_get_opportunistic(sm->pmksa, sm->network_ctx, in pmksa_candidate_add() 439 struct rsn_pmksa_cache_entry *pmksa; in rsn_preauth_scan_results() local 467 pmksa = pmksa_cache_get(sm->pmksa, r->bssid, NULL); in rsn_preauth_scan_results() 468 if (pmksa && in rsn_preauth_scan_results() 469 (!pmksa->opportunistic || in rsn_preauth_scan_results()
|
D | wpa.c | 203 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid); in wpa_supplicant_get_pmk() 249 pmksa_cache_add(sm->pmksa, sm->pmk, pmk_len, src_addr, in wpa_supplicant_get_pmk() 253 pmksa_cache_get(sm->pmksa, src_addr, pmkid)) { in wpa_supplicant_get_pmk() 1873 sm->pmksa = pmksa_cache_init(wpa_sm_pmksa_free_cb, sm, sm); in wpa_sm_init() 1874 if (sm->pmksa == NULL) { in wpa_sm_init() 1893 pmksa_cache_deinit(sm->pmksa); in wpa_sm_deinit() 2077 pmksa_cache_notify_reconfig(sm->pmksa); in wpa_sm_set_config()
|
D | wpa_i.h | 39 struct rsn_pmksa_cache *pmksa; /* PMKSA cache */ member
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_nl80211.c | 2312 struct iw_pmksa pmksa; in wpa_driver_nl80211_pmksa() local 2317 os_memset(&pmksa, 0, sizeof(pmksa)); in wpa_driver_nl80211_pmksa() 2318 pmksa.cmd = cmd; in wpa_driver_nl80211_pmksa() 2319 pmksa.bssid.sa_family = ARPHRD_ETHER; in wpa_driver_nl80211_pmksa() 2321 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); in wpa_driver_nl80211_pmksa() 2323 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); in wpa_driver_nl80211_pmksa() 2324 iwr.u.data.pointer = (caddr_t) &pmksa; in wpa_driver_nl80211_pmksa() 2325 iwr.u.data.length = sizeof(pmksa); in wpa_driver_nl80211_pmksa()
|
D | driver_wext.c | 2412 struct iw_pmksa pmksa; local 2417 os_memset(&pmksa, 0, sizeof(pmksa)); 2418 pmksa.cmd = cmd; 2419 pmksa.bssid.sa_family = ARPHRD_ETHER; 2421 os_memcpy(pmksa.bssid.sa_data, bssid, ETH_ALEN); 2423 os_memcpy(pmksa.pmkid, pmkid, IW_PMKID_LEN); 2424 iwr.u.data.pointer = (caddr_t) &pmksa; 2425 iwr.u.data.length = sizeof(pmksa);
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | README | 817 pmksa = show PMKSA cache
|