diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2024-05-22 05:38:30 +0300 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-05-27 11:51:42 +0300 |
commit | 85e02a0aee586d031c3804de488e67daf8e16f9f (patch) | |
tree | 1fde09b6bbe5670c608f0a73223ce21c4855e57b /drivers/net/wireless/realtek/rtw89/txrx.h | |
parent | f12fc2065647f8032fef2b43ad17843fc82ef456 (diff) | |
download | linux-85e02a0aee586d031c3804de488e67daf8e16f9f.tar.xz |
wifi: rtw89: add LDPC and STBC to rx_status and radiotap known fields for monitor mode
Add LDPC and STBC to rx_status by hardware PPDU status, and set them as
known fields of radiotap, so we can check these capabilities in monitor
mode.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240522023830.9798-2-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/txrx.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/txrx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/txrx.h b/drivers/net/wireless/realtek/rtw89/txrx.h index 11049a50de2c..3882938c0893 100644 --- a/drivers/net/wireless/realtek/rtw89/txrx.h +++ b/drivers/net/wireless/realtek/rtw89/txrx.h @@ -558,6 +558,8 @@ struct rtw89_phy_sts_ie0 { #define RTW89_PHY_STS_IE01_W2_AVG_SNR GENMASK(5, 0) #define RTW89_PHY_STS_IE01_W2_EVM_MAX GENMASK(15, 8) #define RTW89_PHY_STS_IE01_W2_EVM_MIN GENMASK(23, 16) +#define RTW89_PHY_STS_IE01_W2_LDPC BIT(28) +#define RTW89_PHY_STS_IE01_W2_STBC BIT(30) enum rtw89_tx_channel { RTW89_TXCH_ACH0 = 0, |