]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:49 +0000 (16:29 +0200)
commitd71300d07f398f0db3b85dd3a59a3b5974a353a9
treeb68b34386373294835e357721138b3261bfaff6a
parent9ecd9d7ad7f08ec2a2cf16caa60ca2d9311b863f
wifi: rtw88: Fix USB/SDIO devices not transmitting beacons

commit faa2e484b393c56bc1243dca6676a70bc485f775 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtw88/fw.c