Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
Dbss.c60 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_alloc() local
61 anqp = os_zalloc(sizeof(*anqp)); in wpa_bss_anqp_alloc()
62 if (anqp == NULL) in wpa_bss_anqp_alloc()
65 dl_list_init(&anqp->anqp_elems); in wpa_bss_anqp_alloc()
67 anqp->users = 1; in wpa_bss_anqp_alloc()
68 return anqp; in wpa_bss_anqp_alloc()
77 static struct wpa_bss_anqp * wpa_bss_anqp_clone(struct wpa_bss_anqp *anqp) in wpa_bss_anqp_clone() argument
85 #define ANQP_DUP(f) if (anqp->f) n->f = wpabuf_dup(anqp->f) in wpa_bss_anqp_clone()
124 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_unshare_alloc() local
126 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc()
[all …]
Dinterworking.c523 static struct nai_realm * nai_realm_parse(struct wpabuf *anqp, u16 *count) in nai_realm_parse() argument
530 if (anqp == NULL) in nai_realm_parse()
532 left = wpabuf_len(anqp); in nai_realm_parse()
536 pos = wpabuf_head_u8(anqp); in nai_realm_parse()
730 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument
756 if (anqp == NULL) in plmn_id_match()
758 pos = wpabuf_head_u8(anqp); in plmn_id_match()
759 end = pos + wpabuf_len(anqp); in plmn_id_match()
978 if (bss->anqp == NULL || bss->anqp->anqp_3gpp == NULL) in interworking_connect_3gpp()
1119 static int roaming_consortium_anqp_match(const struct wpabuf *anqp, in roaming_consortium_anqp_match() argument
[all …]
Dhs20_supplicant.c600 struct wpa_bss_anqp *anqp = NULL; in hs20_parse_rx_hs20_anqp_resp() local
607 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
620 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
621 wpabuf_free(anqp->hs20_capability_list); in hs20_parse_rx_hs20_anqp_resp()
622 anqp->hs20_capability_list = in hs20_parse_rx_hs20_anqp_resp()
630 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
631 wpabuf_free(anqp->hs20_operator_friendly_name); in hs20_parse_rx_hs20_anqp_resp()
632 anqp->hs20_operator_friendly_name = in hs20_parse_rx_hs20_anqp_resp()
647 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
648 wpabuf_free(anqp->hs20_wan_metrics); in hs20_parse_rx_hs20_anqp_resp()
[all …]
Dnotify.c964 const struct wpa_bss_anqp *anqp) in wpas_notify_anqp_query_done() argument
967 if (!wpa_s || !bssid || !anqp) in wpas_notify_anqp_query_done()
970 wpas_hidl_notify_anqp_query_done(wpa_s, bssid, result, anqp); in wpas_notify_anqp_query_done()
Dbss.h106 struct wpa_bss_anqp *anqp; member
Dctrl_iface.c2241 if (wpa_s->current_bss && wpa_s->current_bss->anqp) { in wpa_supplicant_ctrl_iface_status()
2243 wpa_s->current_bss->anqp->domain_name; in wpa_supplicant_ctrl_iface_status()
2261 wpa_s->current_bss->anqp == NULL) in wpa_supplicant_ctrl_iface_status()
2266 wpa_s->current_bss->anqp->domain_name); in wpa_supplicant_ctrl_iface_status()
4868 if ((mask & WPA_BSS_MASK_INTERNETW) && bss->anqp) { in print_bss_info()
4869 struct wpa_bss_anqp *anqp = bss->anqp; in print_bss_info() local
4873 anqp->capability_list); in print_bss_info()
4875 anqp->venue_name); in print_bss_info()
4877 anqp->network_auth_type); in print_bss_info()
4879 anqp->roaming_consortium); in print_bss_info()
[all …]
Dnotify.h165 const struct wpa_bss_anqp *anqp);
DChangeLog113 (anqp[265]=<hexdump> in "BSS <BSSID>" command output)
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl_manager.cpp819 const struct wpa_bss_anqp *anqp) in notifyAnqpQueryDone() argument
821 if (!wpa_s || !bssid || !result || !anqp) in notifyAnqpQueryDone()
832 misc_utils::convertWpaBufToVector(anqp->venue_name); in notifyAnqpQueryDone()
834 misc_utils::convertWpaBufToVector(anqp->roaming_consortium); in notifyAnqpQueryDone()
837 anqp->ip_addr_type_availability); in notifyAnqpQueryDone()
839 misc_utils::convertWpaBufToVector(anqp->nai_realm); in notifyAnqpQueryDone()
841 misc_utils::convertWpaBufToVector(anqp->anqp_3gpp); in notifyAnqpQueryDone()
843 misc_utils::convertWpaBufToVector(anqp->domain_name); in notifyAnqpQueryDone()
847 anqp->hs20_operator_friendly_name); in notifyAnqpQueryDone()
849 misc_utils::convertWpaBufToVector(anqp->hs20_wan_metrics); in notifyAnqpQueryDone()
[all …]
Dhidl.h43 const struct wpa_bss_anqp *anqp);
145 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
Dhidl.cpp189 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
191 if (!wpa_s || !wpa_s->global->hidl || !bssid || !result || !anqp) in wpas_hidl_notify_anqp_query_done()
203 hidl_manager->notifyAnqpQueryDone(wpa_s, bssid, result, anqp); in wpas_hidl_notify_anqp_query_done()
Dhidl_manager.h74 const struct wpa_bss_anqp *anqp);