From patchwork Wed Apr 29 23:51:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Kossifidis X-Patchwork-Id: 6299191 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0A30C9F373 for ; Wed, 29 Apr 2015 23:52:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E38E20160 for ; Wed, 29 Apr 2015 23:52:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53BA4201B4 for ; Wed, 29 Apr 2015 23:52:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751415AbbD2Xv7 (ORCPT ); Wed, 29 Apr 2015 19:51:59 -0400 Received: from mail-ig0-f176.google.com ([209.85.213.176]:34077 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbbD2Xv6 (ORCPT ); Wed, 29 Apr 2015 19:51:58 -0400 Received: by iget9 with SMTP id t9so950311ige.1 for ; Wed, 29 Apr 2015 16:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LlrHwUgVhUwDMXf4W5FPlY1E5AhH2yEZx3Q69ZwdEP8=; b=wJdWxH2jHlsWHi3Ejlcw8M3hEEwtavXFSOqfuvrxWmQB7klN8qMsDyDR74hjOpQr95 LMWzxflkcNOCgmmjf9Y/5W+VuYm4HzdqsBOjXVbr4v4VcWhX4iCdRqBz3duN9u/oyzaA fW7QSU4y4aJgl4MwD7rlytFI8WrXKKSAPg/TGX8f2YRIwh3qxBceNxI9ZP/S8m7FBwLW 7Df0fHZDTak9pICotRz92/Ffu/iTjf5RrQxuonDr3XMUAOq+lvF6k9ouIPfz+Fah5IPg lNHPejuUZFifu5pja0ggxunY+mPrGwkf6yosPsZc3mWjLok56fOrDSvb0qF9QGdOEOZu QzOA== X-Received: by 10.42.8.71 with SMTP id h7mr6345218ich.58.1430351517370; Wed, 29 Apr 2015 16:51:57 -0700 (PDT) Received: from cobra (rochester-wireless-nat.mayo.edu. [129.176.197.220]) by mx.google.com with ESMTPSA id 35sm401137ior.34.2015.04.29.16.51.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 16:51:56 -0700 (PDT) Received: by cobra (sSMTP sendmail emulation); Wed, 29 Apr 2015 23:51:55 +0000 From: "Nick Kossifidis" To: kvalo@codeaurora.org, ath9k-devel@qca.qualcomm.com Cc: linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org, adrian.chadd@gmail.com, Nick Kossifidis Subject: [PATCH 01/11] ath9k: Add a new debug flag for FFT spectral scan Date: Wed, 29 Apr 2015 23:51:12 +0000 Message-Id: <1430351482-59418-2-git-send-email-mickflemm@gmail.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1430351482-59418-1-git-send-email-mickflemm@gmail.com> References: <1430351482-59418-1-git-send-email-mickflemm@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP FFT spectral scan is a functionality that makes sense to have its own debug flag. Signed-off-by: Nick Kossifidis --- drivers/net/wireless/ath/ath.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 7e94810..65ef483 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h @@ -251,6 +251,7 @@ void ath_printk(const char *level, const struct ath_common *common, * @ATH_DBG_DFS: radar datection * @ATH_DBG_WOW: Wake on Wireless * @ATH_DBG_DYNACK: dynack handling + * @ATH_DBG_SPECTRAL_SCAN: FFT spectral scan * @ATH_DBG_ANY: enable all debugging * * The debug level is used to control the amount and type of debugging output @@ -280,6 +281,7 @@ enum ATH_DEBUG { ATH_DBG_WOW = 0x00020000, ATH_DBG_CHAN_CTX = 0x00040000, ATH_DBG_DYNACK = 0x00080000, + ATH_DBG_SPECTRAL_SCAN = 0x00100000, ATH_DBG_ANY = 0xffffffff };