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>
Thu, 12 Mar 2015 07:57:21 +0000 (09:57 +0200)
commit3c2d24a9147e4c041ce94be2d166afe89225ff93
treea5686c45f5c0e0300c45ecbd7fe5c9d5ea2f5a2a
parentaa5e18320788728476e84e2140aa736bc5525c87
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