Lines Matching refs:cbss

1290 	struct cfg80211_bss *cbss = ifmgd->associated;  in ieee80211_sta_process_chanswitch()  local
1300 if (!cbss) in ieee80211_sta_process_chanswitch()
1306 current_band = cbss->channel->band; in ieee80211_sta_process_chanswitch()
1430 cbss->beacon_interval)); in ieee80211_sta_process_chanswitch()
2135 struct cfg80211_bss *cbss, in ieee80211_set_associated() argument
2138 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated()
2149 sdata->u.mgd.associated = cbss; in ieee80211_set_associated()
2150 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
2161 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2615 struct cfg80211_bss *cbss; in ieee80211_ap_probereq_get() local
2626 cbss = ifmgd->associated; in ieee80211_ap_probereq_get()
2628 cbss = ifmgd->auth_data->bss; in ieee80211_ap_probereq_get()
2630 cbss = ifmgd->assoc_data->bss; in ieee80211_ap_probereq_get()
2635 ssid = ieee80211_bss_get_ie(cbss, WLAN_EID_SSID); in ieee80211_ap_probereq_get()
2642 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2643 (u32) -1, cbss->channel, in ieee80211_ap_probereq_get()
3188 struct cfg80211_bss *cbss, in ieee80211_assoc_success() argument
3255 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
3329 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3404 if (cbss->transmitted_bss) { in ieee80211_assoc_success()
3407 cbss->transmitted_bss->bssid); in ieee80211_assoc_success()
3408 bss_conf->bssid_indicator = cbss->max_bssid_indicator; in ieee80211_assoc_success()
3409 bss_conf->bssid_index = cbss->bssid_index; in ieee80211_assoc_success()
3503 ieee80211_set_associated(sdata, cbss, changed); in ieee80211_assoc_success()
4635 struct cfg80211_bss *cbss) in ieee80211_ht_vht_rx_chains() argument
4646 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4659 vht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4741 struct cfg80211_bss *cbss) in ieee80211_prep_channel() argument
4755 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
4767 ht_oper_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_OPERATION); in ieee80211_prep_channel()
4771 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_prep_channel()
4785 vht_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
4797 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
4811 ies = rcu_dereference(cbss->ies); in ieee80211_prep_channel()
4839 cbss->channel, in ieee80211_prep_channel()
4843 sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), in ieee80211_prep_channel()
4910 struct cfg80211_bss *cbss, bool assoc, in ieee80211_prep_connection() argument
4915 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_connection()
4921 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
4932 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
4937 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4984 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
4992 if (cbss->channel->band == NL80211_BAND_2GHZ && in ieee80211_prep_connection()
4998 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
5001 sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; in ieee80211_prep_connection()
5003 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
5014 ies = rcu_dereference(cbss->proberesp_ies); in ieee80211_prep_connection()
5029 err = ieee80211_prep_channel(sdata, cbss); in ieee80211_prep_connection()
5058 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()