• Home
  • Raw
  • Download

Lines Matching refs:cbss

1367 	struct cfg80211_bss *cbss = ifmgd->associated;  in ieee80211_sta_process_chanswitch()  local
1378 if (!cbss) in ieee80211_sta_process_chanswitch()
1384 current_band = cbss->channel->band; in ieee80211_sta_process_chanswitch()
1385 bss = (void *)cbss->priv; in ieee80211_sta_process_chanswitch()
1514 cbss->beacon_interval)); in ieee80211_sta_process_chanswitch()
2224 struct cfg80211_bss *cbss, in ieee80211_set_associated() argument
2227 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated()
2238 sdata->u.mgd.associated = cbss; in ieee80211_set_associated()
2239 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
2250 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2688 struct cfg80211_bss *cbss; in ieee80211_ap_probereq_get() local
2699 cbss = ifmgd->associated; in ieee80211_ap_probereq_get()
2701 cbss = ifmgd->auth_data->bss; in ieee80211_ap_probereq_get()
2703 cbss = ifmgd->assoc_data->bss; in ieee80211_ap_probereq_get()
2708 ssid = ieee80211_bss_get_ie(cbss, WLAN_EID_SSID); in ieee80211_ap_probereq_get()
2715 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2716 (u32) -1, cbss->channel, in ieee80211_ap_probereq_get()
3274 struct cfg80211_bss *cbss, in ieee80211_assoc_success() argument
3286 bool is_6ghz = cbss->channel->band == NL80211_BAND_6GHZ; in ieee80211_assoc_success()
3287 bool is_s1g = cbss->channel->band == NL80211_BAND_S1GHZ; in ieee80211_assoc_success()
3350 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
3433 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3527 if (cbss->transmitted_bss) { in ieee80211_assoc_success()
3530 cbss->transmitted_bss->bssid); in ieee80211_assoc_success()
3531 bss_conf->bssid_indicator = cbss->max_bssid_indicator; in ieee80211_assoc_success()
3532 bss_conf->bssid_index = cbss->bssid_index; in ieee80211_assoc_success()
3635 ieee80211_set_associated(sdata, cbss, changed); in ieee80211_assoc_success()
3668 struct cfg80211_bss *cbss; in ieee80211_rx_mgmt_assoc_resp() local
3682 cbss = assoc_data->bss; in ieee80211_rx_mgmt_assoc_resp()
3697 if (cbss->channel->band == NL80211_BAND_S1GHZ) { in ieee80211_rx_mgmt_assoc_resp()
3738 if (!ieee80211_assoc_success(sdata, cbss, mgmt, len, &elems)) { in ieee80211_rx_mgmt_assoc_resp()
3741 cfg80211_assoc_timeout(sdata->dev, cbss); in ieee80211_rx_mgmt_assoc_resp()
3762 cfg80211_rx_assoc_resp(sdata->dev, cbss, (u8 *)mgmt, len, uapsd_queues, in ieee80211_rx_mgmt_assoc_resp()
4860 struct cfg80211_bss *cbss) in ieee80211_ht_vht_rx_chains() argument
4871 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4884 vht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_ht_vht_rx_chains()
4966 struct cfg80211_bss *cbss) in ieee80211_prep_channel() argument
4977 bool is_6ghz = cbss->channel->band == NL80211_BAND_6GHZ; in ieee80211_prep_channel()
4978 bool is_5ghz = cbss->channel->band == NL80211_BAND_5GHZ; in ieee80211_prep_channel()
4979 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_channel()
4984 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
5010 ht_oper_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_OPERATION); in ieee80211_prep_channel()
5014 ht_cap_ie = ieee80211_bss_get_ie(cbss, WLAN_EID_HT_CAPABILITY); in ieee80211_prep_channel()
5027 vht_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
5040 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
5051 ies = rcu_dereference(cbss->ies); in ieee80211_prep_channel()
5081 s1g_oper_ie = ieee80211_bss_get_ie(cbss, in ieee80211_prep_channel()
5091 cbss->channel, in ieee80211_prep_channel()
5097 sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), in ieee80211_prep_channel()
5169 struct cfg80211_bss *cbss, bool assoc, in ieee80211_prep_connection() argument
5174 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_prep_connection()
5180 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
5191 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
5196 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
5222 if (cbss->channel->band == NL80211_BAND_S1GHZ) { in ieee80211_prep_connection()
5257 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
5265 if (cbss->channel->band == NL80211_BAND_2GHZ && in ieee80211_prep_connection()
5272 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
5275 sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; in ieee80211_prep_connection()
5277 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
5288 ies = rcu_dereference(cbss->proberesp_ies); in ieee80211_prep_connection()
5303 err = ieee80211_prep_channel(sdata, cbss); in ieee80211_prep_connection()
5332 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()