Home
last modified time | relevance | path

Searched refs:network_ctx (Results 1 – 10 of 10) sorted by relevance

/hostap-3.6.0/src/rsn_supp/
Dpmksa_cache.c48 wpa_sm_remove_pmkid(pmksa->sm, entry->network_ctx, entry->aa, in pmksa_cache_free_entry()
175 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add() argument
210 entry->network_ctx = network_ctx; in pmksa_cache_add()
256 pmksa_cache_flush(pmksa, entry->network_ctx, in pmksa_cache_add_entry()
310 entry->network_ctx, entry->akmp); in pmksa_cache_add_entry()
311 wpa_sm_add_pmkid(pmksa->sm, entry->network_ctx, entry->aa, entry->pmkid, in pmksa_cache_add_entry()
331 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx, in pmksa_cache_flush() argument
339 if ((entry->network_ctx == network_ctx || in pmksa_cache_flush()
340 network_ctx == NULL) && in pmksa_cache_flush()
399 const void *network_ctx, in pmksa_cache_get() argument
[all …]
Dpmksa_cache.h44 void *network_ctx; member
68 const void *network_ctx,
75 const u8 *aa, const u8 *spa, void *network_ctx, int akmp,
83 const u8 *bssid, void *network_ctx,
88 void *network_ctx, const u8 *aa, int akmp);
89 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx,
111 const void *network_ctx, int akmp) in pmksa_cache_get() argument
144 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add() argument
156 void *network_ctx, in pmksa_cache_set_current() argument
165 void *network_ctx, in pmksa_cache_flush() argument
Dwpa.h43 int (*add_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
47 int (*remove_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
124 void *network_ctx; member
197 const void *network_ctx);
202 const void *network_ctx,
209 void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx);
210 void wpa_sm_external_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx);
401 const void *network_ctx, int akmp) in wpa_sm_pmksa_cache_get() argument
417 void *network_ctx) in wpa_sm_external_pmksa_cache_flush() argument
422 void *network_ctx) in wpa_sm_pmksa_cache_flush() argument
Dwpa_i.h63 void *network_ctx; member
297 static inline int wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, in wpa_sm_add_pmkid() argument
304 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid, in wpa_sm_add_pmkid()
309 static inline int wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, in wpa_sm_remove_pmkid() argument
314 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid, in wpa_sm_remove_pmkid()
Dpreauth.c108 sm->network_ctx, in rsn_preauth_eapol_cb()
380 if (sm->network_ctx && sm->proactive_key_caching) in pmksa_candidate_add()
381 pmksa_cache_get_opportunistic(sm->pmksa, sm->network_ctx, in pmksa_candidate_add()
Dwpa.c364 sm->network_ctx, in wpa_supplicant_get_pmk()
392 sm->network_ctx, in wpa_supplicant_get_pmk()
1835 sm->network_ctx, sm->key_mgmt, NULL); in wpa_supplicant_process_3_of_4()
3138 sm->network_ctx, sm->key_mgmt, in wpa_sm_set_pmk()
3212 sm->network_ctx = config->network_ctx; in wpa_sm_set_config()
3238 sm->network_ctx = NULL; in wpa_sm_set_config()
3815 bssid, sm->own_addr, sm->network_ctx, in wpa_sm_pmksa_cache_add()
3821 const void *network_ctx) in wpa_sm_pmksa_exists() argument
3823 return pmksa_cache_get(sm->pmksa, bssid, NULL, network_ctx, 0) != NULL; in wpa_sm_pmksa_exists()
3830 const void *network_ctx, in wpa_sm_pmksa_cache_get() argument
[all …]
/hostap-3.6.0/wpa_supplicant/
Dwpas_glue.c562 void *network_ctx) in wpas_get_network_ctx() argument
567 if (network_ctx == ssid) in wpas_get_network_ctx()
575 static int wpa_supplicant_add_pmkid(void *_wpa_s, void *network_ctx, in wpa_supplicant_add_pmkid() argument
587 ssid = wpas_get_network_ctx(wpa_s, network_ctx); in wpa_supplicant_add_pmkid()
622 static int wpa_supplicant_remove_pmkid(void *_wpa_s, void *network_ctx, in wpa_supplicant_remove_pmkid() argument
631 ssid = wpas_get_network_ctx(wpa_s, network_ctx); in wpa_supplicant_remove_pmkid()
1447 conf.network_ctx = ssid; in wpa_supplicant_rsn_supp_set_config()
Dpreauth_test.c153 static int wpa_supplicant_add_pmkid(void *wpa_s, void *network_ctx, in wpa_supplicant_add_pmkid() argument
165 static int wpa_supplicant_remove_pmkid(void *wpa_s, void *network_ctx, in wpa_supplicant_remove_pmkid() argument
Ddpp_supplicant.c2616 entry->network_ctx = ssid; in wpas_dpp_rx_peer_disc_resp()
Dctrl_iface.c10475 if (entry->network_ctx != ssid) in wpas_ctrl_iface_pmksa_get()
10609 entry->network_ctx = ssid; in wpas_ctrl_iface_pmksa_add()