Lines Matching refs:bss

146 				struct wpa_bss *bss)  in sme_auth_handle_rrm()  argument
158 rrm_ie = wpa_bss_get_ie(bss, WLAN_EID_RRM_ENABLED_CAPABILITIES); in sme_auth_handle_rrm()
159 if (!rrm_ie || !(bss->caps & IEEE80211_CAP_RRM)) { in sme_auth_handle_rrm()
195 struct wpa_bss *bss, struct wpa_ssid *ssid, in sme_send_authentication() argument
215 if (bss == NULL) { in sme_send_authentication()
224 wpa_s->current_bss = bss; in sme_send_authentication()
229 params.freq = bss->freq; in sme_send_authentication()
230 params.bssid = bss->bssid; in sme_send_authentication()
231 params.ssid = bss->ssid; in sme_send_authentication()
232 params.ssid_len = bss->ssid_len; in sme_send_authentication()
267 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication()
291 os_memcpy(wpa_s->pending_bssid, bss->bssid, ETH_ALEN); in sme_send_authentication()
295 if ((wpa_bss_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE) || in sme_send_authentication()
296 wpa_bss_get_ie(bss, WLAN_EID_RSN)) && in sme_send_authentication()
303 if (pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, in sme_send_authentication()
308 if (wpa_supplicant_set_suites(wpa_s, bss, ssid, in sme_send_authentication()
356 ie = wpa_bss_get_ie(bss, WLAN_EID_MOBILITY_DOMAIN); in sme_send_authentication()
395 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication()
415 res = wpas_p2p_assoc_req_ie(wpa_s, bss, pos, len, in sme_send_authentication()
437 sme_auth_handle_rrm(wpa_s, bss); in sme_send_authentication()
440 mbo = wpa_bss_get_vendor_ie(bss, MBO_IE_VENDOR_TYPE); in sme_send_authentication()
445 wpa_s, bss->freq, in sme_send_authentication()
468 if (is_hs20_network(wpa_s, ssid, bss)) { in sme_send_authentication()
519 pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, ssid, 0) == 0) in sme_send_authentication()
530 bss->bssid); in sme_send_authentication()
534 wpas_connection_failed(wpa_s, bss->bssid); in sme_send_authentication()
550 wpa_clear_keys(wpa_s, bss->bssid); in sme_send_authentication()
575 wpas_connection_failed(wpa_s, bss->bssid); in sme_send_authentication()
589 sme_associate(wpa_s, ssid->mode, bss->bssid, WLAN_AUTH_OPEN); in sme_send_authentication()
598 wpas_connection_failed(wpa_s, bss->bssid); in sme_send_authentication()
633 !wpas_valid_bss_ssid(wpa_s, cwork->bss, cwork->ssid) || in sme_auth_start_cb()
640 sme_send_authentication(wpa_s, cwork->bss, cwork->ssid, 1); in sme_auth_start_cb()
645 struct wpa_bss *bss, struct wpa_ssid *ssid) in sme_authenticate() argument
649 if (bss == NULL || ssid == NULL) in sme_authenticate()
672 cwork->bss = bss; in sme_authenticate()
682 if (radio_add_work(wpa_s, bss->freq, "sme-connect", 1, in sme_authenticate()
1094 struct wpa_bss *bss = wpa_s->current_bss; in sme_event_assoc_reject() local
1101 wpa_supplicant_connect(wpa_s, bss, ssid); in sme_event_assoc_reject()
1290 struct wpa_bss *bss; in sme_proc_obss_scan() local
1322 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in sme_proc_obss_scan()
1325 mode = ieee80211_freq_to_chan(bss->freq, &channel); in sme_proc_obss_scan()
1330 ie = wpa_bss_get_ie(bss, WLAN_EID_HT_CAP); in sme_proc_obss_scan()
1334 MAC2STR(bss->bssid), bss->freq, channel, ht_cap); in sme_proc_obss_scan()
1456 struct wpa_bss *bss = wpa_s->current_bss; in sme_sched_obss_scan() local
1491 if (bss == NULL || bss->freq < 2400 || bss->freq > 2500) in sme_sched_obss_scan()