Lines Matching refs:cbss

1132 	struct cfg80211_bss *cbss = ifmgd->associated;  in ieee80211_sta_process_chanswitch()  local
1142 if (!cbss) in ieee80211_sta_process_chanswitch()
1152 current_band = cbss->channel->band; in ieee80211_sta_process_chanswitch()
1261 cbss->beacon_interval)); in ieee80211_sta_process_chanswitch()
1919 struct cfg80211_bss *cbss, in ieee80211_set_associated() argument
1922 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated()
1933 sdata->u.mgd.associated = cbss; in ieee80211_set_associated()
1934 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
1942 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2352 struct cfg80211_bss *cbss; in ieee80211_ap_probereq_get() local
2363 cbss = ifmgd->associated; in ieee80211_ap_probereq_get()
2365 cbss = ifmgd->auth_data->bss; in ieee80211_ap_probereq_get()
2367 cbss = ifmgd->assoc_data->bss; in ieee80211_ap_probereq_get()
2372 ssid = ieee80211_bss_get_ie(cbss, WLAN_EID_SSID); in ieee80211_ap_probereq_get()
2378 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2379 (u32) -1, cbss->channel, in ieee80211_ap_probereq_get()
2856 struct cfg80211_bss *cbss, in ieee80211_assoc_success() argument
2921 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
2993 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3088 ieee80211_set_associated(sdata, cbss, changed); in ieee80211_assoc_success()
4152 struct cfg80211_bss *cbss) in ieee80211_ht_vht_rx_chains() argument
4163 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4176 vht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4196 struct cfg80211_bss *cbss) in ieee80211_prep_channel() argument
4209 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
4221 ht_oper_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_OPERATION); in ieee80211_prep_channel()
4225 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_prep_channel()
4239 vht_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
4251 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
4273 cbss->channel, in ieee80211_prep_channel()
4277 sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), in ieee80211_prep_channel()
4310 struct cfg80211_bss *cbss, bool assoc, in ieee80211_prep_connection() argument
4315 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_connection()
4321 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
4328 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
4333 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4339 err = ieee80211_prep_channel(sdata, cbss); in ieee80211_prep_connection()
4387 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
4391 if (cbss->channel->band == IEEE80211_BAND_2GHZ && in ieee80211_prep_connection()
4397 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
4400 sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; in ieee80211_prep_connection()
4402 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
4417 ies = rcu_dereference(cbss->proberesp_ies); in ieee80211_prep_connection()
4447 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()