diff options
author | Po-Hao Huang <phhuang@realtek.com> | 2024-07-24 07:05:01 +0200 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-08-02 03:08:10 +0200 |
commit | 53ed4b25a79aeec5991c2dc579e635b136ef7676 (patch) | |
tree | aad2f761f069a2a2b1f57e427f8027f22443c35c /drivers/net/wireless/realtek/rtw88/main.h | |
parent | wifi: rtw88: 8703b: Fix reported RX band width (diff) | |
download | linux-53ed4b25a79aeec5991c2dc579e635b136ef7676.tar.xz linux-53ed4b25a79aeec5991c2dc579e635b136ef7676.zip |
wifi: rtw88: 8822c: Parse channel from IE to correct invalid hardware reports
For CCK packets we could get incorrect reports from hardware.
And this causes wrong frequencies being reported. Parse the channel
information from IE if provided by AP to fix this.
Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240724050501.7550-1-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/main.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtw88/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw88/main.h b/drivers/net/wireless/realtek/rtw88/main.h index b60a0f840e13..12b564ad3a58 100644 --- a/drivers/net/wireless/realtek/rtw88/main.h +++ b/drivers/net/wireless/realtek/rtw88/main.h @@ -623,6 +623,7 @@ struct rtw_rx_pkt_stat { bool crc_err; bool decrypted; bool is_c2h; + bool channel_invalid; s32 signal_power; u16 pkt_len; |