wlbt: Fix for nl attribute index match for Batch-3 commands.
authorMohit Ghuley <mohit.ghuley@samsung.com>
Wed, 12 Aug 2020 20:23:51 +0000 (01:53 +0530)
committerYoungsoo Kim <youngss.kim@samsung.com>
Mon, 31 Aug 2020 04:37:47 +0000 (13:37 +0900)
Changes are done to match index of nl attribute
in scsc driver and wifi-hal.

Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
Change-Id: I02aaf2d93869cd7b83952032f741e853328e6114

wifi_logger.cpp

index 4ab5d740a14aeb3dbf32e54a56f3bfc1456d1bdd..bc1455a4a951f2d67732e22739ba11ac3e9edc40 100755 (executable)
@@ -47,7 +47,7 @@ typedef enum {
 } DEBUG_SUB_COMMAND;\r
 \r
 typedef enum {\r
-    ENHANCE_LOGGER_ATTRIBUTE_DRIVER_VER,\r
+    ENHANCE_LOGGER_ATTRIBUTE_DRIVER_VER = WIFI_HAL_ATTR_START,\r
     ENHANCE_LOGGER_ATTRIBUTE_FW_VER,\r
     ENHANCE_LOGGER_ATTRIBUTE_RING_ID,\r
     ENHANCE_LOGGER_ATTRIBUTE_RING_NAME,\r
@@ -65,6 +65,7 @@ typedef enum {
     ENHANCE_LOGGER_ATTRIBUTE_DRIVER_DUMP_DATA,\r
     ENHANCE_LOGGER_ATTRIBUTE_PKT_FATE_NUM,\r
     ENHANCE_LOGGER_ATTRIBUTE_PKT_FATE_DATA,\r
+    ENHANCE_LOGGER_ATTRIBUTE_MAX,\r
     //Attributes for data used by wake stats subcmd.\r
     ENHANCE_LOGGER_ATTRIBUTE_WAKE_STATS_INVALID = 0,\r
     ENHANCE_LOGGER_ATTRIBUTE_WAKE_STATS_TOTAL_CMD_EVENT_WAKE,\r
@@ -85,6 +86,7 @@ typedef enum {
     ENHANCE_LOGGER_ATTRIBUTE_WAKE_STATS_ICMP4_RX_MULTICAST_CNT,\r
     ENHANCE_LOGGER_ATTRIBUTE_WAKE_STATS_ICMP6_RX_MULTICAST_CNT,\r
     ENHANCE_LOGGER_ATTRIBUTE_WAKE_STATS_OTHER_RX_MULTICAST_CNT,\r
+    ENHANCE_LOGGER_ATTRIBUTE_WAKE_STATS_MAX\r
 } ENHANCE_LOGGER_ATTRIBUTE;\r
 \r
 typedef enum {\r