Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
Dbss.c64 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_alloc() local
65 anqp = os_zalloc(sizeof(*anqp)); in wpa_bss_anqp_alloc()
66 if (anqp == NULL) in wpa_bss_anqp_alloc()
68 anqp->users = 1; in wpa_bss_anqp_alloc()
69 return anqp; in wpa_bss_anqp_alloc()
78 static struct wpa_bss_anqp * wpa_bss_anqp_clone(struct wpa_bss_anqp *anqp) in wpa_bss_anqp_clone() argument
86 #define ANQP_DUP(f) if (anqp->f) n->f = wpabuf_dup(anqp->f) in wpa_bss_anqp_clone()
121 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_unshare_alloc() local
123 if (bss->anqp && bss->anqp->users > 1) { in wpa_bss_anqp_unshare_alloc()
125 anqp = wpa_bss_anqp_clone(bss->anqp); in wpa_bss_anqp_unshare_alloc()
[all …]
Dinterworking.c512 static struct nai_realm * nai_realm_parse(struct wpabuf *anqp, u16 *count) in nai_realm_parse() argument
519 if (anqp == NULL) in nai_realm_parse()
521 left = wpabuf_len(anqp); in nai_realm_parse()
525 pos = wpabuf_head_u8(anqp); in nai_realm_parse()
719 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument
745 if (anqp == NULL) in plmn_id_match()
747 pos = wpabuf_head_u8(anqp); in plmn_id_match()
748 end = pos + wpabuf_len(anqp); in plmn_id_match()
968 if (bss->anqp == NULL || bss->anqp->anqp_3gpp == NULL) in interworking_connect_3gpp()
1109 static int roaming_consortium_anqp_match(const struct wpabuf *anqp, in roaming_consortium_anqp_match() argument
[all …]
Dhs20_supplicant.c365 struct wpa_bss_anqp *anqp = NULL; in hs20_parse_rx_hs20_anqp_resp() local
372 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
385 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
386 wpabuf_free(anqp->hs20_capability_list); in hs20_parse_rx_hs20_anqp_resp()
387 anqp->hs20_capability_list = in hs20_parse_rx_hs20_anqp_resp()
395 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
396 wpabuf_free(anqp->hs20_operator_friendly_name); in hs20_parse_rx_hs20_anqp_resp()
397 anqp->hs20_operator_friendly_name = in hs20_parse_rx_hs20_anqp_resp()
412 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()
413 wpabuf_free(anqp->hs20_wan_metrics); in hs20_parse_rx_hs20_anqp_resp()
[all …]
Dbss.h96 struct wpa_bss_anqp *anqp; member
Dctrl_iface.c1918 if (wpa_s->current_bss && wpa_s->current_bss->anqp) { in wpa_supplicant_ctrl_iface_status()
1920 wpa_s->current_bss->anqp->domain_name; in wpa_supplicant_ctrl_iface_status()
1938 wpa_s->current_bss->anqp == NULL) in wpa_supplicant_ctrl_iface_status()
1943 wpa_s->current_bss->anqp->domain_name); in wpa_supplicant_ctrl_iface_status()
4227 if ((mask & WPA_BSS_MASK_INTERNETW) && bss->anqp) { in print_bss_info()
4228 struct wpa_bss_anqp *anqp = bss->anqp; in print_bss_info() local
4230 anqp->capability_list); in print_bss_info()
4232 anqp->venue_name); in print_bss_info()
4234 anqp->network_auth_type); in print_bss_info()
4236 anqp->roaming_consortium); in print_bss_info()
[all …]