]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw88: Report the signal strength only if it's known
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 22 Oct 2024 17:20:26 +0000 (20:20 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 29 Oct 2024 03:37:52 +0000 (11:37 +0800)
commit47f754b3f838205f3b25c4839f74801d180995bf
treeaa574a99154c5d5d158344e76071e8a5dae3eaba
parent94318a40033ee04ed2f59716d27d97bd9b03a62e
wifi: rtw88: Report the signal strength only if it's known

RTL8811CU doesn't report the signal strength for many (any?) data
frames. When the signal strength is not known, set
RX_FLAG_NO_SIGNAL_VAL in order to avoid reporting a signal
strength of 0.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/f7e1e448-2c9b-498f-b8b1-a14dd967d7d3@gmail.com
drivers/net/wireless/realtek/rtw88/rx.c