iwlwifi: mvm: map cab_queue to different txq_id
authorSara Sharon <sara.sharon@intel.com>
Wed, 22 Feb 2017 17:35:10 +0000 (19:35 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 19:39:09 +0000 (22:39 +0300)
commite2af3fabedbfc84fcecc7337cd4f0f031a51fa63
tree82264e8f820e23eba59a099eb219d8fec41cef3f
parentd4a7e708978af611a9c3a972bd4b7f877022f98b
iwlwifi: mvm: map cab_queue to different txq_id

cab_queue can now get bigger than u8, since in TVQM we will support
512 queues..
Support it by maintaining internal mapping between the actual number
and mac80211 queue (IWL_MVM_DQA_GCAST_QUEUE).
For pre-a000 the internal queue will be the same as the mac80211
queue.

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