iwlwifi: mvm: set HCMD_NAME for PHY_DB as well
authorSara Sharon <sara.sharon@intel.com>
Wed, 31 Aug 2016 16:03:01 +0000 (19:03 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 19 Sep 2016 08:29:33 +0000 (11:29 +0300)
Currently it is logged as UNKNOWN.
Also, 0x6c seems to be the permanent ID for this command, remove
incorrect comment and uncomment the command from the commands
list.

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

index 7beba9ae56176a821e7b5f7f49ea7022dcabc303..2893826d7d2b0b393694aaddd5387d64bf76e4cc 100644 (file)
@@ -110,7 +110,7 @@ enum iwl_phy_db_section_type {
        IWL_PHY_DB_MAX
 };
 
-#define PHY_DB_CMD 0x6c /* TEMP API - The actual is 0x8c */
+#define PHY_DB_CMD 0x6c
 
 /*
  * phy db - configure operational ucode
index fdd9506e10cdd2f19479473f218e797e553aba1b..97633690f3d5c9664d562772b0206e7aed1c3d12 100644 (file)
@@ -205,7 +205,7 @@ enum {
        /* Phy */
        PHY_CONFIGURATION_CMD = 0x6a,
        CALIB_RES_NOTIF_PHY_DB = 0x6b,
-       /* PHY_DB_CMD = 0x6c, */
+       PHY_DB_CMD = 0x6c,
 
        /* ToF - 802.11mc FTM */
        TOF_CMD = 0x10,
index b2d8722cbb116736a7572eb006ce5a81f24671be..3eccd89b957049aa9bb64ae5ddf3ec72e2cf8c54 100644 (file)
@@ -359,6 +359,7 @@ static const struct iwl_hcmd_names iwl_mvm_legacy_names[] = {
        HCMD_NAME(BT_COEX_CI),
        HCMD_NAME(PHY_CONFIGURATION_CMD),
        HCMD_NAME(CALIB_RES_NOTIF_PHY_DB),
+       HCMD_NAME(PHY_DB_CMD),
        HCMD_NAME(SCAN_OFFLOAD_COMPLETE),
        HCMD_NAME(SCAN_OFFLOAD_UPDATE_PROFILES_CMD),
        HCMD_NAME(SCAN_OFFLOAD_CONFIG_CMD),