Lines Matching defs:rates
65 * be applied; the HT rateset will be applied to 11n rates.
72 uint32_t rates = 0, htrates = 0;
76 /* Get rates mask. */
77 rates = 0;
88 rates |= 1 << ridx;
94 /* If we're doing 11n, enable 11n rates */
100 /* Only do up to 2-stream rates for now */
117 "%s: rates 0x%08X htrates 0x%08X, maxrate %d\n",
118 __func__, rates, htrates, maxrate);
121 *rates_p = rates;
129 rtwn_set_basicrates(struct rtwn_softc *sc, uint32_t rates)
132 RTWN_DPRINTF(sc, RTWN_DEBUG_RA, "%s: rates 0x%08X\n", __func__, rates);
134 rtwn_setbits_4(sc, R92C_RRSR, R92C_RRSR_RATE_BITMAP_M, rates);
141 rtwn_set_rts_rate(struct rtwn_softc *sc, uint32_t rates)
154 rates &= (1 << RTWN_RIDX_CCK1) | (1 << RTWN_RIDX_CCK55) |
158 if (rates == 0) {
163 ridx = fls(rates) - 1;
167 __func__, rates, ridx);