]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw88: 8812a: Mitigate beacon loss
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Wed, 23 Oct 2024 14:15:13 +0000 (17:15 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 29 Oct 2024 04:02:58 +0000 (12:02 +0800)
commitf9e0189cbc2d6447dde392944c769546cdf48140
tree5aefe1b16b252c05a846d3c200d11fdf2d807460
parentbfcee5ee924fc5f706d20f5dc31586ca47912304
wifi: rtw88: 8812a: Mitigate beacon loss

The RTL8812AU has a reception problem, maybe only in the 5 GHz band.
Sometimes, in some positions, it stops receiving anything even though
the distance to the AP is only ~3 meters and there are no obstacles.
Moving it a few centimeters fixes it.

Switch the initial gain to maximum coverage when there is beacon loss.
This only helps sometimes. This is similar to what the official driver
does.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/203f5043-4fe1-4f35-8b8f-d3b6f44e1fd9@gmail.com
drivers/net/wireless/realtek/rtw88/phy.c