Lines Matching defs:rs
4505 struct ieee80211_rateset *rs = &ni->in_rates;
4523 txrate = rs->ir_nrates - 1;
5694 struct ieee80211_rateset *rs;
5737 rs = &ic->ic_sup_rates[IEEE80211_MODE_11A];
5743 rs = &ic->ic_sup_rates[IEEE80211_MODE_11G];
5790 frm = ieee80211_add_rates(frm, rs);
5795 if (rs->ir_nrates > IEEE80211_RATE_SIZE)
5796 frm = ieee80211_add_xrates(frm, rs);
7541 ieee80211_add_rates(uint8_t *frm, const struct ieee80211_rateset *rs)
7546 nrates = rs->ir_nrates;
7550 bcopy(rs->ir_rates, frm, nrates);
7558 ieee80211_add_xrates(uint8_t *frm, const struct ieee80211_rateset *rs)
7560 if (rs->ir_nrates > IEEE80211_RATE_SIZE) {
7561 uint8_t nrates = rs->ir_nrates - IEEE80211_RATE_SIZE;
7565 bcopy(rs->ir_rates + IEEE80211_RATE_SIZE, frm, nrates);