Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dpmksa_cache.c46 wpa_sm_remove_pmkid(pmksa->sm, entry->network_ctx, entry->aa, in pmksa_cache_free_entry()
133 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add() argument
168 entry->network_ctx = network_ctx; in pmksa_cache_add()
214 pmksa_cache_flush(pmksa, entry->network_ctx, in pmksa_cache_add_entry()
267 entry->network_ctx, entry->akmp); in pmksa_cache_add_entry()
268 wpa_sm_add_pmkid(pmksa->sm, entry->network_ctx, entry->aa, entry->pmkid, in pmksa_cache_add_entry()
283 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx, in pmksa_cache_flush() argument
291 if ((entry->network_ctx == network_ctx || in pmksa_cache_flush()
292 network_ctx == NULL) && in pmksa_cache_flush()
350 const void *network_ctx, in pmksa_cache_get() argument
[all …]
Dpmksa_cache.h43 void *network_ctx; member
64 const void *network_ctx,
71 const u8 *aa, const u8 *spa, void *network_ctx, int akmp,
79 const u8 *bssid, void *network_ctx,
84 void *network_ctx, const u8 *aa, int akmp);
85 void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx,
104 const void *network_ctx, int akmp) in pmksa_cache_get() argument
137 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add() argument
149 void *network_ctx, in pmksa_cache_set_current() argument
158 void *network_ctx, in pmksa_cache_flush() argument
Dwpa.h42 int (*add_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
45 int (*remove_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
105 void *network_ctx; member
167 const void *network_ctx);
173 void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx);
339 void *network_ctx) in wpa_sm_pmksa_cache_flush() argument
Dwpa_i.h58 void *network_ctx; member
247 static inline int wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, in wpa_sm_add_pmkid() argument
253 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid, in wpa_sm_add_pmkid()
257 static inline int wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, in wpa_sm_remove_pmkid() argument
262 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid, in wpa_sm_remove_pmkid()
Dpreauth.c99 sm->network_ctx, in rsn_preauth_eapol_cb()
373 if (sm->network_ctx && sm->proactive_key_caching) in pmksa_candidate_add()
374 pmksa_cache_get_opportunistic(sm->pmksa, sm->network_ctx, in pmksa_candidate_add()
Dwpa.c354 sm->network_ctx, in wpa_supplicant_get_pmk()
382 sm->network_ctx, in wpa_supplicant_get_pmk()
1586 sm->network_ctx, sm->key_mgmt, NULL); in wpa_supplicant_process_3_of_4()
2851 sm->network_ctx, sm->key_mgmt, NULL); in wpa_sm_set_pmk()
2924 sm->network_ctx = config->network_ctx; in wpa_sm_set_config()
2947 sm->network_ctx = NULL; in wpa_sm_set_config()
3355 bssid, sm->own_addr, sm->network_ctx, in wpa_sm_pmksa_cache_add()
3361 const void *network_ctx) in wpa_sm_pmksa_exists() argument
3363 return pmksa_cache_get(sm->pmksa, bssid, NULL, network_ctx, 0) != NULL; in wpa_sm_pmksa_exists()
3407 void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) in wpa_sm_pmksa_cache_flush() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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);
388 const void *network_ctx, int akmp) in wpa_sm_pmksa_cache_get() argument
404 void *network_ctx) in wpa_sm_external_pmksa_cache_flush() argument
409 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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpas_glue.c534 void *network_ctx) in wpas_get_network_ctx() argument
539 if (network_ctx == ssid) in wpas_get_network_ctx()
547 static int wpa_supplicant_add_pmkid(void *_wpa_s, void *network_ctx, in wpa_supplicant_add_pmkid() argument
557 ssid = wpas_get_network_ctx(wpa_s, network_ctx); in wpa_supplicant_add_pmkid()
577 static int wpa_supplicant_remove_pmkid(void *_wpa_s, void *network_ctx, in wpa_supplicant_remove_pmkid() argument
586 ssid = wpas_get_network_ctx(wpa_s, network_ctx); in wpa_supplicant_remove_pmkid()
1267 conf.network_ctx = ssid; in wpa_supplicant_rsn_supp_set_config()
Dpreauth_test.c146 static int wpa_supplicant_add_pmkid(void *wpa_s, void *network_ctx, in wpa_supplicant_add_pmkid() argument
156 static int wpa_supplicant_remove_pmkid(void *wpa_s, void *network_ctx, in wpa_supplicant_remove_pmkid() argument
Ddpp_supplicant.c1429 entry->network_ctx = ssid; in wpas_dpp_rx_peer_disc_resp()
Dctrl_iface.c9756 if (entry->network_ctx != ssid) in wpas_ctrl_iface_pmksa_get()
9888 entry->network_ctx = ssid; in wpas_ctrl_iface_pmksa_add()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpas_glue.c566 void *network_ctx) in wpas_get_network_ctx() argument
571 if (network_ctx == ssid) in wpas_get_network_ctx()
579 static int wpa_supplicant_add_pmkid(void *_wpa_s, void *network_ctx, in wpa_supplicant_add_pmkid() argument
591 ssid = wpas_get_network_ctx(wpa_s, network_ctx); in wpa_supplicant_add_pmkid()
626 static int wpa_supplicant_remove_pmkid(void *_wpa_s, void *network_ctx, in wpa_supplicant_remove_pmkid() argument
635 ssid = wpas_get_network_ctx(wpa_s, network_ctx); in wpa_supplicant_remove_pmkid()
1451 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.c2487 entry->network_ctx = ssid; in wpas_dpp_rx_peer_disc_resp()
Dctrl_iface.c10539 if (entry->network_ctx != ssid) in wpas_ctrl_iface_pmksa_get()
10673 entry->network_ctx = ssid; in wpas_ctrl_iface_pmksa_add()