iwlwifi: fix max_ht_ampdu_exponent for older devices
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 23 Feb 2015 00:40:07 +0000 (02:40 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 25 Feb 2015 08:39:19 +0000 (10:39 +0200)
commit540623caa6c769d9d19e6044949f5fa2fe1a33a6
tree97eb8e725a37280b9f5264e4834f1523ee31ad4d
parentc9faccc9d2febc106994fc605c3957214973cc0f
iwlwifi: fix max_ht_ampdu_exponent for older devices

The commit below didn't update the max_ht_ampdu_exponent
for the devices listed in iwl-[1-6]000.c which, in result,
became 0 instead of 8K. This reduced the size of the Rx
AMPDU from 64K to 8K which had an impact in the Rx
throughput. One user reported that because of this, his
downstream throughput droppped by a half.

CC: <stable@vger.kernel.org> [3.19]
Fixes: c064ddf318aa ("iwlwifi: change max HT and VHT A-MPDU exponent")
Reported-and-tested-by: Valentin Manea <linux-wireless@mrs.ro>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-1000.c
drivers/net/wireless/iwlwifi/iwl-2000.c
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-6000.c