OSDN Git Service

wifi: iwlwifi: nvm-parse: add full BW UL MU-MIMO support
authorJohannes Berg <johannes.berg@intel.com>
Sun, 16 Apr 2023 12:47:25 +0000 (15:47 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 17 Apr 2023 07:53:23 +0000 (09:53 +0200)
For some devices, in client mode, we support full bandwidth
uplink multi-user MIMO. Add the necessary capability.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230416154301.88b6aac6c876.Ibf2a7a38d7a172c371c347c9d4441e8c656cefe3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c

index 92a79df..7dcb1c3 100644 (file)
@@ -938,6 +938,10 @@ iwl_nvm_fixup_sband_iftd(struct iwl_trans *trans,
                }
        }
 
+       if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210 && !is_ap)
+               iftype_data->he_cap.he_cap_elem.phy_cap_info[2] |=
+                       IEEE80211_HE_PHY_CAP2_UL_MU_FULL_MU_MIMO;
+
        switch (CSR_HW_RFID_TYPE(trans->hw_rf_id)) {
        case IWL_CFG_RF_TYPE_GF:
        case IWL_CFG_RF_TYPE_MR: