From patchwork Mon Mar 26 07:34:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sathishkumar Muruganandam X-Patchwork-Id: 10307269 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D142600CC for ; Mon, 26 Mar 2018 07:34:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0725C2955F for ; Mon, 26 Mar 2018 07:34:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBDAF29563; Mon, 26 Mar 2018 07:34:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E2152955F for ; Mon, 26 Mar 2018 07:34:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751074AbeCZHem (ORCPT ); Mon, 26 Mar 2018 03:34:42 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48074 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbeCZHem (ORCPT ); Mon, 26 Mar 2018 03:34:42 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9273E602BA; Mon, 26 Mar 2018 07:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522049681; bh=yLvPHk5WqRZb+d4S42PAXxqYAw7wzNpCF5GoHYz8sDQ=; h=From:To:Cc:Subject:Date:From; b=Rz2azmamtrglWkjLyHFo0QKhd+W6HTCot7J4HtdHGQLZVrba0n5Xx7P7XTEoPkzgC wMu5BR/3d2sJI/2wl3tuTG5PJB5pSzToNLzucLCkPLvMOUdmJtP7H+8fYGN9d1AkPp FwbmIQNFGBiB74NIs52m8LETOVub5YNxb/MXyNWc= Received: from checstp218953-lin.qca.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: murugana@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C374A60251; Mon, 26 Mar 2018 07:34:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522049681; bh=yLvPHk5WqRZb+d4S42PAXxqYAw7wzNpCF5GoHYz8sDQ=; h=From:To:Cc:Subject:Date:From; b=Rz2azmamtrglWkjLyHFo0QKhd+W6HTCot7J4HtdHGQLZVrba0n5Xx7P7XTEoPkzgC wMu5BR/3d2sJI/2wl3tuTG5PJB5pSzToNLzucLCkPLvMOUdmJtP7H+8fYGN9d1AkPp FwbmIQNFGBiB74NIs52m8LETOVub5YNxb/MXyNWc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C374A60251 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=murugana@codeaurora.org From: Sathishkumar Muruganandam To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Sathishkumar Muruganandam Subject: [PATCH] ath10k: Suppress "Unknown eventid: 36925" warnings Date: Mon, 26 Mar 2018 13:04:01 +0530 Message-Id: <1522049641-19521-1-git-send-email-murugana@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP FW has Smart Logging feature enabled by default for detecting failures and processing FATAL_CONDITION_EVENTID (36925 - 0x903D) back to host. Since ath10k doesn't implement the Smart Logging and FATAL CONDITION EVENT processing yet, suppressing the unknown event ID warning by moving this under ATH10K_DBG_WMI. Simulated the same issue by having associated STA powered off when ping flood was running from AP backbone. This triggerd STA KICKOUT in AP followed by FATAL CONDITION event 36925. Issue was reproduced and verified in below DUT ------------------------------------------------ AP mode of OpenWRT QCA9984 running 6.0.8 with FW ver 10.4-3.5.3-00053 Signed-off-by: Sathishkumar Muruganandam --- drivers/net/wireless/ath/ath10k/wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 58dc2189ba49..ace181403739 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -5531,6 +5531,7 @@ static void ath10k_wmi_10_4_op_rx(struct ath10k *ar, struct sk_buff *skb) case WMI_10_4_WOW_WAKEUP_HOST_EVENTID: case WMI_10_4_PEER_RATECODE_LIST_EVENTID: case WMI_10_4_WDS_PEER_EVENTID: + case WMI_10_4_DEBUG_FATAL_CONDITION_EVENTID: ath10k_dbg(ar, ATH10K_DBG_WMI, "received event id %d not implemented\n", id); break;