mac80211: ath10k: Suppress "Unknown eventid: 36925" warnings
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 082-ath10k-suppress-Unknown-eventid-36925-warnings.patch
1 From 606204bb863fa3b0bb54929d79b4dc46338f9180 Mon Sep 17 00:00:00 2001
2 From: Sathishkumar Muruganandam <murugana@codeaurora.org>
3 Date: Tue, 27 Mar 2018 11:26:46 +0300
4 Subject: [PATCH] ath10k: suppress "Unknown eventid: 36925" warnings
5
6 FW has Smart Logging feature enabled by default for detecting failures
7 and processing FATAL_CONDITION_EVENTID (36925 - 0x903D) back to host.
8
9 Since ath10k doesn't implement the Smart Logging and FATAL CONDITION
10 EVENT processing yet, suppressing the unknown event ID warning by moving
11 this under ATH10K_DBG_WMI.
12
13 Simulated the same issue by having associated STA powered off when
14 ping flood was running from AP backbone. This triggerd STA KICKOUT
15 in AP followed by FATAL CONDITION event 36925.
16
17 Issue was reproduced and verified in below DUT
18 ------------------------------------------------
19 AP mode of OpenWRT QCA9984 running 6.0.8 with FW ver 10.4-3.5.3-00053
20
21 Signed-off-by: Sathishkumar Muruganandam <murugana@codeaurora.org>
22 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
23 ---
24 drivers/net/wireless/ath/ath10k/wmi.c | 1 +
25 1 file changed, 1 insertion(+)
26
27 --- a/drivers/net/wireless/ath/ath10k/wmi.c
28 +++ b/drivers/net/wireless/ath/ath10k/wmi.c
29 @@ -5462,6 +5462,7 @@ static void ath10k_wmi_10_4_op_rx(struct
30 case WMI_10_4_WOW_WAKEUP_HOST_EVENTID:
31 case WMI_10_4_PEER_RATECODE_LIST_EVENTID:
32 case WMI_10_4_WDS_PEER_EVENTID:
33 + case WMI_10_4_DEBUG_FATAL_CONDITION_EVENTID:
34 ath10k_dbg(ar, ATH10K_DBG_WMI,
35 "received event id %d not implemented\n", id);
36 break;