Browse Source

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
Poddar, Siddarth 7 năm trước cách đây
mục cha
commit
ec4b2a97ad
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      dp/inc/cdp_txrx_cmn_struct.h

+ 4 - 1
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,
 };