]> 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)
commitcbbd9d1776babc2b581c270522650aa6bba6a7ed
tree40f75de9432139dcba7d4e8b3cefc27f79e95771
parent50d4e366d2bb77c1628a329b63139f9fde03c8a1
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