Home
last modified time | relevance | path

Searched refs:ptksa (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/common/
Dptksa_cache.c18 struct dl_list ptksa; member
22 static void ptksa_cache_set_expiration(struct ptksa_cache *ptksa);
25 static void ptksa_cache_free_entry(struct ptksa_cache *ptksa, in ptksa_cache_free_entry() argument
28 ptksa->n_ptksa--; in ptksa_cache_free_entry()
37 struct ptksa_cache *ptksa = eloop_ctx; in ptksa_cache_expire() local
41 if (!ptksa) in ptksa_cache_expire()
46 dl_list_for_each_safe(e, next, &ptksa->ptksa, in ptksa_cache_expire()
54 ptksa_cache_free_entry(ptksa, e); in ptksa_cache_expire()
57 ptksa_cache_set_expiration(ptksa); in ptksa_cache_expire()
61 static void ptksa_cache_set_expiration(struct ptksa_cache *ptksa) in ptksa_cache_set_expiration() argument
[all …]
Dptksa_cache.h33 void ptksa_cache_deinit(struct ptksa_cache *ptksa);
34 struct ptksa_cache_entry * ptksa_cache_get(struct ptksa_cache *ptksa,
36 int ptksa_cache_list(struct ptksa_cache *ptksa, char *buf, size_t len);
37 struct ptksa_cache_entry * ptksa_cache_add(struct ptksa_cache *ptksa,
41 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher);
50 static inline void ptksa_cache_deinit(struct ptksa_cache *ptksa) in ptksa_cache_deinit() argument
55 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() argument
60 static inline int ptksa_cache_list(struct ptksa_cache *ptksa, in ptksa_cache_list() argument
67 ptksa_cache_add(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher, in ptksa_cache_add() argument
73 static inline void ptksa_cache_flush(struct ptksa_cache *ptksa, in ptksa_cache_flush() argument
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_glue.c1363 ptksa_cache_add(wpa_s->ptksa, addr, cipher, life_time, ptk); in wpa_supplicant_store_ptk()
1374 wpa_s->ptksa = ptksa_cache_init(); in wpa_supplicant_init_wpa()
1375 if (!wpa_s->ptksa) { in wpa_supplicant_init_wpa()
1384 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_init_wpa()
1385 wpa_s->ptksa = NULL; in wpa_supplicant_init_wpa()
1437 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_init_wpa()
1438 wpa_s->ptksa = NULL; in wpa_supplicant_init_wpa()
Dwpa_supplicant_i.h701 struct ptksa_cache *ptksa; member
Dpasn_supplicant.c1423 ptksa_cache_add(wpa_s->ptksa, pasn->bssid, pasn->cipher, in wpas_pasn_auth_rx()
Dctrl_iface.c8471 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE); in wpa_supplicant_ctrl_iface_flush()
10156 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE); in wpas_ctrl_iface_pmksa_flush()
11461 reply_len = ptksa_cache_list(wpa_s->ptksa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
Dwpa_supplicant.c578 ptksa_cache_deinit(wpa_s->ptksa); in wpa_supplicant_cleanup()
579 wpa_s->ptksa = NULL; in wpa_supplicant_cleanup()
Devents.c3569 ptksa_cache_flush(wpa_s->ptksa, wpa_s->bssid, WPA_CIPHER_NONE); in wpa_supplicant_event_disassoc_finish()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_glue.c930 ptksa_cache_add(hapd->ptksa, addr, cipher, life_time, ptk); in hostapd_store_ptksa()
938 ptksa_cache_flush(hapd->ptksa, addr, cipher); in hostapd_clear_ptksa()
1558 hapd->ptksa = ptksa_cache_init(); in hostapd_setup_wpa()
1559 if (!hapd->ptksa) { in hostapd_setup_wpa()
1603 ptksa_cache_deinit(hapd->ptksa); in hostapd_deinit_wpa()
1604 hapd->ptksa = NULL; in hostapd_deinit_wpa()
Dhostapd.h373 struct ptksa_cache *ptksa; member
Dieee802_11.c3353 ptksa_cache_add(hapd->ptksa, sta->addr, sta->pasn->cipher, 43200, in handle_auth_pasn_3()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c3871 reply_len = ptksa_cache_list(hapd->ptksa, reply, reply_size); in hostapd_ctrl_iface_receive_process()