Lines Matching refs:cbss
1109 struct cfg80211_bss *cbss = ifmgd->associated; in ieee80211_sta_process_chanswitch() local
1119 if (!cbss) in ieee80211_sta_process_chanswitch()
1129 current_band = cbss->channel->band; in ieee80211_sta_process_chanswitch()
1230 cbss->beacon_interval)); in ieee80211_sta_process_chanswitch()
1893 struct cfg80211_bss *cbss, in ieee80211_set_associated() argument
1896 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated()
1907 sdata->u.mgd.associated = cbss; in ieee80211_set_associated()
1908 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
1916 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2325 struct cfg80211_bss *cbss; in ieee80211_ap_probereq_get() local
2336 cbss = ifmgd->associated; in ieee80211_ap_probereq_get()
2338 cbss = ifmgd->auth_data->bss; in ieee80211_ap_probereq_get()
2340 cbss = ifmgd->assoc_data->bss; in ieee80211_ap_probereq_get()
2345 ssid = ieee80211_bss_get_ie(cbss, WLAN_EID_SSID); in ieee80211_ap_probereq_get()
2351 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2352 (u32) -1, cbss->channel, in ieee80211_ap_probereq_get()
2820 struct cfg80211_bss *cbss, in ieee80211_assoc_success() argument
2885 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
2957 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3042 ieee80211_set_associated(sdata, cbss, changed); in ieee80211_assoc_success()
4166 struct cfg80211_bss *cbss) in ieee80211_ht_vht_rx_chains() argument
4177 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4190 vht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4210 struct cfg80211_bss *cbss) in ieee80211_prep_channel() argument
4221 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
4233 ht_oper_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_OPERATION); in ieee80211_prep_channel()
4237 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_prep_channel()
4251 vht_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
4263 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
4271 cbss->channel, in ieee80211_prep_channel()
4275 sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), in ieee80211_prep_channel()
4308 struct cfg80211_bss *cbss, bool assoc) in ieee80211_prep_connection() argument
4312 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_connection()
4319 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
4326 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
4331 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4344 err = ieee80211_prep_channel(sdata, cbss); in ieee80211_prep_connection()
4392 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
4396 if (cbss->channel->band == IEEE80211_BAND_2GHZ && in ieee80211_prep_connection()
4402 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
4405 sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; in ieee80211_prep_connection()
4407 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
4422 ies = rcu_dereference(cbss->proberesp_ies); in ieee80211_prep_connection()
4452 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()