diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-11-22 23:10:39 +0300 |
---|---|---|
committer | Gregory Greenman <gregory.greenman@intel.com> | 2022-11-28 18:53:31 +0300 |
commit | 3f44d44f0685778e8b07e52dc1959dd40f1ba964 (patch) | |
tree | 5163dd437c157baeabf1cb985484dd9d8bb35bad /drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | |
parent | 35ea5f619480e81efb652c8e1cab5fd1a3964ae3 (diff) | |
download | linux-3f44d44f0685778e8b07e52dc1959dd40f1ba964.tar.xz |
wifi: iwlwifi: nvm-parse: support A-MPDU in EHT 2.4 GHz
We support large A-MPDU in EHT in 2.4 GHz, so add the right
bits for that in the EHT capabilities.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20221122220713.3e7449760415.Id394d7fd0acaca48d429feccda4e66dbadaab993@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c index b59e61a76b70..3a646bce7b42 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c @@ -871,6 +871,9 @@ iwl_nvm_fixup_sband_iftd(struct iwl_trans *trans, case NL80211_BAND_2GHZ: iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G; + iftype_data->eht_cap.eht_cap_elem.mac_cap_info[0] |= + u8_encode_bits(IEEE80211_EHT_MAC_CAP0_MAX_MPDU_LEN_11454, + IEEE80211_EHT_MAC_CAP0_MAX_MPDU_LEN_MASK); break; case NL80211_BAND_6GHZ: if (!is_ap || iwlwifi_mod_params.nvm_file) |