diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-02-10 17:15:12 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2021-02-11 01:52:10 +0200 |
commit | edba17ad85bbe4e04d39f03285ae11ecb365ddec (patch) | |
tree | da1a6e1f2ede2f2c0de097cdc0d825e4632198eb /drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c | |
parent | eebe75d1659cbbbcf71b5728441d871e4d5a0e3a (diff) | |
download | linux-edba17ad85bbe4e04d39f03285ae11ecb365ddec.tar.gz linux-edba17ad85bbe4e04d39f03285ae11ecb365ddec.tar.bz2 linux-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 <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210171218.50d11cbb073f.Ia44d022a4c549eb5fe0254fb20c62aa8d0bba634@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c | 2 |
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; |