Lines Matching refs:sband

96 	struct ieee80211_supported_band *sband;  in mesh_set_short_slot_time()  local
103 sband = ieee80211_get_sband(sdata); in mesh_set_short_slot_time()
104 if (!sband) in mesh_set_short_slot_time()
107 if (sband->band == NL80211_BAND_5GHZ) { in mesh_set_short_slot_time()
111 } else if (sband->band != NL80211_BAND_2GHZ) { in mesh_set_short_slot_time()
115 for (i = 0; i < sband->n_bitrates; i++) in mesh_set_short_slot_time()
116 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G) in mesh_set_short_slot_time()
129 if (erp_rates & sta->sta.deflink.supp_rates[sband->band]) in mesh_set_short_slot_time()
266 struct ieee80211_supported_band *sband; in mesh_plink_frame_tx() local
269 sband = ieee80211_get_sband(sdata); in mesh_plink_frame_tx()
270 if (!sband) { in mesh_plink_frame_tx()
287 if (ieee80211_put_srates_elem(skb, sband, basic_rates, in mesh_plink_frame_tx()
290 ieee80211_put_srates_elem(skb, sband, basic_rates, in mesh_plink_frame_tx()
434 struct ieee80211_supported_band *sband; in mesh_sta_info_init() local
438 sband = ieee80211_get_sband(sdata); in mesh_sta_info_init()
439 if (!sband) in mesh_sta_info_init()
442 rates = ieee80211_sta_get_rates(sdata, elems, sband->band, in mesh_sta_info_init()
454 if (sta->sta.deflink.supp_rates[sband->band] != rates) in mesh_sta_info_init()
456 sta->sta.deflink.supp_rates[sband->band] = rates; in mesh_sta_info_init()
458 if (ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband, in mesh_sta_info_init()
463 ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband, in mesh_sta_info_init()
467 ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, elems->he_cap, in mesh_sta_info_init()
472 ieee80211_eht_cap_ie_to_sta_eht_cap(sdata, sband, elems->he_cap, in mesh_sta_info_init()
492 rate_control_rate_update(local, sband, sta, 0, changed); in mesh_sta_info_init()