iwlwifi: refactor txq_alloc for supporting more command type
authorGolan Ben Ami <golan.ben.ami@intel.com>
Tue, 3 Apr 2018 15:37:51 +0000 (18:37 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:41 +0000 (11:38 +0300)
commit1169310fa9a8d8a1fc94e406643444cac30ad8b1
treeb40eb5cf1246001db291b05b37d0a0f037ed40f4
parent764f9de5027149518b1633e5846b21b9fb882363
iwlwifi: refactor txq_alloc for supporting more command type

Support more txq_alloc command types by moving the command declaration
to the gen specific area.  While at it, move some of the code segments
to a common place for re-use.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c