Lines Matching refs:rates
1665 u8 rates[32]; in ieee80211_build_preq_ies_band() local
1688 rates[num_rates++] = in ieee80211_build_preq_ies_band()
1699 memcpy(pos, rates, supp_rates_len); in ieee80211_build_preq_ies_band()
1726 memcpy(pos, rates + supp_rates_len, ext_rates_len); in ieee80211_build_preq_ies_band()
3147 const u8 *srates, int srates_len, u32 *rates) in ieee80211_parse_bitrates() argument
3154 *rates = 0; in ieee80211_parse_bitrates()
3166 *rates |= BIT(j); in ieee80211_parse_bitrates()
3182 u8 i, rates, *pos; in ieee80211_add_srates_ie() local
3189 rates = 0; in ieee80211_add_srates_ie()
3193 rates++; in ieee80211_add_srates_ie()
3195 if (rates > 8) in ieee80211_add_srates_ie()
3196 rates = 8; in ieee80211_add_srates_ie()
3198 if (skb_tailroom(skb) < rates + 2) in ieee80211_add_srates_ie()
3201 pos = skb_put(skb, rates + 2); in ieee80211_add_srates_ie()
3203 *pos++ = rates; in ieee80211_add_srates_ie()
3204 for (i = 0; i < rates; i++) { in ieee80211_add_srates_ie()