n_bitrates 188 drivers/net/wireless/admtek/adm8211.c priv->band.n_bitrates = ARRAY_SIZE(adm8211_rates); n_bitrates 1161 drivers/net/wireless/ath/ar5523/ar5523.c for (bit = 0; bit < band->n_bitrates; bit++) { n_bitrates 1202 drivers/net/wireless/ath/ar5523/ar5523.c for (bit = 0; bit < band->n_bitrates; bit++) { n_bitrates 1474 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.n_bitrates = ARRAY_SIZE(ar5523_rates); n_bitrates 121 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 142 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < sband->n_bitrates; i++) n_bitrates 8730 drivers/net/wireless/ath/ath10k/mac.c band->n_bitrates = ath10k_g_rates_rev2_size; n_bitrates 8733 drivers/net/wireless/ath/ath10k/mac.c band->n_bitrates = ath10k_g_rates_size; n_bitrates 8752 drivers/net/wireless/ath/ath10k/mac.c band->n_bitrates = ath10k_a_rates_size; n_bitrates 351 drivers/net/wireless/ath/ath5k/base.c for (i = 0; i < b->n_bitrates; i++) { n_bitrates 378 drivers/net/wireless/ath/ath5k/base.c sband->n_bitrates = 12; n_bitrates 391 drivers/net/wireless/ath/ath5k/base.c sband->n_bitrates = 4; n_bitrates 424 drivers/net/wireless/ath/ath5k/base.c sband->n_bitrates = 8; n_bitrates 1047 drivers/net/wireless/ath/ath5k/debug.c band->n_channels, band->n_bitrates); n_bitrates 1057 drivers/net/wireless/ath/ath5k/debug.c for (i = 0; i < band->n_bitrates; i++) n_bitrates 285 drivers/net/wireless/ath/ath5k/pcu.c for (i = 0; i < ah->sbands[band].n_bitrates; i++) { n_bitrates 615 drivers/net/wireless/ath/ath5k/qcu.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 127 drivers/net/wireless/ath/ath6kl/cfg80211.c .n_bitrates = ath6kl_g_rates_size, n_bitrates 136 drivers/net/wireless/ath/ath6kl/cfg80211.c .n_bitrates = ath6kl_a_rates_size, n_bitrates 3569 drivers/net/wireless/ath/ath6kl/cfg80211.c rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; n_bitrates 2069 drivers/net/wireless/ath/ath6kl/wmi.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 147 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_2GHZ].n_bitrates = n_bitrates 165 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_5GHZ].n_bitrates = n_bitrates 197 drivers/net/wireless/ath/ath9k/common.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 604 drivers/net/wireless/ath/ath9k/htc_drv_main.c for (i = 0, j = 0; i < sband->n_bitrates; i++) { n_bitrates 172 drivers/net/wireless/ath/carl9170/main.c .n_bitrates = carl9170_g_ratetable_size, n_bitrates 180 drivers/net/wireless/ath/carl9170/main.c .n_bitrates = carl9170_a_ratetable_size, n_bitrates 132 drivers/net/wireless/ath/wcn36xx/main.c .n_bitrates = ARRAY_SIZE(wcn_2ghz_rates), n_bitrates 153 drivers/net/wireless/ath/wcn36xx/main.c .n_bitrates = ARRAY_SIZE(wcn_5ghz_rates), n_bitrates 2311 drivers/net/wireless/atmel/at76c50x-usb.c .n_bitrates = ARRAY_SIZE(at76_rates), n_bitrates 327 drivers/net/wireless/broadcom/b43/main.c .n_bitrates = b43_a_ratetable_size, n_bitrates 335 drivers/net/wireless/broadcom/b43/main.c .n_bitrates = b43_a_ratetable_size, n_bitrates 343 drivers/net/wireless/broadcom/b43/main.c .n_bitrates = b43_a_ratetable_size, n_bitrates 351 drivers/net/wireless/broadcom/b43/main.c .n_bitrates = b43_g_ratetable_size, n_bitrates 359 drivers/net/wireless/broadcom/b43/main.c .n_bitrates = b43_g_ratetable_size, n_bitrates 4058 drivers/net/wireless/broadcom/b43/main.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 139 drivers/net/wireless/broadcom/b43legacy/main.c .n_bitrates = b43legacy_b_ratetable_size, n_bitrates 146 drivers/net/wireless/broadcom/b43legacy/main.c .n_bitrates = b43legacy_g_ratetable_size, n_bitrates 2768 drivers/net/wireless/broadcom/b43legacy/main.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 164 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .n_bitrates = wl_g_rates_size, n_bitrates 170 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .n_bitrates = wl_a_rates_size, n_bitrates 224 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .n_bitrates = ARRAY_SIZE(legacy_ratetable), n_bitrates 245 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .n_bitrates = ARRAY_SIZE(legacy_ratetable) - n_bitrates 642 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c for (i = 0; i < bi->n_bitrates; i++) { n_bitrates 6306 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c hw->wiphy->bands[tx_info->band]->n_bitrates)) { n_bitrates 1932 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->n_bitrates = RATE_COUNT; n_bitrates 11365 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->n_bitrates = ipw2200_num_bg_rates; n_bitrates 11404 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->n_bitrates = ipw2200_num_a_rates; n_bitrates 356 drivers/net/wireless/intel/iwlegacy/3945-rs.c for (i = sband->n_bitrates - 1; i >= 0; i--) { n_bitrates 3434 drivers/net/wireless/intel/iwlegacy/common.c if (il->bands[NL80211_BAND_2GHZ].n_bitrates || n_bitrates 3435 drivers/net/wireless/intel/iwlegacy/common.c il->bands[NL80211_BAND_5GHZ].n_bitrates) { n_bitrates 3460 drivers/net/wireless/intel/iwlegacy/common.c sband->n_bitrates = RATE_COUNT_LEGACY - IL_FIRST_OFDM_RATE; n_bitrates 3469 drivers/net/wireless/intel/iwlegacy/common.c sband->n_bitrates = RATE_COUNT_LEGACY; n_bitrates 4079 drivers/net/wireless/intel/iwlegacy/common.c for (i = 0; i < hw->n_bitrates; i++) { n_bitrates 822 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sband->n_bitrates = N_RATES_24; n_bitrates 831 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sband->n_bitrates = N_RATES_52; n_bitrates 715 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c sband->n_bitrates = N_RATES_24; n_bitrates 727 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c sband->n_bitrates = N_RATES_52; n_bitrates 657 drivers/net/wireless/intel/iwlwifi/mvm/fw.c mvm->nvm_data->bands[0].n_bitrates = 1; n_bitrates 1081 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_bitrates; i++) n_bitrates 1084 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_bitrates; i++) n_bitrates 56 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.n_bitrates = ARRAY_SIZE(orinoco_rates); n_bitrates 131 drivers/net/wireless/intersil/p54/eeprom.c band_entry->n_bitrates = ARRAY_SIZE(p54_bgrates); n_bitrates 135 drivers/net/wireless/intersil/p54/eeprom.c band_entry->n_bitrates = ARRAY_SIZE(p54_arates); n_bitrates 2942 drivers/net/wireless/mac80211_hwsim.c sband->n_bitrates = ARRAY_SIZE(hwsim_rates); n_bitrates 2948 drivers/net/wireless/mac80211_hwsim.c sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4; n_bitrates 79 drivers/net/wireless/marvell/libertas/cfg.c .n_bitrates = ARRAY_SIZE(lbs_rates), n_bitrates 580 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.n_bitrates = ARRAY_SIZE(lbtf_rates); n_bitrates 1609 drivers/net/wireless/marvell/mwifiex/cfg80211.c .n_bitrates = ARRAY_SIZE(mwifiex_rates), n_bitrates 1650 drivers/net/wireless/marvell/mwifiex/cfg80211.c .n_bitrates = ARRAY_SIZE(mwifiex_rates) - 4, n_bitrates 2428 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (i = 0; i < mwifiex_band_2ghz.n_bitrates; i++) { n_bitrates 412 drivers/net/wireless/marvell/mwifiex/cfp.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 2320 drivers/net/wireless/marvell/mwl8k.c priv->band_24.n_bitrates = ARRAY_SIZE(mwl8k_rates_24); n_bitrates 2339 drivers/net/wireless/marvell/mwl8k.c priv->band_50.n_bitrates = ARRAY_SIZE(mwl8k_rates_50); n_bitrates 181 drivers/net/wireless/mediatek/mt76/mac80211.c sband->n_bitrates = n_rates; n_bitrates 853 drivers/net/wireless/mediatek/mt76/mac80211.c int i, offset = 0, len = sband->n_bitrates; n_bitrates 534 drivers/net/wireless/mediatek/mt7601u/init.c sband->n_bitrates = n_rates; n_bitrates 1232 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->n_bitrates = ARRAY_SIZE(qtnf_rates_2g); n_bitrates 1236 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->n_bitrates = ARRAY_SIZE(qtnf_rates_5g); n_bitrates 1240 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c band->n_bitrates = 0; n_bitrates 711 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 1051 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; n_bitrates 1068 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates = n_bitrates 1804 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.n_bitrates = 4; n_bitrates 1869 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.n_bitrates = ARRAY_SIZE(rtl818x_rates); n_bitrates 1475 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.n_bitrates = ARRAY_SIZE(rtl818x_rates); n_bitrates 127 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c .n_bitrates = ARRAY_SIZE(rtl8xxxu_rates), n_bitrates 118 drivers/net/wireless/realtek/rtlwifi/base.c .n_bitrates = ARRAY_SIZE(rtl_ratetable_2g), n_bitrates 130 drivers/net/wireless/realtek/rtlwifi/base.c .n_bitrates = ARRAY_SIZE(rtl_ratetable_5g), n_bitrates 1496 drivers/net/wireless/realtek/rtlwifi/wifi.h int n_bitrates; n_bitrates 94 drivers/net/wireless/realtek/rtw88/main.c .n_bitrates = ARRAY_SIZE(rtw_ratetable), n_bitrates 108 drivers/net/wireless/realtek/rtw88/main.c .n_bitrates = ARRAY_SIZE(rtw_ratetable) - 4, n_bitrates 3480 drivers/net/wireless/rndis_wlan.c priv->band.n_bitrates = ARRAY_SIZE(rndis_rates); n_bitrates 206 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->n_bitrates = ARRAY_SIZE(rsi_rates); n_bitrates 215 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->n_bitrates = ARRAY_SIZE(rsi_rates) - 4; n_bitrates 162 drivers/net/wireless/st/cw1200/main.c .n_bitrates = cw1200_g_rates_size, n_bitrates 182 drivers/net/wireless/st/cw1200/main.c .n_bitrates = cw1200_a_rates_size, n_bitrates 1349 drivers/net/wireless/ti/wl1251/main.c .n_bitrates = ARRAY_SIZE(wl1251_rates), n_bitrates 5923 drivers/net/wireless/ti/wlcore/main.c .n_bitrates = ARRAY_SIZE(wl1271_rates), n_bitrates 5993 drivers/net/wireless/ti/wlcore/main.c .n_bitrates = ARRAY_SIZE(wl1271_rates_5ghz), n_bitrates 447 drivers/net/wireless/ti/wlcore/tx.c for (bit = 0; bit < band->n_bitrates; bit++) { n_bitrates 454 drivers/net/wireless/ti/wlcore/tx.c rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; n_bitrates 47 drivers/net/wireless/virt_wifi.c .n_bitrates = ARRAY_SIZE(bitrates_2ghz), n_bitrates 100 drivers/net/wireless/virt_wifi.c .n_bitrates = ARRAY_SIZE(bitrates_5ghz), n_bitrates 1063 drivers/net/wireless/zydas/zd1211rw/zd_mac.c for (i = 0; i < mac->band.n_bitrates; i++) n_bitrates 1379 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.n_bitrates = ARRAY_SIZE(zd_rates); n_bitrates 118 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c int n_channels, n_bitrates; n_bitrates 123 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c n_bitrates = RTW_G_RATES_NUM; n_bitrates 132 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sizeof(struct ieee80211_rate) * n_bitrates); n_bitrates 140 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->n_bitrates = n_bitrates; n_bitrates 107 drivers/staging/vt6655/channel.c .n_bitrates = ARRAY_SIZE(vnt_rates_bg), n_bitrates 114 drivers/staging/vt6655/channel.c .n_bitrates = ARRAY_SIZE(vnt_rates_a), n_bitrates 63 drivers/staging/vt6655/dpc.c for (ii = 0; ii < sband->n_bitrates; ii++) { n_bitrates 70 drivers/staging/vt6655/dpc.c if (ii == sband->n_bitrates) { n_bitrates 120 drivers/staging/vt6656/channel.c .n_bitrates = ARRAY_SIZE(vnt_rates_bg), n_bitrates 127 drivers/staging/vt6656/channel.c .n_bitrates = ARRAY_SIZE(vnt_rates_a), n_bitrates 95 drivers/staging/vt6656/dpc.c for (ii = 0; ii < sband->n_bitrates; ii++) { n_bitrates 102 drivers/staging/vt6656/dpc.c if (ii == sband->n_bitrates) { n_bitrates 1880 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.n_bitrates = ARRAY_SIZE(wl->bitrates); n_bitrates 689 drivers/staging/wlan-ng/cfg80211.c priv->band.n_bitrates = ARRAY_SIZE(prism2_rates); n_bitrates 415 include/net/cfg80211.h int n_bitrates; n_bitrates 5980 include/net/mac80211.h for (i = 0; i < sband->n_bitrates; i++) n_bitrates 5997 include/net/mac80211.h for (i = 0; i < sband->n_bitrates; i++) n_bitrates 100 net/mac80211/ibss.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 113 net/mac80211/ibss.c for (ri = 0; ri < sband->n_bitrates; ri++) { n_bitrates 157 net/mac80211/ibss.c for (; ri < sband->n_bitrates; ri++) { n_bitrates 454 net/mac80211/ibss.c for (j = 0; j < sband->n_bitrates; j++) { n_bitrates 1805 net/mac80211/ibss.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 1838 net/mac80211/iface.c sband ? (1 << sband->n_bitrates) - 1 : 0; n_bitrates 970 net/mac80211/main.c if (max_bitrates < sband->n_bitrates) n_bitrates 971 net/mac80211/main.c max_bitrates = sband->n_bitrates; n_bitrates 114 net/mac80211/mesh_plink.c for (i = 0; i < sband->n_bitrates; i++) n_bitrates 685 net/mac80211/mlme.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 768 net/mac80211/mlme.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 783 net/mac80211/mlme.c for (i++; i < sband->n_bitrates; i++) { n_bitrates 3136 net/mac80211/mlme.c for (j = 0; j < sband->n_bitrates; j++) { n_bitrates 282 net/mac80211/rate.c sdata->rc_rateidx_mask[band] = (1 << sband->n_bitrates) - 1; n_bitrates 311 net/mac80211/rate.c for (i = *idx + 1; i <= sband->n_bitrates; i++) { n_bitrates 336 net/mac80211/rate.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 349 net/mac80211/rate.c WARN_ONCE(i == sband->n_bitrates, n_bitrates 400 net/mac80211/rate.c static bool rate_idx_match_legacy_mask(s8 *rate_idx, int n_bitrates, u32 mask) n_bitrates 414 net/mac80211/rate.c for (j = *rate_idx + 1; j < n_bitrates; j++) { n_bitrates 527 net/mac80211/rate.c if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates, n_bitrates 541 net/mac80211/rate.c if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates, n_bitrates 546 net/mac80211/rate.c if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates, n_bitrates 609 net/mac80211/rate.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 666 net/mac80211/rate.c if (WARN_ON_ONCE(rates[i].idx >= sband->n_bitrates)) { n_bitrates 735 net/mac80211/rate.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 740 net/mac80211/rate.c if (*mask == (1 << sband->n_bitrates) - 1 && n_bitrates 498 net/mac80211/rc80211_minstrel.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 553 net/mac80211/rc80211_minstrel.c for (i = n; i < sband->n_bitrates; i++) { n_bitrates 1567 net/mac80211/rc80211_minstrel_ht.c if (sband && sband->n_bitrates > max_rates) n_bitrates 1568 net/mac80211/rc80211_minstrel_ht.c max_rates = sband->n_bitrates; n_bitrates 1614 net/mac80211/rc80211_minstrel_ht.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 4603 net/mac80211/rx.c if (WARN_ON(status->rate_idx >= sband->n_bitrates)) n_bitrates 435 net/mac80211/sta_info.c for (r = 0; r < hw->wiphy->bands[i]->n_bitrates; r++) { n_bitrates 141 net/mac80211/tx.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 2180 net/mac80211/tx.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 1663 net/mac80211/util.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 1942 net/mac80211/util.c num_rates = sband->n_bitrates; n_bitrates 3084 net/mac80211/util.c for (j = 0; j < sband->n_bitrates; j++) { n_bitrates 3115 net/mac80211/util.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 3160 net/mac80211/util.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 3178 net/mac80211/util.c for (i = 8; i < sband->n_bitrates; i++) { n_bitrates 804 net/wireless/core.c !sband->n_bitrates)) n_bitrates 824 net/wireless/core.c if (WARN_ON(sband->n_bitrates > 32)) n_bitrates 120 net/wireless/ibss.c for (j = 0; j < sband->n_bitrates; j++) { n_bitrates 184 net/wireless/mesh.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 1635 net/wireless/nl80211.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 4121 net/wireless/nl80211.c for (ridx = 0; ridx < sband->n_bitrates; ridx++) { n_bitrates 4129 net/wireless/nl80211.c if (ridx == sband->n_bitrates) n_bitrates 4255 net/wireless/nl80211.c mask->control[i].legacy = (1 << sband->n_bitrates) - 1; n_bitrates 7665 net/wireless/nl80211.c (1 << wiphy->bands[i]->n_bitrates) - 1; n_bitrates 9417 net/wireless/nl80211.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 2230 net/wireless/scan.c creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; n_bitrates 97 net/wireless/sme.c request->rates[band] = (1 << sband->n_bitrates) - 1; n_bitrates 114 net/wireless/sme.c request->rates[band] = (1 << bands->n_bitrates) - 1; n_bitrates 34 net/wireless/util.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 68 net/wireless/util.c for (i = 0; i < sband->n_bitrates; i++) n_bitrates 161 net/wireless/util.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 174 net/wireless/util.c for (i = 0; i < sband->n_bitrates; i++) { n_bitrates 1868 net/wireless/util.c for (j = 0; j < sband->n_bitrates; j++) { n_bitrates 1229 net/wireless/wext-compat.c for (ridx = 0; ridx < sband->n_bitrates; ridx++) {