]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw88: Fix USB/SDIO devices not transmitting beacons
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Wed, 21 Aug 2024 13:11:03 +0000 (16:11 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 2 Sep 2024 00:36:01 +0000 (08:36 +0800)
commitfaa2e484b393c56bc1243dca6676a70bc485f775
treeaca05c3e5f8fa2022db9d203aaa270eb8e31bf04
parentfef63150940c2aaa50721dde33d48f00ab510591
wifi: rtw88: Fix USB/SDIO devices not transmitting beacons

All USB devices supported by rtw88 have the same problem: they don't
transmit beacons in AP mode. (Some?) SDIO devices are also affected.
The cause appears to be clearing BIT_EN_BCNQ_DL of REG_FWHW_TXQ_CTRL
before uploading the beacon reserved page, so don't clear the bit for
USB and SDIO devices.

Tested with RTL8811CU and RTL8723DU.

Cc: <stable@vger.kernel.org> # 6.6.x
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/49de73b5-698f-4865-ab63-100e28dfc4a1@gmail.com
drivers/net/wireless/realtek/rtw88/fw.c