Lines Matching defs:rate

163  * Whether to use the 11n rate scenario functions or not
491 * Set the rate control fields in the given descriptor based on
494 * The bfs fields should already be set with the relevant rate
497 * Since the FreeBSD HAL currently sets up the first TX rate
500 * unconditionally for 11n chips. These require the 11n rate
503 * and 4 if multi-rate retry is needed.
589 , bf->bf_state.bfs_try0 /* series 0 rate/tries */
593 , bf->bf_state.bfs_ctsrate /* rts/cts rate */
598 * First descriptor? Setup the rate control and initial
603 * setup first desc with rate and aggr info
656 * For non-AR9300 NICs, which require the rate control
660 * populate the last segment with rate control information
662 * that is fine, as the first frame already has rate control
665 * the rate info isn't copied.
671 * As to why the rate table is stashed in the last descriptor
1056 * This requires the rate control information be filled in,
1093 * highest CCK rate for RTS/CTS. But stations
1094 * farther away may detect it at a lower CCK rate
1095 * so use the configured protection rate instead
1119 * Update the frame duration given the currently selected rate.
1158 * XXX TODO: ensure that the rate lookup for each
1159 * fragment is the same as the rate used by the
1170 * fragment by disabling multi-rate retry which updates
1171 * duration based on the multi-rate duration table.
1190 * CTS transmit rate is derived from the transmit rate
1191 * by looking in the h/w rate table. We must also factor
1217 printf("%s: HT rate where it shouldn't be (0x%x)\n",
1254 * To support rate lookups for each software retry, the rts/cts rate
1258 * mrr has been disabled; and the rate control lookup has been done.
1261 * XXX The 11n NICs support per-rate RTS/CTS configuration.
1285 * rate. Otherwise use the rate0 control rate.
1299 /* Control rate from above */
1302 /* Calculate the rtscts rate for the given cix */
1317 * Must disable multi-rate retry when using RTS/CTS.
1351 , bf->bf_state.bfs_try0 /* series 0 rate/tries */
1355 , bf->bf_state.bfs_ctsrate /* rts/cts rate */
1365 /* Set rate control and descriptor chain for this frame */
1371 * Do a rate lookup.
1373 * This performs a rate lookup for the given ath_buf only if it's required.
1381 * as they may depend upon the rate chosen.
1386 uint8_t rate, rix;
1397 bf->bf_state.bfs_pktlen, &rix, &try0, &rate);
1401 bf->bf_state.bfs_rc[0].ratecode = rate;
1412 bf->bf_state.bfs_txrate0 = rate;
1494 * The frame must already be setup; rate control must already have
1549 * Retransmits fiddle with things like the rate control setup,
1623 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
1641 ismrr = 0; /* default no multi-rate retry*/
1646 * setup for rate calculations, and select h/w transmit queue.
1678 * Data frames: multicast frames go out at a fixed rate,
1679 * EAPOL frames use the mgmt frame rate; otherwise consult
1680 * the rate control module for the rate to use.
1697 * Do rate lookup on each TX, rather than using
1823 /* Blank the legacy rate array */
1827 * ath_buf_set_rate needs at least one rate/try to setup
1828 * the rate scenario.
1834 /* Store the decided rate index values away */
2183 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
2235 /* Store the decided rate index values away */
2259 /* Blank the legacy rate array */
2283 * All the required rate control decisions have been made;
4103 * punt to rate control if we're not being cleaned up
4479 * Update rate control - all frames have failed.
4715 * XXX rate control completion; it's at least consistent.
4749 * Copy the TX completion status and the rate control
4751 * before the rate control code can get its grubby fingers
4868 * Now we know how many frames were bad, call the rate
4955 * Update rate control status here, before we possibly
5226 * Do a rate control lookup on the first frame in the
5227 * list. The rate control code needs that to occur
5229 * It's inaccurate because the rate control code doesn't
5303 * Update the rate and rtscts information based on the
5304 * rate decision made by the rate control code;
5423 /* Program descriptors + rate control */
5944 * to do rate control lookups and these are done with the TX