]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf333d5358a2ee5ec51b8dbe8cc1457a4d9640aa
tree40f75de9432139dcba7d4e8b3cefc27f79e95771
parentebe1dd2d96fd1956b748c2ad2510248eca77e557
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