Searched refs:anqp (Results 1 – 5 of 5) sorted by relevance
113 struct wpa_bss_anqp *anqp = NULL; in hs20_parse_rx_hs20_anqp_resp() local119 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()137 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()138 wpabuf_free(anqp->hs20_operator_friendly_name); in hs20_parse_rx_hs20_anqp_resp()139 anqp->hs20_operator_friendly_name = in hs20_parse_rx_hs20_anqp_resp()147 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()148 wpabuf_free(anqp->hs20_wan_metrics); in hs20_parse_rx_hs20_anqp_resp()149 anqp->hs20_wan_metrics = wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp()156 if (anqp) { in hs20_parse_rx_hs20_anqp_resp()157 wpabuf_free(anqp->hs20_connection_capability); in hs20_parse_rx_hs20_anqp_resp()[all …]
435 static struct nai_realm * nai_realm_parse(struct wpabuf *anqp, u16 *count) in nai_realm_parse() argument441 if (anqp == NULL || wpabuf_len(anqp) < 2) in nai_realm_parse()444 pos = wpabuf_head_u8(anqp); in nai_realm_parse()445 end = pos + wpabuf_len(anqp); in nai_realm_parse()590 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument606 if (anqp == NULL) in plmn_id_match()608 pos = wpabuf_head_u8(anqp); in plmn_id_match()609 end = pos + wpabuf_len(anqp); in plmn_id_match()743 if (bss->anqp == NULL || bss->anqp->anqp_3gpp == NULL) in interworking_connect_3gpp()774 if (plmn_id_match(bss->anqp->anqp_3gpp, imsi, mnc_len)) in interworking_connect_3gpp()[all …]
56 struct wpa_bss_anqp *anqp; in wpa_bss_anqp_alloc() local57 anqp = os_zalloc(sizeof(*anqp)); in wpa_bss_anqp_alloc()58 if (anqp == NULL) in wpa_bss_anqp_alloc()60 anqp->users = 1; in wpa_bss_anqp_alloc()61 return anqp; in wpa_bss_anqp_alloc()65 static void wpa_bss_anqp_free(struct wpa_bss_anqp *anqp) in wpa_bss_anqp_free() argument67 if (anqp == NULL) in wpa_bss_anqp_free()70 anqp->users--; in wpa_bss_anqp_free()71 if (anqp->users > 0) { in wpa_bss_anqp_free()77 wpabuf_free(anqp->venue_name); in wpa_bss_anqp_free()[all …]
84 struct wpa_bss_anqp *anqp; member
2795 if ((mask & WPA_BSS_MASK_INTERNETW) && bss->anqp) { in print_bss_info()2796 struct wpa_bss_anqp *anqp = bss->anqp; in print_bss_info() local2798 anqp->venue_name); in print_bss_info()2800 anqp->network_auth_type); in print_bss_info()2802 anqp->roaming_consortium); in print_bss_info()2804 anqp->ip_addr_type_availability); in print_bss_info()2806 anqp->nai_realm); in print_bss_info()2807 pos = anqp_add_hex(pos, end, "anqp_3gpp", anqp->anqp_3gpp); in print_bss_info()2809 anqp->domain_name); in print_bss_info()2812 anqp->hs20_operator_friendly_name); in print_bss_info()[all …]