Lines Matching refs:bss
70 struct wpa_bss *bss = wpa_s->current_bss; in hs20_configure_frame_filters() local
75 if (!bss || !is_hs20_network(wpa_s, wpa_s->current_ssid, bss)) { in hs20_configure_frame_filters()
81 ie = wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE); in hs20_configure_frame_filters()
90 ext_capa = wpa_bss_get_ie(bss, WLAN_EID_EXT_CAPAB); in hs20_configure_frame_filters()
97 if (wpa_bss_ext_capab(bss, WLAN_EXT_CAPAB_PROXY_ARP)) in hs20_configure_frame_filters()
145 int get_hs20_version(struct wpa_bss *bss) in get_hs20_version() argument
149 if (!bss) in get_hs20_version()
152 ie = wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE); in get_hs20_version()
161 struct wpa_bss *bss) in is_hs20_network() argument
169 if (bss && !wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE)) in is_hs20_network()
268 struct wpa_bss *bss; in hs20_anqp_send_req() local
272 bss = wpa_bss_get_bssid(wpa_s, dst); in hs20_anqp_send_req()
273 if (!bss) { in hs20_anqp_send_req()
280 wpa_bss_anqp_unshare_alloc(bss); in hs20_anqp_send_req()
281 freq = bss->freq; in hs20_anqp_send_req()
590 struct wpa_bss *bss, const u8 *sa, in hs20_parse_rx_hs20_anqp_resp() argument
601 if (bss) in hs20_parse_rx_hs20_anqp_resp()
602 anqp = bss->anqp; in hs20_parse_rx_hs20_anqp_resp()
856 static void hs20_osu_add_prov(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, in hs20_osu_add_prov() argument
877 os_memcpy(prov->bssid, bss->bssid, ETH_ALEN); in hs20_osu_add_prov()
1064 MAC2STR(bss->bssid)); in hs20_osu_add_prov()
1071 struct wpa_bss *bss; in hs20_osu_icon_fetch() local
1081 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in hs20_osu_icon_fetch()
1085 if (bss->anqp == NULL) in hs20_osu_icon_fetch()
1087 prov_anqp = bss->anqp->hs20_osu_providers_list; in hs20_osu_icon_fetch()
1090 ie = wpa_bss_get_ie(bss, WLAN_EID_RSN); in hs20_osu_icon_fetch()
1093 osu_ssid2 = bss->ssid; in hs20_osu_icon_fetch()
1094 osu_ssid2_len = bss->ssid_len; in hs20_osu_icon_fetch()
1100 MACSTR, MAC2STR(bss->bssid)); in hs20_osu_icon_fetch()
1139 hs20_osu_add_prov(wpa_s, bss, osu_ssid, in hs20_osu_icon_fetch()
1151 prov_anqp = bss->anqp->hs20_osu_providers_nai_list; in hs20_osu_icon_fetch()
1156 MACSTR, MAC2STR(bss->bssid)); in hs20_osu_icon_fetch()