]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: send large SKBs to the transport
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 14 Oct 2015 13:28:52 +0000 (16:28 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 20:00:00 +0000 (22:00 +0200)
commit0e9e5bb7154a0caa67a24de9f75cb794f8a6b17d
tree55610335918ef9ff0d4b7ce0a832e2f88e796323
parent1bd79e8d832f2ce6e7e52941b4e13c9bd82bc1fb
iwlwifi: mvm: send large SKBs to the transport

Now that PCIe knows how to create A-MSDUs, use this
capability and prepare SKBs that are large enough to
build an A-MSDU.
Advertise TSO support towards the network stack and
segment the packet with gso_size set to be the maximal
A-MSDU length (after having taken the headers to be added
into account) to make sure that the skb that is passed
down to the transport are not longer than the maximal
A-MSDU allowed.

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