iwlwifi: mvm: don't assume static queue numbers
authorSara Sharon <sara.sharon@intel.com>
Mon, 9 Jan 2017 10:07:16 +0000 (12:07 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 11 Apr 2017 11:54:36 +0000 (14:54 +0300)
commit49f7171382b55f74f84e5c2dfceca0ed3d1ac3f2
treec92ba3164993401b7be17673009a41d50882acaa
parent9c36fd711c4340fff922f8a541199a67fd027e9b
iwlwifi: mvm: don't assume static queue numbers

In a000 devices FW will assign the queue number. Prepare for
that by getting rid of static defines and store them in variables.
Enlarge to u16 since we may have up to 512 queues.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c