소스 검색

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 년 전
부모
커밋
ec4b2a97ad
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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,
 };