summaryrefslogtreecommitdiff
path: root/core/utils
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@codeaurora.org>2016-04-27 13:53:36 +0530
committerVishwajith Upendra <vishwaji@codeaurora.org>2016-06-23 12:26:41 -0700
commit7a995582d6c599b19227e79b24cfd9be39589244 (patch)
treebf8fe340c56de8bb207f81088ffa298048656c90 /core/utils
parent92b1fcaab9ecd3d29a32018041e3202da5e9634d (diff)
qcacld-3.0: Change struct of EVENT_WLAN_SECURITY diag event
qcacld-2.0 to qcacld-3.0 propagation Currently for diag event EVENT_WLAN_STATUS, diag structure only allocates 6 bytes for ssid, though ssid can be upto 32 bytes. Also for diag event EVENT_WLAN_SECURITY, event id is filled as PTK and GTK req/rsp for unicast and broadcast req/rsp. PTK,GTK request doesn't make sense for wep case. As a part of change, increase ssid size to 32 and replace PTK, GTK req/rsp event id with Unicast, Broadcast req/rsp respectively. Change-Id: I5aad1875262dd73878cc8393d09de1b23953d3a2 CRs-Fixed: 921847
Diffstat (limited to 'core/utils')
-rw-r--r--core/utils/host_diag_log/inc/host_diag_core_event.h4
-rw-r--r--core/utils/host_diag_log/inc/host_diag_event_defs.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/core/utils/host_diag_log/inc/host_diag_core_event.h b/core/utils/host_diag_log/inc/host_diag_core_event.h
index c7cce228a80a..5e6d1ec62263 100644
--- a/core/utils/host_diag_log/inc/host_diag_core_event.h
+++ b/core/utils/host_diag_log/inc/host_diag_core_event.h
@@ -71,11 +71,11 @@ typedef struct {
} host_event_wlan_security_payload_type;
/*-------------------------------------------------------------------------
- Event ID: EVENT_WLAN_STATUS
+ Event ID: EVENT_WLAN_STATUS_V2
------------------------------------------------------------------------*/
typedef struct {
uint8_t eventId;
- uint8_t ssid[6];
+ uint8_t ssid[32];
uint8_t bssType;
uint8_t rssi;
uint8_t channel;
diff --git a/core/utils/host_diag_log/inc/host_diag_event_defs.h b/core/utils/host_diag_log/inc/host_diag_event_defs.h
index 6b658ba37b81..31846008e73d 100644
--- a/core/utils/host_diag_log/inc/host_diag_event_defs.h
+++ b/core/utils/host_diag_log/inc/host_diag_event_defs.h
@@ -54,6 +54,7 @@ typedef enum {
EVENT_WLAN_WAKE_LOCK = 0xAA2, /* 96 bytes payload */
EVENT_WLAN_BEACON_RECEIVED = 0xAA6, /* FW event: 2726 */
EVENT_WLAN_LOG_COMPLETE = 0xAA7, /* 16 bytes payload */
+ EVENT_WLAN_STATUS_V2 = 0xAB3,
EVENT_WLAN_TDLS_TEARDOWN = 0xAB5,
EVENT_WLAN_TDLS_ENABLE_LINK = 0XAB6,
EVENT_WLAN_SUSPEND_RESUME = 0xAB7,