Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
Dbss.c48 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_alloc() local
49 anqp = os_zalloc(sizeof(*anqp)); in wpa_bss_anqp_alloc()
50 if (anqp == NULL) in wpa_bss_anqp_alloc()
53 dl_list_init(&anqp->anqp_elems); in wpa_bss_anqp_alloc()
55 anqp->users = 1; in wpa_bss_anqp_alloc()
56 return anqp; in wpa_bss_anqp_alloc()
65 static struct wpa_bss_anqp * wpa_bss_anqp_clone(struct wpa_bss_anqp *anqp) in wpa_bss_anqp_clone() argument
73 #define ANQP_DUP(f) if (anqp->f) n->f = wpabuf_dup(anqp->f) in wpa_bss_anqp_clone()
112 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_unshare_alloc() local
114 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()
981 if (bss->anqp == NULL || bss->anqp->anqp_3gpp == NULL) in interworking_connect_3gpp()
1122 static int roaming_consortium_anqp_match(const struct wpabuf *anqp, in roaming_consortium_anqp_match() argument
[all …]
Dhs20_supplicant.c610 struct wpa_bss_anqp *anqp = NULL; in hs20_parse_rx_hs20_anqp_resp() local
617 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
630 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
631 wpabuf_free(anqp->hs20_capability_list); in hs20_parse_rx_hs20_anqp_resp()
632 anqp->hs20_capability_list = in hs20_parse_rx_hs20_anqp_resp()
640 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
641 wpabuf_free(anqp->hs20_operator_friendly_name); in hs20_parse_rx_hs20_anqp_resp()
642 anqp->hs20_operator_friendly_name = in hs20_parse_rx_hs20_anqp_resp()
657 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
658 wpabuf_free(anqp->hs20_wan_metrics); in hs20_parse_rx_hs20_anqp_resp()
[all …]
Dbss.h118 struct wpa_bss_anqp *anqp; member
Dnotify.c979 const struct wpa_bss_anqp *anqp) in wpas_notify_anqp_query_done() argument
982 if (!wpa_s || !bssid || !anqp) in wpas_notify_anqp_query_done()
985 wpas_hidl_notify_anqp_query_done(wpa_s, bssid, result, anqp); in wpas_notify_anqp_query_done()
Dnotify.h169 const struct wpa_bss_anqp *anqp);
Dctrl_iface.c2397 if (wpa_s->current_bss && wpa_s->current_bss->anqp) { in wpa_supplicant_ctrl_iface_status()
2399 wpa_s->current_bss->anqp->domain_name; in wpa_supplicant_ctrl_iface_status()
2417 wpa_s->current_bss->anqp == NULL) in wpa_supplicant_ctrl_iface_status()
2422 wpa_s->current_bss->anqp->domain_name); in wpa_supplicant_ctrl_iface_status()
5288 if ((mask & WPA_BSS_MASK_INTERNETW) && bss->anqp) { in print_bss_info()
5289 struct wpa_bss_anqp *anqp = bss->anqp; in print_bss_info() local
5293 anqp->capability_list); in print_bss_info()
5295 anqp->venue_name); in print_bss_info()
5297 anqp->network_auth_type); in print_bss_info()
5299 anqp->roaming_consortium); in print_bss_info()
[all …]
DChangeLog211 (anqp[265]=<hexdump> in "BSS <BSSID>" command output)
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
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()
846 dl_list_for_each(elem, &anqp->anqp_elems, struct wpa_bss_anqp_elem, in notifyAnqpQueryDone()
857 anqp->hs20_operator_friendly_name); in notifyAnqpQueryDone()
[all …]
Dhidl.h43 const struct wpa_bss_anqp *anqp);
161 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
Dhidl.cpp195 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
197 if (!wpa_s || !wpa_s->global->hidl || !bssid || !result || !anqp) in wpas_hidl_notify_anqp_query_done()
209 hidl_manager->notifyAnqpQueryDone(wpa_s, bssid, result, anqp); in wpas_hidl_notify_anqp_query_done()
Dhidl_manager.h97 const struct wpa_bss_anqp *anqp);