Home
last modified time | relevance | path

Searched refs:anqp (Results 1 – 16 of 16) 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()
122 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_unshare_alloc() local
124 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc()
[all …]
Dinterworking.c519 static struct nai_realm * nai_realm_parse(struct wpabuf *anqp, u16 *count) in nai_realm_parse() argument
526 if (anqp == NULL) in nai_realm_parse()
528 left = wpabuf_len(anqp); in nai_realm_parse()
532 pos = wpabuf_head_u8(anqp); in nai_realm_parse()
726 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument
752 if (anqp == NULL) in plmn_id_match()
754 pos = wpabuf_head_u8(anqp); in plmn_id_match()
755 end = pos + wpabuf_len(anqp); in plmn_id_match()
973 if (bss->anqp == NULL || bss->anqp->anqp_3gpp == NULL) in interworking_connect_3gpp()
1114 static int roaming_consortium_anqp_match(const struct wpabuf *anqp, in roaming_consortium_anqp_match() argument
[all …]
Dhs20_supplicant.c560 struct wpa_bss_anqp *anqp = NULL; in hs20_parse_rx_hs20_anqp_resp() local
567 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
580 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
581 wpabuf_free(anqp->hs20_capability_list); in hs20_parse_rx_hs20_anqp_resp()
582 anqp->hs20_capability_list = in hs20_parse_rx_hs20_anqp_resp()
590 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
591 wpabuf_free(anqp->hs20_operator_friendly_name); in hs20_parse_rx_hs20_anqp_resp()
592 anqp->hs20_operator_friendly_name = in hs20_parse_rx_hs20_anqp_resp()
607 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
608 wpabuf_free(anqp->hs20_wan_metrics); in hs20_parse_rx_hs20_anqp_resp()
[all …]
Dnotify.c934 const struct wpa_bss_anqp *anqp) in wpas_notify_anqp_query_done() argument
937 if (!wpa_s || !bssid || !anqp) in wpas_notify_anqp_query_done()
940 wpas_hidl_notify_anqp_query_done(wpa_s, bssid, result, anqp); in wpas_notify_anqp_query_done()
Dbss.h104 struct wpa_bss_anqp *anqp; member
Dnotify.h160 const struct wpa_bss_anqp *anqp);
Dctrl_iface.c2159 if (wpa_s->current_bss && wpa_s->current_bss->anqp) { in wpa_supplicant_ctrl_iface_status()
2161 wpa_s->current_bss->anqp->domain_name; in wpa_supplicant_ctrl_iface_status()
2179 wpa_s->current_bss->anqp == NULL) in wpa_supplicant_ctrl_iface_status()
2184 wpa_s->current_bss->anqp->domain_name); in wpa_supplicant_ctrl_iface_status()
4723 if ((mask & WPA_BSS_MASK_INTERNETW) && bss->anqp) { in print_bss_info()
4724 struct wpa_bss_anqp *anqp = bss->anqp; in print_bss_info() local
4728 anqp->capability_list); in print_bss_info()
4730 anqp->venue_name); in print_bss_info()
4732 anqp->network_auth_type); in print_bss_info()
4734 anqp->roaming_consortium); in print_bss_info()
[all …]
DChangeLog43 (anqp[265]=<hexdump> in "BSS <BSSID>" command output)
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl_manager.cpp751 const struct wpa_bss_anqp *anqp) in notifyAnqpQueryDone() argument
753 if (!wpa_s || !bssid || !result || !anqp) in notifyAnqpQueryDone()
764 misc_utils::convertWpaBufToVector(anqp->venue_name); in notifyAnqpQueryDone()
766 misc_utils::convertWpaBufToVector(anqp->roaming_consortium); in notifyAnqpQueryDone()
769 anqp->ip_addr_type_availability); in notifyAnqpQueryDone()
771 misc_utils::convertWpaBufToVector(anqp->nai_realm); in notifyAnqpQueryDone()
773 misc_utils::convertWpaBufToVector(anqp->anqp_3gpp); in notifyAnqpQueryDone()
775 misc_utils::convertWpaBufToVector(anqp->domain_name); in notifyAnqpQueryDone()
779 anqp->hs20_operator_friendly_name); in notifyAnqpQueryDone()
781 misc_utils::convertWpaBufToVector(anqp->hs20_wan_metrics); in notifyAnqpQueryDone()
[all …]
Dhidl.h41 const struct wpa_bss_anqp *anqp);
125 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
Dhidl.cpp184 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
186 if (!wpa_s || !wpa_s->global->hidl || !bssid || !result || !anqp) in wpas_hidl_notify_anqp_query_done()
198 hidl_manager->notifyAnqpQueryDone(wpa_s, bssid, result, anqp); in wpas_hidl_notify_anqp_query_done()
Dhidl_manager.h68 const struct wpa_bss_anqp *anqp);
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
Dhidl_manager.cpp776 const struct wpa_bss_anqp *anqp) in notifyAnqpQueryDone() argument
778 if (!wpa_s || !bssid || !result || !anqp) in notifyAnqpQueryDone()
789 misc_utils::convertWpaBufToVector(anqp->venue_name); in notifyAnqpQueryDone()
791 misc_utils::convertWpaBufToVector(anqp->roaming_consortium); in notifyAnqpQueryDone()
794 anqp->ip_addr_type_availability); in notifyAnqpQueryDone()
796 misc_utils::convertWpaBufToVector(anqp->nai_realm); in notifyAnqpQueryDone()
798 misc_utils::convertWpaBufToVector(anqp->anqp_3gpp); in notifyAnqpQueryDone()
800 misc_utils::convertWpaBufToVector(anqp->domain_name); in notifyAnqpQueryDone()
804 anqp->hs20_operator_friendly_name); in notifyAnqpQueryDone()
806 misc_utils::convertWpaBufToVector(anqp->hs20_wan_metrics); in notifyAnqpQueryDone()
[all …]
Dhidl.h41 const struct wpa_bss_anqp *anqp);
126 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
Dhidl.cpp184 const struct wpa_bss_anqp *anqp) in wpas_hidl_notify_anqp_query_done() argument
186 if (!wpa_s || !wpa_s->global->hidl || !bssid || !result || !anqp) in wpas_hidl_notify_anqp_query_done()
198 hidl_manager->notifyAnqpQueryDone(wpa_s, bssid, result, anqp); in wpas_hidl_notify_anqp_query_done()
Dhidl_manager.h71 const struct wpa_bss_anqp *anqp);