Lines Matching refs:nrs
233 struct ieee80211_rateset *nrs, int flags) in ieee80211_fix_rate() argument
257 for (i = 0; i < nrs->ir_nrates; ) { in ieee80211_fix_rate()
265 for (j = i + 1; j < nrs->ir_nrates; j++) { in ieee80211_fix_rate()
266 if (IEEE80211_RV(nrs->ir_rates[i]) > in ieee80211_fix_rate()
267 IEEE80211_RV(nrs->ir_rates[j])) { in ieee80211_fix_rate()
268 r = nrs->ir_rates[i]; in ieee80211_fix_rate()
269 nrs->ir_rates[i] = nrs->ir_rates[j]; in ieee80211_fix_rate()
270 nrs->ir_rates[j] = r; in ieee80211_fix_rate()
274 r = IEEE80211_RV(nrs->ir_rates[i]); in ieee80211_fix_rate()
290 nrs->ir_rates[i] = srs->ir_rates[j]; in ieee80211_fix_rate()
309 nrs->ir_nrates--; in ieee80211_fix_rate()
310 for (j = i; j < nrs->ir_nrates; j++) in ieee80211_fix_rate()
311 nrs->ir_rates[j] = nrs->ir_rates[j + 1]; in ieee80211_fix_rate()
312 nrs->ir_rates[j] = 0; in ieee80211_fix_rate()
324 okrate = nrs->ir_rates[i]; in ieee80211_fix_rate()