OSDN Git Service

iwlwifi: mvm: support queue removal in ADD_STA hcmd
authorLiad Kaufman <liad.kaufman@intel.com>
Mon, 21 Sep 2015 12:14:23 +0000 (14:14 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:14:44 +0000 (22:14 +0300)
To indicate to the FW that a queue has been removed, an
existing flag in the ADD_STA HCMD (that hasn't been in use)
has been changed to indicate that a queue is being removed
from a STA.

Update this in the driver code.

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

index e896648..38b1d04 100644 (file)
@@ -173,7 +173,7 @@ enum iwl_sta_key_flag {
 
 /**
  * enum iwl_sta_modify_flag - indicate to the fw what flag are being changed
- * @STA_MODIFY_KEY: this command modifies %key
+ * @STA_MODIFY_QUEUE_REMOVAL: this command removes a queue
  * @STA_MODIFY_TID_DISABLE_TX: this command modifies %tid_disable_tx
  * @STA_MODIFY_TX_RATE: unused
  * @STA_MODIFY_ADD_BA_TID: this command modifies %add_immediate_ba_tid
@@ -183,7 +183,7 @@ enum iwl_sta_key_flag {
  * @STA_MODIFY_QUEUES: modify the queues used by this station
  */
 enum iwl_sta_modify_flag {
-       STA_MODIFY_KEY                          = BIT(0),
+       STA_MODIFY_QUEUE_REMOVAL                = BIT(0),
        STA_MODIFY_TID_DISABLE_TX               = BIT(1),
        STA_MODIFY_TX_RATE                      = BIT(2),
        STA_MODIFY_ADD_BA_TID                   = BIT(3),