HomeSort by: relevance | last modified time | path
    Searched refs:ptksa (Results 1 - 12 of 12) sorted by relevancy

  /src/external/bsd/wpa/dist/src/common/
ptksa_cache.c 2 * RSN PTKSA cache implementation
18 struct dl_list ptksa; member in struct:ptksa_cache
24 static void ptksa_cache_set_expiration(struct ptksa_cache *ptksa);
27 static void ptksa_cache_free_entry(struct ptksa_cache *ptksa,
30 ptksa->n_ptksa--;
39 struct ptksa_cache *ptksa = eloop_ctx; local
43 if (!ptksa)
48 dl_list_for_each_safe(e, next, &ptksa->ptksa,
53 wpa_printf(MSG_DEBUG, "Expired PTKSA cache entry for " MACSTR
97 struct ptksa_cache *ptksa = os_zalloc(sizeof(struct ptksa_cache)); local
    [all...]
ptksa_cache.h 2 * RSN PTKSA cache interface
18 * struct ptksa_cache_entry - PTKSA cache entry
36 void ptksa_cache_deinit(struct ptksa_cache *ptksa);
37 struct ptksa_cache_entry * ptksa_cache_get(struct ptksa_cache *ptksa,
39 int ptksa_cache_list(struct ptksa_cache *ptksa, char *buf, size_t len);
40 struct ptksa_cache_entry * ptksa_cache_add(struct ptksa_cache *ptksa,
48 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher);
  /src/external/bsd/wpa/dist/wpa_supplicant/
wpas_glue.c 1388 ptksa_cache_add(wpa_s->ptksa, wpa_s->own_addr, addr, cipher, life_time,
1434 wpa_s->ptksa = ptksa_cache_init();
1435 if (!wpa_s->ptksa) {
1436 wpa_printf(MSG_ERROR, "Failed to allocate PTKSA");
1444 ptksa_cache_deinit(wpa_s->ptksa);
1445 wpa_s->ptksa = NULL;
1502 ptksa_cache_deinit(wpa_s->ptksa);
1503 wpa_s->ptksa = NULL;
pasn_supplicant.c 316 entry = ptksa_cache_get(wpa_s->ptksa, peer_addr, cipher);
319 " not present in PTKSA cache", MAC2STR(peer_addr));
325 "PASN: own addr " MACSTR " and PTKSA entry own addr "
331 wpa_printf(MSG_DEBUG, "PASN: " MACSTR " present in PTKSA cache",
423 ptksa_cache_flush(wpa_s->ptksa, peer->peer_addr,
812 ptksa_cache_add(wpa_s->ptksa, pasn->own_addr, pasn->peer_addr,
940 wpa_printf(MSG_DEBUG, "PASN: deauth: Flushing all PTKSA entries for "
942 ptksa_cache_flush(wpa_s->ptksa, peer_addr, WPA_CIPHER_NONE);
wpa_supplicant_i.h 813 struct ptksa_cache *ptksa; member in struct:wpa_supplicant
wpa_supplicant.c 592 ptksa_cache_deinit(wpa_s->ptksa);
593 wpa_s->ptksa = NULL;
2104 * appropriate advertisement of the supported number of PTKSA receive
events.c 4615 ptksa_cache_flush(wpa_s->ptksa, wpa_s->bssid, WPA_CIPHER_NONE);
ctrl_iface.c 8872 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE);
10830 ptksa_cache_flush(wpa_s->ptksa, NULL, WPA_CIPHER_NONE);
13547 reply_len = ptksa_cache_list(wpa_s->ptksa, reply, reply_size);
  /src/external/bsd/wpa/dist/src/ap/
wpa_auth_glue.c 974 ptksa_cache_add(hapd->ptksa, hapd->own_addr, addr, cipher, life_time,
983 ptksa_cache_flush(hapd->ptksa, addr, cipher);
1753 if (!hapd->ptksa)
1754 hapd->ptksa = ptksa_cache_init();
1755 if (!hapd->ptksa) {
1756 wpa_printf(MSG_ERROR, "Failed to allocate PTKSA cache");
1799 ptksa_cache_deinit(hapd->ptksa);
1800 hapd->ptksa = NULL;
hostapd.h 415 struct ptksa_cache *ptksa; member in struct:hostapd_data
ieee802_11.c 2681 entry = ptksa_cache_get(hapd->ptksa, sta_addr, cipher);
2684 " not present in PTKSA cache", MAC2STR(sta_addr));
2690 "PASN: own addr " MACSTR " and PTKSA entry own addr "
2696 wpa_printf(MSG_DEBUG, "PASN: " MACSTR " present in PTKSA cache",
2850 ptksa_cache_add(hapd->ptksa, hapd->own_addr, sta->addr,
5934 /* Clear the PTKSA cache entries for PASN */
5935 ptksa_cache_flush(hapd->ptksa, mgmt->sa, WPA_CIPHER_NONE);
  /src/external/bsd/wpa/dist/hostapd/
ctrl_iface.c 4564 reply_len = ptksa_cache_list(hapd->ptksa, reply, reply_size);

Completed in 133 milliseconds