Lines Matching full:rates
83 /* AC rates */
181 * This function maps an index in supported rates table into
226 /* 11n non-HT rates */
235 /* This function maps an index in supported rates table into
281 * This function returns the current active data rates.
285 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates)
288 return mwifiex_get_supported_rates(priv, rates);
290 return mwifiex_copy_rates(rates, 0,
375 /* This function gets the supported data rates from bitmask inside
379 u8 *rates, u8 radio_type)
391 rate_mask = request->rates[NL80211_BAND_5GHZ];
396 rate_mask = request->rates[NL80211_BAND_2GHZ];
403 rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5);
409 /* This function gets the supported data rates. The function works in
411 * data rates.
413 u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates)
425 k = mwifiex_copy_rates(rates, k, supported_rates_b,
433 k = mwifiex_copy_rates(rates, k, supported_rates_g,
445 k = mwifiex_copy_rates(rates, k, supported_rates_bg,
453 k = mwifiex_copy_rates(rates, k, supported_rates_a,
464 k = mwifiex_copy_rates(rates, k, supported_rates_a,
471 k = mwifiex_copy_rates(rates, k, supported_rates_n,
480 k = mwifiex_copy_rates(rates, k, adhoc_rates_b,
486 k = mwifiex_copy_rates(rates, k, adhoc_rates_g,
492 k = mwifiex_copy_rates(rates, k, adhoc_rates_bg,
498 k = mwifiex_copy_rates(rates, k, adhoc_rates_a,