iwlwifi: pcie: allow sending pre-built A-MSDUs
authorEliad Peller <eliadx.peller@intel.com>
Tue, 13 Feb 2018 16:41:46 +0000 (18:41 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Apr 2018 12:18:07 +0000 (15:18 +0300)
commitbf1ad8978bbfd8579dfd10d2e7742d0f554e449a
treead263c2cc270d48133326c0e4482815f43156004
parent4efc272a45c112bf539da14d480be0448abe4fac
iwlwifi: pcie: allow sending pre-built A-MSDUs

In case of A-MSDUs, the trans layer is taking care of building
the subframes (out of the given skb), according to the given gso_size.

However, in some testing flows, we want to build the whole A-MSDU
frame in a different place (e.g. userspace), and ask the driver
to send it as-is.

In case of gso_size==0, simply treat the frame as normal-frame,
although the A-MSDU flag is set.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx.c