mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
rtwn: bring the r92c rate control setup selection in line with tx descriptors
The rate control message was doing 11g+11n without 11b rates, but the TX descriptor setup supports also falling back on 11b rates when doing multi-rate retry / per-descriptor rate control. So, line them up. They're not exactly the same as the TX path supports pure-N and pure-G modes which the rate control configuration does not, but there'll need to be a lot more work on supporting those operating modes anyway (around things like self-generated frame rate control/masks, beacon config, RTS/CTS selection, etc.) Locally tested: * RTL8192CU, STA mode Differential Revision: https://reviews.freebsd.org/D48081 Reviewed by: bz
This commit is contained in:
parent
eb6314510c
commit
300c843b07
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ r92c_send_ra_cmd(struct rtwn_softc *sc, int macid, uint32_t rates,
|
|||
|
||||
/* Set rates mask for unicast frames. */
|
||||
if (RTWN_RATE_IS_HT(maxrate))
|
||||
mode = R92C_RAID_11GN;
|
||||
mode = R92C_RAID_11BGN;
|
||||
else if (RTWN_RATE_IS_OFDM(maxrate))
|
||||
mode = R92C_RAID_11BG;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue