Lines Matching full:rates
43 /* rates are in units of Kbps */
188 /* Hardware rates (also encodes default basic rates) */
282 /* error if no basic rates */ in brcms_c_rateset_valid()
284 if (rs->rates[idx] & BRCMS_RATE_FLAG) in brcms_c_rateset_valid()
316 r = (int)rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate()
319 rateset[r] = rs->rates[i]; /* preserve basic bit! */ in brcms_c_rate_hwrs_filter_sort_validate()
322 /* fill out the rates in order, looking at only supported rates */ in brcms_c_rate_hwrs_filter_sort_validate()
325 r = hw_rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate()
327 rs->rates[count++] = rateset[r]; in brcms_c_rate_hwrs_filter_sort_validate()
400 * 'basic_only' means only copy basic rates.
401 * 'rates' indicates cck (11b) and ofdm rates combinations.
409 bool basic_only, u8 rates, uint xmask, bool mcsallow) in brcms_c_rateset_filter() argument
417 r = src->rates[i]; in brcms_c_rateset_filter()
420 if (rates == BRCMS_RATES_CCK && in brcms_c_rateset_filter()
423 if (rates == BRCMS_RATES_OFDM && in brcms_c_rateset_filter()
426 dst->rates[count++] = r & xmask; in brcms_c_rateset_filter()
431 if (mcsallow && rates != BRCMS_RATES_CCK) in brcms_c_rateset_filter()