]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iwlwifi: mvm: honor the max_amsdu_subframes limit
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 17 May 2018 07:44:20 +0000 (10:44 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 30 May 2018 06:55:34 +0000 (09:55 +0300)
commit5dd9f6c703e8161bf69fb9d004528bfb639548ce
tree6f7cde9cbc8760037b9e4d6b5ccb354c429ef3be
parentd94c5a820d107fdde711ec72c16848876027713d
iwlwifi: mvm: honor the max_amsdu_subframes limit

A peer can limit the number of subframes it can handle in a
single A-MSDU.  Honor this limit.

Note that the smallest limit is 8, and we are very unlikely to reach
that limit. So this isn't really a big deal.

Fixes: a6d5e32f247c ("iwlwifi: mvm: send large SKBs to the transport")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c