iwlwifi: mvm: set sta_id in SCD_QUEUE_CONFIG cmd
authorLiad Kaufman <liad.kaufman@intel.com>
Mon, 31 Aug 2015 10:41:26 +0000 (13:41 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 5 Jul 2016 21:48:26 +0000 (00:48 +0300)
commit93f436e2c7feacb04a21bbfb984a7afd87fb4623
tree1b242b4deb40835704adcc0419ce419f43ffa287
parent42db09c1b0378e118b804d948a5bab6194721506
iwlwifi: mvm: set sta_id in SCD_QUEUE_CONFIG cmd

Set the correct sta_id in the SCD_QUEUE_CONFIG command sent
to the FW when enabling/disabling queues. This is needed in
DQA-mode to allow the FW to associate between queue and STA.

In case the queue isn't connected to a specific station but
rather is a static "generic" queue - the sta_id should be
set to 0x10 (max supported STA is 0x0f).

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