Lines Matching refs:rates
95 /* AC rates */
193 * This function maps an index in supported rates table into
238 /* 11n non-HT rates */
247 /* This function maps an index in supported rates table into
293 * This function returns the current active data rates.
297 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates)
300 return mwifiex_get_supported_rates(priv, rates);
302 return mwifiex_copy_rates(rates, 0,
387 /* This function gets the supported data rates from bitmask inside
391 u8 *rates, u8 radio_type)
403 rate_mask = request->rates[NL80211_BAND_5GHZ];
408 rate_mask = request->rates[NL80211_BAND_2GHZ];
415 rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5);
421 /* This function gets the supported data rates. The function works in
423 * data rates.
425 u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates)
437 k = mwifiex_copy_rates(rates, k, supported_rates_b,
445 k = mwifiex_copy_rates(rates, k, supported_rates_g,
457 k = mwifiex_copy_rates(rates, k, supported_rates_bg,
465 k = mwifiex_copy_rates(rates, k, supported_rates_a,
476 k = mwifiex_copy_rates(rates, k, supported_rates_a,
483 k = mwifiex_copy_rates(rates, k, supported_rates_n,
492 k = mwifiex_copy_rates(rates, k, adhoc_rates_b,
498 k = mwifiex_copy_rates(rates, k, adhoc_rates_g,
504 k = mwifiex_copy_rates(rates, k, adhoc_rates_bg,
510 k = mwifiex_copy_rates(rates, k, adhoc_rates_a,