Lines Matching defs:rates
27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates)
34 rate = le16_to_cpu(rates[i]);
45 static int prism_build_supp_rates(u8 *buf, const u8 *rates)
52 if (rates[i] == 0x0)
54 buf[i + 2] = rates[i];
58 /* We might still have another 2 rates, which need to go in
59 * extended supported rates */
60 if (i == 8 && rates[i] > 0) {
64 if (rates[i] == 0x0)
66 buf[i + 2] = rates[i];
101 ie_len += symbol_build_supp_rates(ie, bss->s.rates);
105 ie_len += prism_build_supp_rates(ie, bss->p.rates);