Lines Matching defs:rate
73 ath_rate_update(ath_t *asc, struct ieee80211_node *in, int32_t rate)
81 in->in_txrate = rate;
90 * Before associating a node has no rate set setup
94 * lowest hardware rate.
99 in->in_rates.ir_rates[rate] & IEEE80211_RATE_VAL];
105 * Hardware supports multi-rate retry; setup two
106 * step-down retry rates and make the lowest rate
111 an->an_tx_try0 = 1 + 3; /* 4 tries at rate 0 */
112 if (--rate >= 0) {
114 in->in_rates.ir_rates[rate]&IEEE80211_RATE_VAL];
121 if (--rate >= 0) {
123 in->in_rates.ir_rates[rate]&IEEE80211_RATE_VAL];
130 if (rate > 0) {
138 an->an_tx_try0 = ATH_TXMAXTRY; /* max tries at rate 0 */
149 * Set the starting transmit rate for a node.
159 * No fixed rate is requested. For 11b start with
160 * the highest negotiated rate; otherwise, for 11g
166 * Scan the negotiated rate set to find the
167 * closest rate.
169 /* NB: the rate set is assumed sorted */
175 * A fixed rate is to be used; We know the rate is
176 * there because the rate set is checked when the
179 /* NB: the rate set is assumed sorted */
185 "srate=%d rate=%d\n", srate, IEEE80211_RATE(srate)));
196 * Reset the rate control state for each 802.11 state transition.
220 * tx rate state of each node.
229 * Examine and potentially adjust the transmit rate.
295 * Read rate table from the HAL, and then
335 "rate table too small (%u > %u)\n",