From ec4b2a97ad0c1619dcc764d1ccb6dc4bae54f24a Mon Sep 17 00:00:00 2001 From: "Poddar, Siddarth" Date: Tue, 26 Dec 2017 14:46:46 +0530 Subject: [PATCH] qcacmn: Add new data stall event for no TXRX post tim Add a new data stall event which will be triggered by FW when there is no exchange of frames post TIM and the STA will keep on extending the ITO waiting for the rogue AP to send a frame. Change-Id: Ic97ab1036a12a20b174fa433e4a06ce0e9b4c308 CRs-Fixed: 2163316 --- dp/inc/cdp_txrx_cmn_struct.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index 5a5cc8125a26..b5ce96edbfd8 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -671,6 +671,7 @@ enum data_stall_log_event_indicator { * @DATA_STALL_LOG_FW_RX_FCS_LEN_ERROR * @DATA_STALL_LOG_FW_WDOG_ERRORS * @DATA_STALL_LOG_BB_WDOG_ERROR + * @DATA_STALL_LOG_POST_TIM_NO_TXRX_ERROR * @DATA_STALL_LOG_HOST_STA_TX_TIMEOUT * @DATA_STALL_LOG_HOST_SOFTAP_TX_TIMEOUT * @DATA_STALL_LOG_NUD_FAILURE @@ -686,7 +687,9 @@ enum data_stall_log_event_type { DATA_STALL_LOG_FW_RX_FCS_LEN_ERROR, DATA_STALL_LOG_FW_WDOG_ERRORS, DATA_STALL_LOG_BB_WDOG_ERROR, - DATA_STALL_LOG_HOST_STA_TX_TIMEOUT, + DATA_STALL_LOG_POST_TIM_NO_TXRX_ERROR, + /* Stall events triggered by host/framework start from 0x100 onwards. */ + DATA_STALL_LOG_HOST_STA_TX_TIMEOUT = 0x100, DATA_STALL_LOG_HOST_SOFTAP_TX_TIMEOUT, DATA_STALL_LOG_NUD_FAILURE, };