Lines Matching defs:rate
640 uint8_t rate;
664 rate = MS(rxdw3, R92C_RXDW3_RATE);
670 rssi = urtwn_r88e_get_rssi(sc, rate, &stat[1]);
672 rssi = urtwn_get_rssi(sc, rate, &stat[1]);
674 urtwn_update_avgrssi(sc, rate, rssi);
698 /* Map HW rate index to 802.11 rate. */
700 switch (rate) {
716 } else if (rate >= 12) { /* MCS0~15. */
717 /* Bit 7 set means HT MCS instead of rate. */
718 tap->wr_rate = 0x80 | (rate - 12);
1378 * Initialize rate adaptation in firmware.
1401 /* Convert 802.11 rate to HW rate index. */
1405 if (j == nitems(map)) /* Unknown rate, skip. */
1433 /* Set initial MRR rate. */
1447 /* Set initial MRR rate. */
1452 /* Indicate highest supported rate. */
1649 /* Intialize rate adaptation. */
1689 urtwn_update_avgrssi(struct urtwn_softc *sc, int rate, int8_t rssi)
1701 if (rate <= 3) {
1726 urtwn_get_rssi(struct urtwn_softc *sc, int rate, void *physt)
1734 if (rate <= 3) {
1752 urtwn_r88e_get_rssi(struct urtwn_softc *sc, int rate, void *physt)
1760 if (rate <= 3) {
2889 /* Write per-CCK rate Tx power. */
2909 /* Write per-OFDM rate Tx power. */
2995 /* Compute per-CCK rate Tx power. */
3011 /* Compute per-OFDM rate Tx power. */
3034 /* Dump per-rate Tx power values. */
3085 /* Compute per-CCK rate Tx power. */
3095 /* Compute per-OFDM rate Tx power. */
3119 /* Compute per-rate Tx power values. */
3124 /* Write per-rate Tx power values to hardware. */
3371 /* Setup rate fallback. */