From patchwork Thu Jul 16 19:37:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Darbyshire-Bryant X-Patchwork-Id: 6810771 Return-Path: X-Original-To: patchwork-ath10k@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 57DD49F3A0 for ; Thu, 16 Jul 2015 19:38:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 798B920673 for ; Thu, 16 Jul 2015 19:38:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66BC32066E for ; Thu, 16 Jul 2015 19:38:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZFoz9-0003Rb-7w; Thu, 16 Jul 2015 19:38:23 +0000 Received: from mail-am1on0070.outbound.protection.outlook.com ([157.56.112.70] helo=emea01-am1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZFoz7-0003ER-CV for ath10k@lists.infradead.org; Thu, 16 Jul 2015 19:38:22 +0000 Received: from AM2PR07MB0932.eurprd07.prod.outlook.com (10.162.37.14) by AM2PR07MB0594.eurprd07.prod.outlook.com (10.160.33.16) with Microsoft SMTP Server (TLS) id 15.1.213.14; Thu, 16 Jul 2015 19:37:57 +0000 Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none; Received: from Gonzo.darbyshire-bryant.me.uk (151.226.12.52) by AM2PR07MB0932.eurprd07.prod.outlook.com (10.162.37.14) with Microsoft SMTP Server (TLS) id 15.1.219.17; Thu, 16 Jul 2015 19:37:56 +0000 From: Kevin Darbyshire-Bryant To: Subject: [PATCH] ath10k Suppress 'failed to process fft' warning messages. Date: Thu, 16 Jul 2015 20:37:24 +0100 Message-ID: <1437075444-6779-1-git-send-email-kevin@darbyshire-bryant.me.uk> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [151.226.12.52] X-ClientProxiedBy: HE1PR05CA0027.eurprd05.prod.outlook.com (25.162.181.37) To AM2PR07MB0932.eurprd07.prod.outlook.com (25.162.37.14) X-Microsoft-Exchange-Diagnostics: 1; AM2PR07MB0932; 2:C+E6wajnLr0FLJRUwxTmOszUPR/eJHxhVxvU3/9nliYp1CaocKoLE21lSMLSMRq+; 3:dwyB+B0JNfc7wiWKlF1wZSGGCjI9kftHukP+pthR2wMrsjmLg+hkRJylCfKw5Ykucu7JftQyc88MO/06aBoh4Nuu5fG8D2AlVffqcAgqycfb4cI9MoSNlnlh1tOEQF/GBwKEdJNoPD4s4QwJeKDUtQ==; 25:XLmEFLwwKZ2paeJH+sBweDvQ30tKqN0tZyfZfNq7XPEMhew59qHa0u0ebefMV82fa7HTVuZx6g/3fqZ+eRkEUac5nlYbfB1fPbFpqiVXKGWO/X5WXdk4uShnOMKWHZQyRv0kct/g/lBlTF7T53ncpM34WPPL4jV4Ovacl/Zfi1b8lruZCwPpRNrvxJzloblXQ2qqig34mlk00kGT6R1nhbnKlLNCU0DT6AUDLjtJAuK2yFxGc+7gVG3azwXmCVFzOSXcDSGewsZYyEaVUI2Q6w==; 4:Ekz2Y4NtJibgOJm4MMFGsaze5PNDjSzujTqT3kY2ZsE7KFcF26KIg3DdijDoST8tySQVCP8l56H+Gs7pf5KVY0t7X2JMJ/zIahnXdoFTiKCsmZ28RVoiTBKGa9v24QoQrFHGXY4otuhMTJY9ITRLk+6VcbrF3egNiItz32bRXF6VKe/b9cmHuQd2/UZeGx/RvR9jl6CLwhg3gWgi8Iebm69t30biVIs2g2/hHml1jX8wz0glUlmAY2drD8yJkjCxc8mH3soL8L9sIS1PiOeue/ByHhKsCzn6PtPdrvrcxe0= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:AM2PR07MB0932; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:AM2PR07MB0594; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:AM2PR07MB0932; BCL:0; PCL:0; RULEID:; SRVR:AM2PR07MB0932; X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(53416004)(86362001)(36756003)(33646002)(122386002)(229853001)(15975445007)(74482002)(40100003)(66066001)(77096005)(87976001)(47776003)(2351001)(50466002)(92566002)(50226001)(48376002)(46102003)(5001960100002)(19580405001)(107886002)(450100001)(189998001)(110136002)(19580395003)(50986999)(62966003)(77156002)(42186005)(5003940100001)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR07MB0932; H:Gonzo.darbyshire-bryant.me.uk; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM2PR07MB0932; 23:gBTPQz9Kqa3b9DZhmQN/+QZPzc+UxGMcSTGg3n/uvqVgstR8gIRMAbCdHFuWUEYXEG+aKc2Xc943ybtwI7hnZgRGQ46E7OisKTvViVtB4sUvTJdZLqiF1wqRtVEonJGNHzTFNYO5+8NRxIRNO8rIuyTUUVxMrtaU3uPj44lgwRM/mFXPYosZVFRQmwGzH23HChOTl2GWNh5egVt/XIZIT4im+pghvi3QFM5BtBAZUg91bT67qE717WObS3WNHhfX6PO5GUmlzckWq8dVIICJ2B9eOcvDiryMzZ1B2YbYtuVdCKUZvTsVIJCUX0p0fiBTN/HzrsOiGEF8NNbiHAqanObmSZVMuwzTQTUUpIHgVzYLugjj1DbTU4jKCowSDBy2MR3MDlG0KPC6Ei8SL+bxdzql7tFtAJgJ2fmFy7JMkQXnLDz1Mhfh+65R2zx8N/mvjkl3oyLkOKxsNQToPGa4m4A4AlOIwu/qhPWSqCziFgyUQ8KG4fnXWNDc9NDJqaWCQHJn6LZJVY3zB/ZUhZylwdsRGWMAath1SdtV+d9a8VHamG2prAFnapBBq7OpqXSJjvIQZr10spf0MuUwn1z5tzLIaIBEWsN+y4MQEqVft8X/S78+y30cdDAASYyAMKCAj5bQOtH/MIWPBwM9Zx3nf+ChJkm4P9r6ayMYZXm8U4ZZxhGImQ5s39HF5hL8v7tqMrwMBS8UYB73mholQko4GvPgETwqo7u4p4U8QsrnC8wSXHWK/2ZQly84MvbbM4uszwtV9a0XfoDoHhLjW8/bYUELq/ORCdsqNKdXGraEkGtvySz4PDEkVFPACBhfilZcm8wAlj9j4ZyuNgOhazTMzW1UpAMTWZpYF4VOhGN5YXWVMMgPHAh9HxZESspla+Ri2QJ8vKUfhzQi3sq2Ur+rTg== X-Microsoft-Exchange-Diagnostics: 1; AM2PR07MB0932; 5:hI3ZzAE9HPfEQfygF8n8rxFJLOE2CX9XhHoCfF6fN27PGuKktKh1OVngKO4wNczDRZBx5KKb+lrlsgyVyAgc9vtPAmkpU7ye/5hRa/xTDxOvePdgDBqWWMyOGZ4PbxR+3OyOTbt3auQh9YX6YVIf4A==; 24:8VF1a1xxRQhO1WJAIY5XVANJoOkOsnAMxjn21Qn/fgfCMwlYJM579mXJsNLChgXvqcA2c121NJBAzcWZGFJnoV34eLqeoJ9pRrDwDrRGKzY=; 20:thjLZ01tG/6f3Ke7urn7/AvpTaEyfimgVn9Iq6+nlTHPHxVzaI8+hN7fK7tr6IwuNN0lVsBRohh1ZCgVgajqog== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2015 19:37:56.4952 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR07MB0932 X-Microsoft-Exchange-Diagnostics: 1; AM2PR07MB0594; 2:bNZkzpE8uIDnFynI9jGIfPbwJIdhWUW4hqHgAXfPLxGXPNwSsc1qYiCBzwohx5jm; 3:Zd2GodSNRktLFk+9pfOEENwb4cm8RQmG5+L9eMkrvRulF9dV5kCLR+6pPaojLooPMF98cRezCkw9hBurZOQpVBZB1GrUOgbRUVjYgPUHOmIpr926ZnofegonyJUgfowNh/DApoczsP62/cKlmp2hEw==; 25:hr2SHlsVrEYZpqEKp5h/US79YnMBteOpZDHeXLcFSws8pcij3ymoiaqVO7zw4Fp8frnaaChg1byu8IjkTwkF6F0SW/mDWi9FCYOD8l5lkAPxUYhthEq1ZOcjM2/lKoKhtwdiVc4uiooiPBFJPEGXgLfInNp4Mfi9lGE7CqI714PmH/XQGX14ULk+UKe6YNYyvhVv6fGxVRVuYDVcg6e+HvZkWmqgGJZz/AUmLATm+aND/73M4iOqukmN65MKeZJn/k8gN78dSA8WNiU+ZbwZ1Q==; 23:MabNFHySukw4SS/n+VFzH89y9tnNdJsrM1BxVG5Y1FuVJf6zXw2y6TxFKjlX5W0bZibUHGuRVxVoD2kmRtj0Ir7xDhNRIs+i6Pd/dCsuZ6GqB+ZMU4BuOS8USCQeo3xS7kNbnEjvV0aZHbiJt/9P78/NjBh4RQyyh9aoGrStyPcHdbf7pDVj1ARdaCV9zMRWpNeQ+LH2O60c84uRQXbi5MMDzQ9ac8qsc2kfWX26MwyAzK0s/40pB/SBLxriHeI4 X-OriginatorOrg: darbyshire-bryant.me.uk X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150716_123821_738711_49BF2854 X-CRM114-Status: UNSURE ( 4.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Darbyshire-Bryant Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 When using DFS channels on Ath10k kernel log has warning message 'failed to process fft', typically when under medium/heavy traffic. Ticket https://dev.openwrt.org/ticket/19316 discusses and concludes messages are harmless. They do still contribute to log noise, so this patch enables them only in driver debug mode. Signed-off-by: Kevin Darbyshire-Bryant --- drivers/net/wireless/ath/ath10k/wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 0791a43..1435614 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -3498,7 +3498,7 @@ void ath10k_wmi_event_spectral_scan(struct ath10k *ar, fftr, fftr_len, tsf); if (res < 0) { - ath10k_warn(ar, "failed to process fft report: %d\n", + ath10k_dbg(ar, ATH10K_DBG_WMI, "failed to process fft report: %d\n", res); return; }