summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@outlook.com>2023-11-04 11:57:59 +0300
committerKalle Valo <kvalo@kernel.org>2023-11-08 21:14:10 +0300
commit570beb6285fd355904b22625da20809f477096c5 (patch)
treec8ac9db51840eab75fa15a294658fb176442e788 /drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
parentb1275cdd7456ef811747dfb4f3c46310ddd300cd (diff)
downloadlinux-570beb6285fd355904b22625da20809f477096c5.tar.xz
wifi: rt2x00: disable RTS threshold for rt2800 by default
rt2800 has a lot of registers to control the RTS enable/disable status for different rates. And the driver control them via rt2800_set_rts_threshold(). When RTS was disabled in user interface, this function won't be called at all. This means that the RTS is still 'on' for CCK and OFDM rates. So we'd better to disable them by default because it should be like this. The RTS for HT20 and HT40 is already default off so we don't need to touch them. If we toggle the RTS status, these register bits will be enable/disable again by rt2800_set_rts_threshold(). Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Acked-by: Stanislaw Gruszka <stf_xl@wp.pl> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/TYAP286MB03155DDB953155B7A2DE849ABCA4A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM
Diffstat (limited to 'drivers/net/wireless/ralink/rt2x00/rt2x00dev.c')
0 files changed, 0 insertions, 0 deletions