iwlwifi: mvm: support TX on MONITOR iface
authorLiad Kaufman <liad.kaufman@intel.com>
Mon, 15 May 2017 15:26:33 +0000 (18:26 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 23 Jun 2017 09:27:52 +0000 (12:27 +0300)
commit6d759b02f4121595bf4212662e73c26573dab61a
treefe7454bda14fc15a1fcc86129593483230e1ae26
parentc00ee467b3bf73c9505b1ea308a263ae3c5aab5d
iwlwifi: mvm: support TX on MONITOR iface

When trying to TX through a monitor interface, the
conditions in iwl_mvm_tx_skb_non_sta() don't match
and the frame tries to go out from an usued TXQ.

Add a check for monitor iface, and use the AUX queue
in such a case.

In non-DQA mode the frame is sent through the
static-allocated queues anyway, so the problem is
in DQA mode only.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c