wifi: rtw88: usb: Update the RX stats after every frame
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Wed, 7 Aug 2024 22:20:36 +0000 (01:20 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 9 Aug 2024 01:12:37 +0000 (09:12 +0800)
commit38ea04a79ad0f8cc30bb5e9ad98d665e4ae5060c
tree38f3794af2fcf4ea01eda002a0baf0d2e03f9e6d
parentfbbd8cb347e25b68d25c4f3871821afc495ee7a9
wifi: rtw88: usb: Update the RX stats after every frame

Update the number of received unicast data frames and bytes every time
a frame is received. This is what the PCI and SDIO drivers do.

This has an influence on the power saving, bluetooth coexistence, and
(in a future patch) the use of RX aggregation.

Tested with RTL8822CU, RTL8811CU, and RTL8723DU.

Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/75a2ca52-8f01-45c5-926f-d3a68ae3b284@gmail.com
drivers/net/wireless/realtek/rtw88/usb.c