/linux-master/net/mac80211/ |
H A D | rate.c | 37 struct ieee80211_supported_band *sband; local 53 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; 56 if (sband->band == NL80211_BAND_S1GHZ) { 63 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, 76 struct ieee80211_supported_band *sband; local 81 sband = local->hw.wiphy->bands[st->info->band]; 85 ref->ops->tx_status_ext(ref->priv, sband, priv_sta, st); 87 ref->ops->tx_status(ref->priv, sband, st->sta, priv_sta, st->skb); 95 struct ieee80211_supported_band *sband, 116 ref->ops->rate_update(ref->priv, sband, 94 rate_control_rate_update(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, unsigned int link_id, u32 changed) argument 278 struct ieee80211_supported_band *sband; local 316 rc_send_low_basicrate(struct ieee80211_tx_rate *rate, u32 basic_rates, struct ieee80211_supported_band *sband) argument 346 __rate_control_send_low(struct ieee80211_hw *hw, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, struct ieee80211_tx_info *info, u32 rate_mask) argument 399 struct ieee80211_supported_band *sband = txrc->sband; local 530 rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, struct ieee80211_supported_band *sband, enum nl80211_chan_width chan_width, u32 mask, u8 mcs_mask[IEEE80211_HT_MCS_MASK_LEN], u16 vht_mask[NL80211_VHT_NSS_MAX]) argument 615 rate_fixup_ratelist(struct ieee80211_vif *vif, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) argument 756 rate_control_cap_mask(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, u32 *mask, u8 mcs_mask[IEEE80211_HT_MCS_MASK_LEN], u16 vht_mask[NL80211_VHT_NSS_MAX]) argument 807 rate_control_apply_mask_ratetbl(struct sta_info *sta, struct ieee80211_supported_band *sband, struct ieee80211_sta_rates *rates) argument 832 rate_control_apply_mask(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_supported_band *sband, struct ieee80211_tx_rate *rates, int max_rates) argument 879 struct ieee80211_supported_band *sband; local 954 struct ieee80211_supported_band *sband; local [all...] |
H A D | mesh.c | 68 struct ieee80211_supported_band *sband; local 90 sband = ieee80211_get_sband(sdata); 91 if (!sband) 94 ieee80211_sta_get_rates(sdata, ie, sband->band, 427 struct ieee80211_supported_band *sband; local 430 sband = ieee80211_get_sband(sdata); 431 if (!sband) 435 if (sband->band == NL80211_BAND_6GHZ) 438 if (!sband->ht_cap.ht_supported || 448 ieee80211_ie_build_ht_cap(pos, &sband 459 struct ieee80211_supported_band *sband; local 499 struct ieee80211_supported_band *sband; local 531 struct ieee80211_supported_band *sband; local 570 struct ieee80211_supported_band *sband; local 588 struct ieee80211_supported_band *sband; local 619 struct ieee80211_supported_band *sband; local 639 struct ieee80211_supported_band *sband; local 656 struct ieee80211_supported_band *sband; local 717 struct ieee80211_supported_band *sband; local 954 const struct ieee80211_supported_band *sband; local 1280 struct ieee80211_supported_band *sband; local [all...] |
H A D | eht.c | 12 struct ieee80211_supported_band *sband, 28 !ieee80211_get_eht_iftype_cap_vif(sband, &sdata->vif)) 11 ieee80211_eht_cap_ie_to_sta_eht_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const u8 *he_cap_ie, u8 he_cap_len, const struct ieee80211_eht_cap_elem *eht_cap_ie_elem, u8 eht_cap_len, struct link_sta_info *link_sta) argument
|
H A D | mesh_plink.c | 96 struct ieee80211_supported_band *sband; local 103 sband = ieee80211_get_sband(sdata); 104 if (!sband) 107 if (sband->band == NL80211_BAND_5GHZ) { 111 } else if (sband->band != NL80211_BAND_2GHZ) { 115 for (i = 0; i < sband->n_bitrates; i++) 116 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G) 129 if (erp_rates & sta->sta.deflink.supp_rates[sband->band]) 266 struct ieee80211_supported_band *sband; local 269 sband 434 struct ieee80211_supported_band *sband; local [all...] |
H A D | rc80211_minstrel_ht.c | 1282 minstrel_ht_tx_status(void *priv, struct ieee80211_supported_band *sband, argument 1653 struct ieee80211_supported_band *sband, 1658 if (sband->band != NL80211_BAND_2GHZ) 1667 !rate_supported(sta, sband->band, mp->cck_rates[i])) 1671 if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE) 1678 struct ieee80211_supported_band *sband, 1687 rates = mp->ofdm_rates[sband->band]; 1690 !rate_supported(sta, sband->band, rates[i])) 1698 minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, argument 1725 mi->band = sband 1652 minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument 1677 minstrel_ht_update_ofdm(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument 1833 minstrel_ht_rate_init(void *priv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta) argument 1841 minstrel_ht_rate_update(void *priv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta, u32 changed) argument 1852 struct ieee80211_supported_band *sband; local 1875 minstrel_ht_fill_rate_array(u8 *dest, struct ieee80211_supported_band *sband, const s16 *bitrates, int n_rates, u32 rate_flags) argument 1900 struct ieee80211_supported_band *sband; local 1919 struct ieee80211_supported_band *sband; local [all...] |
H A D | ibss.c | 50 struct ieee80211_supported_band *sband; local 92 sband = local->hw.wiphy->bands[chandef->chan->band]; 98 for (i = 0; i < sband->n_bitrates; i++) { 99 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) 101 if (sband->bitrates[i].bitrate > 110 && 111 for (ri = 0; ri < sband->n_bitrates; ri++) { 112 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, 5); 126 if (sband->band == NL80211_BAND_2GHZ) { 154 for (; ri < sband->n_bitrates; ri++) { 155 int rate = DIV_ROUND_UP(sband 389 struct ieee80211_supported_band *sband; local 589 struct ieee80211_supported_band *sband; local 970 struct ieee80211_supported_band *sband; local 1182 struct ieee80211_supported_band *sband; local 1718 struct ieee80211_supported_band *sband; local [all...] |
H A D | main.c | 1210 struct ieee80211_supported_band *sband; local 1212 sband = local->hw.wiphy->bands[band]; 1213 if (!sband) 1221 for (i = 0; i < sband->n_channels; i++) 1222 if (!(sband->channels[i].flags & 1226 if (i == sband->n_channels) 1229 &sband->channels[i], 1239 channels += sband->n_channels; 1246 if (WARN_ON(sband->ht_cap.ht_supported && 1247 (sband 1527 struct ieee80211_supported_band *sband; local [all...] |
/linux-master/drivers/staging/rtl8723bs/os_dep/ |
H A D | wifi_regd.c | 63 struct ieee80211_supported_band *sband; local 71 sband = wiphy->bands[i]; 73 if (sband) { 74 for (j = 0; j < sband->n_channels; j++) { 75 ch = &sband->channels[j];
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | regd.c | 135 struct ieee80211_supported_band *sband; local 145 sband = wiphy->bands[band]; 147 for (i = 0; i < sband->n_channels; i++) { 148 ch = &sband->channels[i]; 186 struct ieee80211_supported_band *sband; local 192 sband = wiphy->bands[NL80211_BAND_2GHZ]; 199 ch = &sband->channels[11]; /* CH 12 */ 202 ch = &sband->channels[12]; /* CH 13 */ 215 ch = &sband->channels[11]; /* CH 12 */ 223 ch = &sband 238 struct ieee80211_supported_band *sband; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | init.c | 66 struct ieee80211_supported_band *sband; local 74 sband = wiphy->bands[NL80211_BAND_5GHZ]; 76 for (i = 0; i < sband->n_channels; i++) { 77 ch = &sband->channels[i]; 90 sband = wiphy->bands[NL80211_BAND_6GHZ]; 91 if (!sband) 95 for (i = 0; i < sband->n_channels; i++) { 96 ch = &sband->channels[i]; 314 dev->mphy.sband_2g.sband.ht_cap.cap |= 317 dev->mphy.sband_5g.sband [all...] |
/linux-master/net/wireless/ |
H A D | of.c | 52 struct ieee80211_supported_band *sband = wiphy->bands[band]; local 54 if (!sband) 57 for (i = 0; i < sband->n_channels; i++) { 58 struct ieee80211_channel *chan = &sband->channels[i];
|
H A D | mesh.c | 140 struct ieee80211_supported_band *sband; local 144 sband = rdev->wiphy.bands[band]; 145 if (!sband) 148 for (i = 0; i < sband->n_channels; i++) { 149 chan = &sband->channels[i]; 175 struct ieee80211_supported_band *sband = local 188 for (i = 0; i < sband->n_bitrates; i++) { 189 if (sband->bitrates[i].bitrate == 10) { 195 setup->basic_rates = ieee80211_mandatory_rates(sband);
|
H A D | debugfs.c | 71 struct ieee80211_supported_band *sband; local 79 sband = wiphy->bands[band]; 80 if (!sband) 82 for (i = 0; i < sband->n_channels; i++) 83 offset += ht_print_chan(&sband->channels[i],
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | init.c | 217 struct ieee80211_supported_band *sband) 224 for (i = 0; i < sband->n_channels; i++) { 225 chan = &sband->channels[i]; 252 struct ieee80211_supported_band *sband; local 254 sband = &dev->mphy.sband_5g.sband; 255 sband->vht_cap.cap &= ~IEEE80211_VHT_CAP_RXLDPC; 256 mt76x0_init_txpower(dev, sband); 260 mt76x0_init_txpower(dev, &dev->mphy.sband_2g.sband); 216 mt76x0_init_txpower(struct mt76x02_dev *dev, struct ieee80211_supported_band *sband) argument
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | mac.h | 59 u8 ath12k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband, 61 u8 ath12k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
|
/linux-master/drivers/staging/vt6655/ |
H A D | dpc.c | 27 struct ieee80211_supported_band *sband; local 52 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; 61 for (ii = 0; ii < sband->n_bitrates; ii++) { 62 if (sband->bitrates[ii].hw_value == r) { 68 if (ii == sband->n_bitrates) {
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 633 struct ieee80211_supported_band *sband; local 637 sband = wiphy->bands[NL80211_BAND_5GHZ]; 638 if (!sband) 641 for (i = 0; i < sband->n_channels; i++) { 642 ch = &sband->channels[i]; 661 struct ieee80211_supported_band *sband; local 667 sband = wiphy->bands[band]; 668 if (!sband) 671 for (i = 0; i < sband->n_channels; i++) { 672 ch = &sband 699 struct ieee80211_supported_band *sband; local 741 struct ieee80211_supported_band *sband; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.c | 857 struct ieee80211_supported_band *sband, 867 if (sband->band != NL80211_BAND_6GHZ) 896 iftype_data = (void *)(uintptr_t)sband->iftype_data; 897 for (i = 0; i < sband->n_iftype_data; i++) 904 struct ieee80211_supported_band *sband, 922 if (sband->band == NL80211_BAND_6GHZ && iftype_data->eht_cap.has_eht) 925 else if (sband->band != NL80211_BAND_2GHZ) 932 switch (sband->band) { 1103 struct ieee80211_supported_band *sband, 1114 switch (sband 855 iwl_init_he_6ghz_capa(struct iwl_trans *trans, struct iwl_nvm_data *data, struct ieee80211_supported_band *sband, u8 tx_chains, u8 rx_chains) argument 902 iwl_nvm_fixup_sband_iftd(struct iwl_trans *trans, struct iwl_nvm_data *data, struct ieee80211_supported_band *sband, struct ieee80211_sband_iftype_data *iftype_data, u8 tx_chains, u8 rx_chains, const struct iwl_fw *fw) argument 1101 iwl_init_he_hw_capab(struct iwl_trans *trans, struct iwl_nvm_data *data, struct ieee80211_supported_band *sband, u8 tx_chains, u8 rx_chains, const struct iwl_fw *fw) argument 1144 struct ieee80211_supported_band *sband; local 1182 struct ieee80211_supported_band *sband; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 252 struct ieee80211_supported_band *sband, 255 struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap; 271 vht_cap = &sband->vht_cap; 296 mt76_init_stream_cap(phy, &phy->sband_2g.sband, false); 298 mt76_init_stream_cap(phy, &phy->sband_5g.sband, vht); 300 mt76_init_stream_cap(phy, &phy->sband_6g.sband, vht); 310 struct ieee80211_supported_band *sband = &msband->sband; local 327 sband->channels = chanlist; 328 sband 251 mt76_init_stream_cap(struct mt76_phy *phy, struct ieee80211_supported_band *sband, bool vht) argument 398 struct ieee80211_supported_band *sband = &msband->sband; local 962 struct mt76_sband *sband; local 1690 mt76_get_rate(struct mt76_dev *dev, struct ieee80211_supported_band *sband, int idx, bool cck) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-rs.c | 325 struct ieee80211_supported_band *sband; local 334 sband = hw->wiphy->bands[conf->chandef.chan->band]; 356 for (i = sband->n_bitrates - 1; i >= 0; i--) { 357 if (sta->deflink.supp_rates[sband->band] & (1 << i)) { 363 il->_3945.sta_supp_rates = sta->deflink.supp_rates[sband->band]; 365 if (sband->band == NL80211_BAND_5GHZ) { 426 il3945_rs_tx_status(void *il_rate, struct ieee80211_supported_band *sband, argument 444 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; 607 struct ieee80211_supported_band *sband = txrc->sband; local 857 il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *il_sta) argument [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11h.c | 32 struct ieee80211_supported_band *sband; local 40 sband = priv->wdev.wiphy->bands[radio_type]; 58 ie_header->len = cpu_to_le16(2 * sband->n_channels + 2); 61 *(*buffer)++ = 2 * sband->n_channels; 62 for (i = 0; i < sband->n_channels; i++) { 64 sband->channels[i].center_freq);
|
H A D | cfp.c | 303 struct ieee80211_supported_band *sband; local 311 sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ]; 313 sband = priv->wdev.wiphy->bands[NL80211_BAND_5GHZ]; 315 if (!sband) { 322 for (i = 0; i < sband->n_channels; i++) { 323 ch = &sband->channels[i]; 338 if (i == sband->n_channels) { 384 struct ieee80211_supported_band *sband; local 388 sband = wiphy->bands[NL80211_BAND_5GHZ]; 389 if (WARN_ON_ONCE(!sband)) [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | init.c | 264 dev->mphy.sband_2g.sband.ht_cap.cap |= 267 dev->mphy.sband_2g.sband.ht_cap.ampdu_density = 269 dev->mphy.sband_5g.sband.ht_cap.cap |= 272 dev->mphy.sband_2g.sband.ht_cap.ampdu_density = 274 dev->mphy.sband_5g.sband.vht_cap.cap |= 280 dev->mphy.sband_5g.sband.vht_cap.cap |=
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | mac.h | 57 u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband, 59 u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | pci_init.c | 100 mt7615_init_txpower(dev, &dev->mphy.sband_2g.sband); 101 mt7615_init_txpower(dev, &dev->mphy.sband_5g.sband);
|