iwlwifi: mvm: don't send an A-MSDU that is larger than the TXF
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 11 Nov 2015 09:37:02 +0000 (11:37 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 20:00:03 +0000 (22:00 +0200)
commit50b0213fdb830e21ed64375230c3271b21bb584a
tree40f75de9432139dcba7d4e8b3cefc27f79e95771
parent04e3a5da6b73d7f01661288ead426986fa5312a1
iwlwifi: mvm: don't send an A-MSDU that is larger than the TXF

The A-MSDU must be smaller than the Transmit FIFO in the
device. Since the size of the TXF can change depending
on the device / firmware compilation mode, take the size
of the FIFO dynamically from the what the firmware tells us.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c