wifi: rtw89: Update EHT PHY beamforming capability
Adjust beamforming capabilities to accurately reflect the supported EHT features by WiFi 7 chip 8922A. It includes 1) Unset EHT CQI feedback and 16-subcarrier grouping. 2) Correct Beamformee SS value. 3) Enable partial and full bandwidth SU/MU feedback. Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240222064258.59782-3-pkshih@realtek.com
This commit is contained in:
parent
dc10daddfe
commit
6ebe995542
|
@ -3801,7 +3801,7 @@ static void rtw89_init_eht_cap(struct rtw89_dev *rtwdev,
|
|||
struct ieee80211_sta_eht_cap *eht_cap;
|
||||
struct rtw89_hal *hal = &rtwdev->hal;
|
||||
bool support_320mhz = false;
|
||||
int sts = 3;
|
||||
int sts = 8;
|
||||
u8 val;
|
||||
|
||||
if (chip->chip_gen == RTW89_CHIP_AX)
|
||||
|
@ -3845,18 +3845,16 @@ static void rtw89_init_eht_cap(struct rtw89_dev *rtwdev,
|
|||
eht_cap_elem->phy_cap_info[2] = 0;
|
||||
|
||||
eht_cap_elem->phy_cap_info[3] =
|
||||
IEEE80211_EHT_PHY_CAP3_NG_16_SU_FEEDBACK |
|
||||
IEEE80211_EHT_PHY_CAP3_NG_16_MU_FEEDBACK |
|
||||
IEEE80211_EHT_PHY_CAP3_CODEBOOK_4_2_SU_FDBK |
|
||||
IEEE80211_EHT_PHY_CAP3_CODEBOOK_7_5_MU_FDBK |
|
||||
IEEE80211_EHT_PHY_CAP3_TRIG_CQI_FDBK;
|
||||
IEEE80211_EHT_PHY_CAP3_TRIG_SU_BF_FDBK |
|
||||
IEEE80211_EHT_PHY_CAP3_TRIG_MU_BF_PART_BW_FDBK;
|
||||
|
||||
eht_cap_elem->phy_cap_info[4] =
|
||||
IEEE80211_EHT_PHY_CAP4_POWER_BOOST_FACT_SUPP |
|
||||
u8_encode_bits(1, IEEE80211_EHT_PHY_CAP4_MAX_NC_MASK);
|
||||
|
||||
eht_cap_elem->phy_cap_info[5] =
|
||||
IEEE80211_EHT_PHY_CAP5_NON_TRIG_CQI_FEEDBACK |
|
||||
u8_encode_bits(IEEE80211_EHT_PHY_CAP5_COMMON_NOMINAL_PKT_PAD_20US,
|
||||
IEEE80211_EHT_PHY_CAP5_COMMON_NOMINAL_PKT_PAD_MASK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue