diff options
| author | Ping-Ke Shih <pkshih@realtek.com> | 2023-11-17 10:40:27 +0800 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2023-11-22 17:51:16 +0200 |
| commit | e102ff4b3579016361f092027782f1a3a7fa2055 (patch) | |
| tree | d9d2591415a92c4e1124a3f46c27989b8f3adf70 /drivers/net/wireless/realtek/rtw89/rtw8852c.h | |
| parent | f28eab6ae4ff016d01226364c9099d4eacffbb1a (diff) | |
| download | lwn-e102ff4b3579016361f092027782f1a3a7fa2055.tar.gz lwn-e102ff4b3579016361f092027782f1a3a7fa2055.zip | |
wifi: rtw89: 8852c: read RX gain offset from efuse for 6GHz channels
Read calibration values of RX gain offset from efuse, and set them to
registers to normalize RX gain for all hardware modules. Then, PHY dynamic
mechanism can get expected values to adjust hardware parameters to yield
expected performance.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231117024029.113845-5-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/rtw8852c.h')
| -rw-r--r-- | drivers/net/wireless/realtek/rtw89/rtw8852c.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852c.h b/drivers/net/wireless/realtek/rtw89/rtw8852c.h index ac642808a81f..77b05daedd10 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8852c.h +++ b/drivers/net/wireless/realtek/rtw89/rtw8852c.h @@ -73,9 +73,25 @@ struct rtw8852c_efuse { u8 bw40_1s_tssi_6g_a[TSSI_MCS_6G_CH_GROUP_NUM]; u8 rsvd14[10]; u8 bw40_1s_tssi_6g_b[TSSI_MCS_6G_CH_GROUP_NUM]; - u8 rsvd15[110]; + u8 rsvd15[94]; + u8 rx_gain_6g_l0; + u8 rsvd16; + u8 rx_gain_6g_l1; + u8 rsvd17; + u8 rx_gain_6g_m0; + u8 rsvd18; + u8 rx_gain_6g_m1; + u8 rsvd19; + u8 rx_gain_6g_h0; + u8 rsvd20; + u8 rx_gain_6g_h1; + u8 rsvd21; + u8 rx_gain_6g_uh0; + u8 rsvd22; + u8 rx_gain_6g_uh1; + u8 rsvd23; u8 channel_plan_6g; - u8 rsvd16[71]; + u8 rsvd24[71]; union { struct rtw8852c_u_efuse u; struct rtw8852c_e_efuse e; |
