Lines Matching refs:cbss

1293 	struct cfg80211_bss *cbss = ifmgd->associated;  in ieee80211_sta_process_chanswitch()  local
1304 if (!cbss) in ieee80211_sta_process_chanswitch()
1310 current_band = cbss->channel->band; in ieee80211_sta_process_chanswitch()
1311 bss = (void *)cbss->priv; in ieee80211_sta_process_chanswitch()
1447 cbss->beacon_interval)); in ieee80211_sta_process_chanswitch()
2168 struct cfg80211_bss *cbss, in ieee80211_set_associated() argument
2171 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated()
2182 sdata->u.mgd.associated = cbss; in ieee80211_set_associated()
2183 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
2194 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2630 struct cfg80211_bss *cbss; in ieee80211_ap_probereq_get() local
2641 cbss = ifmgd->associated; in ieee80211_ap_probereq_get()
2643 cbss = ifmgd->auth_data->bss; in ieee80211_ap_probereq_get()
2645 cbss = ifmgd->assoc_data->bss; in ieee80211_ap_probereq_get()
2650 ssid = ieee80211_bss_get_ie(cbss, WLAN_EID_SSID); in ieee80211_ap_probereq_get()
2657 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2658 (u32) -1, cbss->channel, in ieee80211_ap_probereq_get()
3265 struct cfg80211_bss *cbss, in ieee80211_assoc_success() argument
3277 bool is_6ghz = cbss->channel->band == NL80211_BAND_6GHZ; in ieee80211_assoc_success()
3278 bool is_s1g = cbss->channel->band == NL80211_BAND_S1GHZ; in ieee80211_assoc_success()
3341 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
3423 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3512 if (cbss->transmitted_bss) { in ieee80211_assoc_success()
3515 cbss->transmitted_bss->bssid); in ieee80211_assoc_success()
3516 bss_conf->bssid_indicator = cbss->max_bssid_indicator; in ieee80211_assoc_success()
3517 bss_conf->bssid_index = cbss->bssid_index; in ieee80211_assoc_success()
3614 ieee80211_set_associated(sdata, cbss, changed); in ieee80211_assoc_success()
3647 struct cfg80211_bss *cbss; in ieee80211_rx_mgmt_assoc_resp() local
3662 cbss = assoc_data->bss; in ieee80211_rx_mgmt_assoc_resp()
3677 if (cbss->channel->band == NL80211_BAND_S1GHZ) { in ieee80211_rx_mgmt_assoc_resp()
3727 if (!ieee80211_assoc_success(sdata, cbss, mgmt, len, &elems)) { in ieee80211_rx_mgmt_assoc_resp()
3730 cfg80211_assoc_timeout(sdata->dev, cbss); in ieee80211_rx_mgmt_assoc_resp()
3753 cfg80211_rx_assoc_resp(sdata->dev, cbss, (u8 *)mgmt, len, uapsd_queues, in ieee80211_rx_mgmt_assoc_resp()
4853 struct cfg80211_bss *cbss) in ieee80211_ht_vht_rx_chains() argument
4864 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4877 vht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4961 struct cfg80211_bss *cbss) in ieee80211_prep_channel() argument
4972 bool is_6ghz = cbss->channel->band == NL80211_BAND_6GHZ; in ieee80211_prep_channel()
4973 bool is_5ghz = cbss->channel->band == NL80211_BAND_5GHZ; in ieee80211_prep_channel()
4974 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_channel()
4979 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
5006 ht_oper_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_OPERATION); in ieee80211_prep_channel()
5010 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_prep_channel()
5023 vht_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
5036 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
5047 ies = rcu_dereference(cbss->ies); in ieee80211_prep_channel()
5077 s1g_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
5087 cbss->channel, in ieee80211_prep_channel()
5093 sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), in ieee80211_prep_channel()
5165 struct cfg80211_bss *cbss, bool assoc, in ieee80211_prep_connection() argument
5170 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_connection()
5176 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
5187 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
5192 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
5218 if (cbss->channel->band == NL80211_BAND_S1GHZ) { in ieee80211_prep_connection()
5253 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
5261 if (cbss->channel->band == NL80211_BAND_2GHZ && in ieee80211_prep_connection()
5268 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
5271 sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; in ieee80211_prep_connection()
5273 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
5284 ies = rcu_dereference(cbss->proberesp_ies); in ieee80211_prep_connection()
5299 err = ieee80211_prep_channel(sdata, cbss); in ieee80211_prep_connection()
5328 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()