summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/wifilogger_event_defs.h
diff options
context:
space:
mode:
authorSubhani Shaik <subhanis@codeaurora.org>2016-01-21 15:46:17 +0530
committerSubhani Shaik <subhanis@codeaurora.org>2016-02-03 11:24:12 -0800
commit88cbe6ae7236cae11e2a66a4a5115ecd8545f811 (patch)
tree1fd4b0cae3e1d757d7d1f2b3fd5153bb5de6787c /qcwcn/wifi_hal/wifilogger_event_defs.h
parentaea1153a84bcab539eeb6400a465a036ddc846fd (diff)
downloadwlan-88cbe6ae7236cae11e2a66a4a5115ecd8545f811.tar.gz
WiFi-HAL: Support for timeout and resource failure events
Add support for below events, 1. Authentication timeout 2. Association timeout 3. Resource allocation failure Driver sends these events with associated information. Update the same to connectivity ring buffer.
Diffstat (limited to 'qcwcn/wifi_hal/wifilogger_event_defs.h')
-rw-r--r--qcwcn/wifi_hal/wifilogger_event_defs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/wifilogger_event_defs.h b/qcwcn/wifi_hal/wifilogger_event_defs.h
index 575f9ac..3f2d807 100644
--- a/qcwcn/wifi_hal/wifilogger_event_defs.h
+++ b/qcwcn/wifi_hal/wifilogger_event_defs.h
@@ -63,6 +63,7 @@ typedef enum {
EVENT_WLAN_EXTSCAN_RESULTS_AVAILABLE = 0xAA4,
EVENT_WLAN_BEACON_EVENT = 0xAA6,
EVENT_WLAN_LOG_COMPLETE = 0xAA7,
+ EVENT_WLAN_LOW_RESOURCE_FAILURE = 0xABB,
EVENT_MAX_ID = 0x0FFF
} event_id_enum_type;
@@ -149,6 +150,8 @@ typedef enum
WLAN_PE_DIAG_ROAM_ASSOC_COMP_EVENT,
WLAN_PE_DIAG_SCAN_COMP_EVENT,
WLAN_PE_DIAG_SCAN_RES_FOUND_EVENT,
+ WLAN_PE_DIAG_ASSOC_TIMEOUT,
+ WLAN_PE_DIAG_AUTH_TIMEOUT,
} wlan_host_diag_event_type;
typedef struct wlan_pe_event {
@@ -449,4 +452,14 @@ typedef struct {
u8 fInitiator;
} __attribute__((packed)) wlan_add_block_ack_failed_payload_type;
+typedef enum
+{
+ WIFI_EVENT_MEMORY_FAILURE,
+} resource_failure_type;
+
+typedef struct wlan_low_resource_failure_event
+{
+ resource_failure_type event_sub_type;
+} __attribute__((packed)) wlan_low_resource_failure_event_t;
+
#endif /* WIFILOGGER_EVENT_DEFS_H */