summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorBitterblue Smith <rtl8821cerfe2@gmail.com>2024-10-23 17:13:45 +0300
committerPing-Ke Shih <pkshih@realtek.com>2024-10-29 07:01:42 +0300
commit57289d30cd2ae315ab9b28213d63d1dbf8570cf3 (patch)
tree1c9df61cf0ca1c9281d8e70004d05650c7a933eb /rust/helpers/task.c
parent85bf3041a0ea40a60b5295749268e179f056546a (diff)
downloadlinux-57289d30cd2ae315ab9b28213d63d1dbf8570cf3.tar.xz
wifi: rtw88: Detect beacon loss with chips other than 8822c
The driver is supposed to avoid entering LPS (power saving) when there is beacon loss, but only RTL8822C detects the beacon loss (because it has beacon filtering in the firmware). Detect beacon loss with the other chips by checking if we received less than half the expected number of beacons in the last 2-second interval. This gets rid of the occasional "failed to get tx report from firmware" warnings with RTL8821AU. It may also avoid some disconnections. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/f52b2fcf-bf94-48bc-89bd-e55ebc3a2f2d@gmail.com
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions