소스 검색

qcacld-3.0: Print delayed packet information

Currently there is no information of delayed
wakeup packets when APPS is resumed because
of delayed wakeup.

Add the support to print the number of delayed
packets buffered in FW when resume happens.

Change-Id: Id76347f87f3c440b793f5d3bcb11270db8bdf061
CRs-Fixed: 3307262
Asutosh Mohapatra 2 년 전
부모
커밋
511a53387d
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      core/wma/src/wma_features.c

+ 4 - 1
core/wma/src/wma_features.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -2753,6 +2753,9 @@ static int wma_wake_event_packet(
 
 	wake_info = event_param->fixed_param;
 
+	wma_debug("Number of delayed packets received = %d",
+		  wake_info->delayed_pkt_count);
+
 	switch (wake_info->wake_reason) {
 	case WOW_REASON_AUTH_REQ_RECV:
 	case WOW_REASON_ASSOC_REQ_RECV: