Lines Matching refs:rate

167  * Whether to use the 11n rate scenario functions or not
492 * Set the rate control fields in the given descriptor based on
495 * The bfs fields should already be set with the relevant rate
498 * Since the FreeBSD HAL currently sets up the first TX rate
501 * unconditionally for 11n chips. These require the 11n rate
504 * and 4 if multi-rate retry is needed.
590 , bf->bf_state.bfs_try0 /* series 0 rate/tries */
594 , bf->bf_state.bfs_ctsrate /* rts/cts rate */
599 * First descriptor? Setup the rate control and initial
604 * setup first desc with rate and aggr info
657 * For non-AR9300 NICs, which require the rate control
661 * populate the last segment with rate control information
663 * that is fine, as the first frame already has rate control
666 * the rate info isn't copied.
672 * As to why the rate table is stashed in the last descriptor
1041 * This requires the rate control information be filled in,
1085 * highest CCK rate for RTS/CTS. But stations
1086 * farther away may detect it at a lower CCK rate
1087 * so use the configured protection rate instead
1113 * Update the frame duration given the currently selected rate.
1152 * XXX TODO: ensure that the rate lookup for each
1153 * fragment is the same as the rate used by the
1165 * fragment by disabling multi-rate retry which updates
1166 * duration based on the multi-rate duration table.
1185 * CTS transmit rate is derived from the transmit rate
1186 * by looking in the h/w rate table. We must also factor
1212 printf("%s: HT rate where it shouldn't be (0x%x)\n",
1249 * To support rate lookups for each software retry, the rts/cts rate
1253 * mrr has been disabled; and the rate control lookup has been done.
1256 * XXX The 11n NICs support per-rate RTS/CTS configuration.
1280 * rate. Otherwise use the rate0 control rate.
1294 /* Control rate from above */
1297 /* Calculate the rtscts rate for the given cix */
1312 * Must disable multi-rate retry when using RTS/CTS.
1346 , bf->bf_state.bfs_try0 /* series 0 rate/tries */
1350 , bf->bf_state.bfs_ctsrate /* rts/cts rate */
1360 /* Set rate control and descriptor chain for this frame */
1366 * Do a rate lookup.
1368 * This performs a rate lookup for the given ath_buf only if it's required.
1376 * as they may depend upon the rate chosen.
1382 uint8_t rate, rix;
1395 pktlen, tid, is_aggr, &rix, &try0, &rate, &maxdur, &maxpktlen);
1399 bf->bf_state.bfs_rc[0].ratecode = rate;
1410 bf->bf_state.bfs_txrate0 = rate;
1492 * The frame must already be setup; rate control must already have
1547 * Retransmits fiddle with things like the rate control setup,
1621 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
1639 ismrr = 0; /* default no multi-rate retry*/
1645 * setup for rate calculations, and select h/w transmit queue.
1677 * Data frames: multicast frames go out at a fixed rate,
1678 * EAPOL frames use the mgmt frame rate; otherwise consult
1679 * the rate control module for the rate to use.
1696 * Do rate lookup on each TX, rather than using
1860 /* Blank the legacy rate array */
1864 * ath_buf_set_rate needs at least one rate/try to setup
1865 * the rate scenario.
1871 /* Store the decided rate index values away */
2244 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
2246 /* Fetch first rate information */
2251 * Override EAPOL rate as appropriate.
2317 /* Store the decided rate index values away */
2341 /* Blank the legacy rate array */
2364 * All the required rate control decisions have been made;
4254 * punt to rate control if we're not being cleaned up
4688 * Update rate control - all frames have failed.
4936 * XXX rate control completion; it's at least consistent.
4970 * Copy the TX completion status and the rate control
4972 * before the rate control code can get its grubby fingers
5093 * Now we know how many frames were bad, call the rate
5181 * Update rate control status here, before we possibly
5519 * to the rate control lookup.
5595 * Update the rate and rtscts information based on the
5596 * rate decision made by the rate control code;
5713 /* Program descriptors + rate control */
6298 * to do rate control lookups and these are done with the TX