iwlwifi: advertise maximal MPDU length when Rx MQ is supported
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Apr 2016 13:44:42 +0000 (16:44 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 1 Jul 2016 13:51:22 +0000 (16:51 +0300)
commit4bdd4dfe7a893594a75ca324057f7010b1762bd2
treef6406d257235bac887dbfcde16c88c5c5a2b752f
parentaf5e964f3045b66f1cd720b9c5abd37e47e613e2
iwlwifi: advertise maximal MPDU length when Rx MQ is supported

The new hardware that supports multiple queue also
de-aggregates A-MSDUs. This means that we can advertise
the maximal size of A-MSDUs regardless of the receive
buffer's size.
In order to be able to forcefully use a lower A-MSDU size,
add a default value for the module parameter. Pre-9000
will have a default of 4K, and 9000 will have 12K.
Setting the amsdu_size module parameter to 4K will limit
the A-MSDU on 9000 as well.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/dvm/main.c
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c
drivers/net/wireless/intel/iwlwifi/iwl-modparams.h
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c