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: 10307271 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 36865600CC for ; Mon, 26 Mar 2018 07:35:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21A382955F for ; Mon, 26 Mar 2018 07:35:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 152F329561; Mon, 26 Mar 2018 07:35:00 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 982032955F for ; Mon, 26 Mar 2018 07:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=76Oy0eZS5G93UpR71YYHTY3hqBSxKPTsPo7g697Fvlw=; b=mxT U4Rp16XtCGkS0htbuF45mZt3+zph3eU38pF/XEegqgP278CoKAn25nMUtOTCPVCD6aHtXieDt8r1k njATNqC4SpXq3wANcQMbaN3KQ1cpmVrExHBavNucXhJ4HM9RQDRHuk+vayRTg4MktsB7uLnJe/tmR ga7bJdqT8xB5YGet6Nmo8T0rc/UPZAdlEUrd0rMECdvNFXUuzmMZ3g6tqhrK1NB9AZpQmHOJp3S/b VglKWSYdvNSk4JJrGzx7leqd2q7urfKTk6agrHBOvFfMDpR6L4DApg6WmWVAbL/Vp+vgBvLc5cRM3 Ks0e/84qeaAfWZ1Pt4OOLnAn/a70fzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0Mec-0007E3-OY; Mon, 26 Mar 2018 07:34:54 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0Mea-0007Ab-7h for ath10k@lists.infradead.org; Mon, 26 Mar 2018 07:34:53 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 606B9606DB; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180326_003452_298446_6F8DEADB X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sathishkumar Muruganandam , linux-wireless@vger.kernel.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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;