Lines Matching defs:rate

43  * AMRR rate control. See:
83 static int ath_rateinterval = 1000; /* rate ctl interval (ms) */
88 int rate);
122 * the returned rate with the relevant preamble rate flag.
212 * The code below assumes that we are dealing with hardware multi rate retry
218 ath_rate_update(struct ath_softc *sc, struct ieee80211_node *ni, int rate)
226 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
229 "%s: set xmit rate to %dM", __func__,
231 (ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL) / 2 : 0);
233 amn->amn_rix = rate;
235 * Before associating a node has no rate set setup
239 * lowest hardware rate.
242 ni->ni_txrate = ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL;
252 if (--rate >= 0) {
254 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL];
261 if (--rate >= 0) {
263 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL];
270 if (rate > 0) {
300 * Set the starting transmit rate for a node.
312 * No fixed rate is requested. For 11b start with
313 * the highest negotiated rate; otherwise, for 11g
319 * Scan the negotiated rate set to find the
320 * closest rate.
322 /* NB: the rate set is assumed sorted */
328 * A fixed rate is to be used; ic_fixed_rate is the
329 * IEEE code for this rate (sans basic bit). Convert this
330 * to the index into the negotiated rate set for
331 * the node. We know the rate is there because the
332 * rate set is checked when the station associates.
334 /* NB: the rate set is assumed sorted */
340 * The selected rate may not be available due to races
342 * adhoc mode may not have any rate set so this lookup
350 * Examine and potentially adjust the transmit rate.
380 "increase rate to %d", rix);
394 "decrease rate recovery thr: %d",
401 "decrease rate normal thr: %d",
440 "rate control: operation interval (ms)");