Lines Matching refs:rate
590 struct ieee80211_rate *rate; in rate_fixup_ratelist() local
607 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist()
614 if (sband->bitrates[i].bitrate > rate->bitrate) in rate_fixup_ratelist()
671 rate = &sband->bitrates[rates[i].idx]; in rate_fixup_ratelist()
675 rate->flags & IEEE80211_RATE_SHORT_PREAMBLE) in rate_fixup_ratelist()
681 rate->flags & IEEE80211_RATE_ERP_G) in rate_fixup_ratelist()
707 rates[i].idx = ratetbl->rate[i].idx; in rate_control_fill_sta_table()
708 rates[i].flags = ratetbl->rate[i].flags; in rate_control_fill_sta_table()
710 rates[i].count = ratetbl->rate[i].count_rts; in rate_control_fill_sta_table()
712 rates[i].count = ratetbl->rate[i].count_cts; in rate_control_fill_sta_table()
714 rates[i].count = ratetbl->rate[i].count; in rate_control_fill_sta_table()
792 if (rates->rate[i].idx < 0) in rate_control_apply_mask_ratetbl()
795 rate_idx_match_mask(&rates->rate[i].idx, &rates->rate[i].flags, in rate_control_apply_mask_ratetbl()