Lines Matching refs:cbss
1289 struct cfg80211_bss *cbss = ifmgd->associated; in ieee80211_sta_process_chanswitch() local
1299 if (!cbss) in ieee80211_sta_process_chanswitch()
1305 current_band = cbss->channel->band; in ieee80211_sta_process_chanswitch()
1429 cbss->beacon_interval)); in ieee80211_sta_process_chanswitch()
2134 struct cfg80211_bss *cbss, in ieee80211_set_associated() argument
2137 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated()
2148 sdata->u.mgd.associated = cbss; in ieee80211_set_associated()
2149 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
2160 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2621 struct cfg80211_bss *cbss; in ieee80211_ap_probereq_get() local
2632 cbss = ifmgd->associated; in ieee80211_ap_probereq_get()
2634 cbss = ifmgd->auth_data->bss; in ieee80211_ap_probereq_get()
2636 cbss = ifmgd->assoc_data->bss; in ieee80211_ap_probereq_get()
2641 ssid = ieee80211_bss_get_ie(cbss, WLAN_EID_SSID); in ieee80211_ap_probereq_get()
2648 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2649 (u32) -1, cbss->channel, in ieee80211_ap_probereq_get()
3191 struct cfg80211_bss *cbss, in ieee80211_assoc_success() argument
3258 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
3333 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3408 if (cbss->transmitted_bss) { in ieee80211_assoc_success()
3411 cbss->transmitted_bss->bssid); in ieee80211_assoc_success()
3412 bss_conf->bssid_indicator = cbss->max_bssid_indicator; in ieee80211_assoc_success()
3413 bss_conf->bssid_index = cbss->bssid_index; in ieee80211_assoc_success()
3513 ieee80211_set_associated(sdata, cbss, changed); in ieee80211_assoc_success()
4648 struct cfg80211_bss *cbss) in ieee80211_ht_vht_rx_chains() argument
4659 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4672 vht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4754 struct cfg80211_bss *cbss) in ieee80211_prep_channel() argument
4768 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
4780 ht_oper_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_OPERATION); in ieee80211_prep_channel()
4784 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_prep_channel()
4798 vht_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
4810 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
4824 ies = rcu_dereference(cbss->ies); in ieee80211_prep_channel()
4852 cbss->channel, in ieee80211_prep_channel()
4856 sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), in ieee80211_prep_channel()
4923 struct cfg80211_bss *cbss, bool assoc, in ieee80211_prep_connection() argument
4928 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_connection()
4934 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
4945 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
4950 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4997 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
5005 if (cbss->channel->band == NL80211_BAND_2GHZ && in ieee80211_prep_connection()
5011 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
5014 sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; in ieee80211_prep_connection()
5016 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
5027 ies = rcu_dereference(cbss->proberesp_ies); in ieee80211_prep_connection()
5042 err = ieee80211_prep_channel(sdata, cbss); in ieee80211_prep_connection()
5071 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()