iwlwifi: mvm: fix RX mpdu status enum
authorAyala Beker <ayala.beker@intel.com>
Wed, 1 Jun 2016 08:46:20 +0000 (11:46 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 5 Jul 2016 22:18:43 +0000 (01:18 +0300)
FW sets status for each RX packet.
Enum in the driver doesn't match with FW definition - fix it.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rx.h

index 1994331593cfb89bd664d28868790641437e3ede..acc5cd53e4baa40d9342f09791a09583277b8f6e 100644 (file)
@@ -296,7 +296,7 @@ enum iwl_rx_mpdu_status {
        IWL_RX_MPDU_STATUS_OVERRUN_OK           = BIT(1),
        IWL_RX_MPDU_STATUS_SRC_STA_FOUND        = BIT(2),
        IWL_RX_MPDU_STATUS_KEY_VALID            = BIT(3),
-       IWL_RX_MPDU_STATUS_KEY_ERROR            = BIT(4),
+       IWL_RX_MPDU_STATUS_KEY_PARAM_OK         = BIT(4),
        IWL_RX_MPDU_STATUS_ICV_OK               = BIT(5),
        IWL_RX_MPDU_STATUS_MIC_OK               = BIT(6),
        IWL_RX_MPDU_RES_STATUS_TTAK_OK          = BIT(7),
@@ -311,7 +311,7 @@ enum iwl_rx_mpdu_status {
        IWL_RX_MPDU_STATUS_WEP_MATCH            = BIT(12),
        IWL_RX_MPDU_STATUS_EXT_IV_MATCH         = BIT(13),
        IWL_RX_MPDU_STATUS_KEY_ID_MATCH         = BIT(14),
-       IWL_RX_MPDU_STATUS_KEY_COLOR            = BIT(15),
+       IWL_RX_MPDU_STATUS_ROBUST_MNG_FRAME     = BIT(15),
 };
 
 enum iwl_rx_mpdu_hash_filter {