]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtl8xxxu: Report the signal strength only if it's known
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Thu, 9 Oct 2025 11:52:39 +0000 (14:52 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 21 Oct 2025 06:44:22 +0000 (14:44 +0800)
commit7aeb8c118ef9c7a19ca9c22a2984f1d6653eff84
tree71d74119635caee06d7cf70cef5b7a5ec9dbc466
parent8b795fe42927c2df83b5dbc528e610ab662b1024
wifi: rtl8xxxu: Report the signal strength only if it's known

These chips don'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.

Tested with RTL8192FU and RTL8192CU.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/cdbe1a18-f6f1-4575-bad9-e85db8101247@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/core.c