iwlwifi: mvm: consider ieee80211 station max amsdu value
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Sun, 28 Jul 2019 17:09:22 +0000 (20:09 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 25 Oct 2019 07:10:03 +0000 (10:10 +0300)
commitee4cce9b9d6421d037ffc002536b918fd7f4aff3
tree5b337a526b2d005a4c9fbbe3e0fc83900e9f51f5
parenteae7550b9d9c95fc84b430ecaeaef99bc71bbf5c
iwlwifi: mvm: consider ieee80211 station max amsdu value

debugfs amsdu_len sets only the max_amsdu_len for ieee80211 station
so take it into consideration while getting max amsdu

Fixes: af2984e9e625 ("iwlwifi: mvm: add a debugfs entry to set a fixed size AMSDU for all TX packets")
Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c