aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-02-10 15:15:12 +0000
committerLuca Coelho <[email protected]>2021-02-10 23:52:10 +0000
commitedba17ad85bbe4e04d39f03285ae11ecb365ddec (patch)
treeda1a6e1f2ede2f2c0de097cdc0d825e4632198eb /drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c
parentiwlwifi: remove max_vht_ampdu_exponent config parameter (diff)
downloadkernel-edba17ad85bbe4e04d39f03285ae11ecb365ddec.tar.gz
kernel-edba17ad85bbe4e04d39f03285ae11ecb365ddec.zip
iwlwifi: remove max_ht_ampdu_exponent config parameter
This always has the same value, since we don't have any devices with different values; remove the parameter. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20210210171218.50d11cbb073f.Ia44d022a4c549eb5fe0254fb20c62aa8d0bba634@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c
index 43a04bc50774..f12b86563728 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c
@@ -715,7 +715,7 @@ void iwl_init_ht_hw_capab(struct iwl_trans *trans,
iwlwifi_mod_params.amsdu_size >= IWL_AMSDU_8K)
ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU;
- ht_info->ampdu_factor = cfg->max_ht_ampdu_exponent;
+ ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_4;
ht_info->mcs.rx_mask[0] = 0xFF;