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