Lines Matching defs:rate
150 uint8_t rate;
180 /* Initial rate - lowest */
181 rate = rs->rs_rates[0];
183 /* XXX clear the basic rate flag if it's not 11n */
185 rate &= IEEE80211_RATE_VAL;
187 /* pick initial rate from the rateset - HT or otherwise */
197 rate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL;
200 /* if the rate is an 11n rate, ensure the MCS bit is set */
202 rate |= IEEE80211_RATE_MCS;
204 /* Assign initial rate from the rateset */
205 ni->ni_txrate = rate;
209 "AMRR: nrates=%d, initial rate %d",
211 rate);
238 "AMRR: current rate %d, txcnt=%d, retrycnt=%d",
259 "AMRR increasing rate %d (txcnt=%d retrycnt=%d)",
280 "AMRR decreasing rate %d (txcnt=%d retrycnt=%d)",
295 * Return the rate index to use in sending a data frame.
297 * If the rate changes we also update ni_txrate to match.
318 /* update public rate */
320 /* XXX strip basic rate flag from txrate, if non-11n */