Home
last modified time | relevance | path

Searched refs:num_rates (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00dev.c833 unsigned int num_rates; in rt2x00lib_probe_hw_modes() local
836 num_rates = 0; in rt2x00lib_probe_hw_modes()
838 num_rates += 4; in rt2x00lib_probe_hw_modes()
840 num_rates += 8; in rt2x00lib_probe_hw_modes()
846 rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); in rt2x00lib_probe_hw_modes()
853 for (i = 0; i < num_rates; i++) in rt2x00lib_probe_hw_modes()
872 rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes()
890 num_rates - 4; in rt2x00lib_probe_hw_modes()
/linux-3.4.99/net/mac80211/
Dutil.c974 int num_rates; in ieee80211_build_preq_ies() local
981 num_rates = 0; in ieee80211_build_preq_ies()
985 rates[num_rates++] = (u8) (sband->bitrates[i].bitrate / 5); in ieee80211_build_preq_ies()
988 supp_rates_len = min_t(int, num_rates, 8); in ieee80211_build_preq_ies()
1011 ext_rates_len = num_rates - supp_rates_len; in ieee80211_build_preq_ies()
1138 size_t num_rates; in ieee80211_sta_get_rates() local
1149 num_rates = sband->n_bitrates; in ieee80211_sta_get_rates()
1161 for (j = 0; j < num_rates; j++) in ieee80211_sta_get_rates()
/linux-3.4.99/drivers/net/wireless/ipw2x00/
Dipw2200.c5378 int num_rates, i; in ipw_compatible_rates() local
5381 num_rates = min(network->rates_len, (u8) IPW_MAX_RATES); in ipw_compatible_rates()
5382 rates->num_rates = 0; in ipw_compatible_rates()
5383 for (i = 0; i < num_rates; i++) { in ipw_compatible_rates()
5391 rates->supported_rates[rates->num_rates++] = in ipw_compatible_rates()
5401 rates->supported_rates[rates->num_rates++] = network->rates[i]; in ipw_compatible_rates()
5404 num_rates = min(network->rates_ex_len, in ipw_compatible_rates()
5405 (u8) (IPW_MAX_RATES - num_rates)); in ipw_compatible_rates()
5406 for (i = 0; i < num_rates; i++) { in ipw_compatible_rates()
5413 rates->supported_rates[rates->num_rates++] = in ipw_compatible_rates()
[all …]
Dipw2200.h752 u8 num_rates; member
908 u8 num_rates; member
/linux-3.4.99/sound/soc/codecs/
Dwm8994.c116 int num_rates; in wm8958_micd_set_rate() local
131 num_rates = wm8994->pdata->num_micd_rates; in wm8958_micd_set_rate()
134 num_rates = ARRAY_SIZE(jackdet_rates); in wm8958_micd_set_rate()
137 num_rates = ARRAY_SIZE(micdet_rates); in wm8958_micd_set_rate()
141 for (i = 0; i < num_rates; i++) { in wm8958_micd_set_rate()
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dwmi.c1822 int num_rates; in ath6kl_wmi_beginscan_cmd() local
1853 num_rates = 0; in ath6kl_wmi_beginscan_cmd()
1858 supp_rates[num_rates++] = in ath6kl_wmi_beginscan_cmd()
1861 sc->supp_rates[band].nrates = num_rates; in ath6kl_wmi_beginscan_cmd()
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_cmn.c2045 uint rate, num_rates; in wlc_phy_txpower_get_current() local
2067 num_rates = ((ISNPHY(pi)) ? (TXP_NUM_RATES) : in wlc_phy_txpower_get_current()
2071 for (rate = 0; rate < num_rates; rate++) { in wlc_phy_txpower_get_current()
/linux-3.4.99/drivers/net/wireless/
Dmwl8k.c3330 __le32 num_rates; member
3372 __le32 num_rates; member