From patchwork Thu Nov 14 08:01:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Markowski X-Patchwork-Id: 3181011 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AC4629F39E for ; Thu, 14 Nov 2013 08:01:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9735520122 for ; Thu, 14 Nov 2013 08:01:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21DE22010B for ; Thu, 14 Nov 2013 08:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752409Ab3KNIBf (ORCPT ); Thu, 14 Nov 2013 03:01:35 -0500 Received: from ebb05.tieto.com ([131.207.168.36]:50970 "EHLO ebb05.tieto.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752391Ab3KNIBe (ORCPT ); Thu, 14 Nov 2013 03:01:34 -0500 X-AuditID: 83cfa824-b7f988e000007e6b-44-5284835bc940 Received: from FIVLA-EXHUB02.eu.tieto.com ( [131.207.136.42]) by ebb05.tieto.com (SMTP Mailer) with SMTP id 93.99.32363.B5384825; Thu, 14 Nov 2013 10:01:32 +0200 (EET) Received: from uw000975.eu.tieto.com (10.28.19.78) by inbound.tieto.com (131.207.136.49) with Microsoft SMTP Server id 8.3.298.1; Thu, 14 Nov 2013 10:01:28 +0200 From: Bartosz Markowski To: CC: , Bartosz Markowski Subject: [PATCH] ath10k: expand the wmi mgmt queue limit to 128 Date: Thu, 14 Nov 2013 09:01:15 +0100 Message-ID: <1384416075-13751-1-git-send-email-bartosz.markowski@tieto.com> X-Mailer: git-send-email 1.7.10 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEIsWRmVeSWpSXmKPExsXSfL5DSzemuSXIYPI7BYtHl44xWzyZ/J3F 4s2KO+wOzB6fZ95l89i8pN7j8ya5AOYoLpuU1JzMstQifbsEroxll/tZCtZwVCx5doO9gfEP WxcjJ4eEgInEhtcdULaYxIV764FsLg4hgZWMElsWtzFBOEsZJabOfM8CUsUmYCpxf8MKVhBb REBB4tekj2DdzALhEq+2/gKrERawlzj34gIziM0ioCpx/k8TWA2vgLfE+0eNUNvkJZ7e74OK C0qcnPmEBWKOhMTBFy/AeoUENCTm7HzJMoGRbxaSsllIyhYwMq1i5E9NSjIw1SvJTC3J10vO z93ECA6qFSo7GM8+kDrEKMDBqMTDq7CvOUiINbGsuDL3EKMkB5OSKK9bQ0uQEF9SfkplRmJx RnxRaU5q8SFGCQ5mJRHeR41AOd6UxMqq1KJ8mJQ0B4uSOK97c1yQkEB6YklqdmpqQWoRTFaG g0NJgjcFpFGwKDU9tSItM6cEIc3EwQkynAdoeBvY8OKCxNzizHSI/ClGRSlxXh2QhABIIqM0 D64XFvWvGMWBXhHmDQGp4gEmDLjuV0CDmYAGu3g0gwwuSURISTUwxjnFeC1a76/j8kVp647r D3nENYynHjF+cdJkRomf0dl5795/8yy65MbmvCxS/sqdQL5LaomL9FlMy3bOOizldWNXkHIm 10PP/4bf7hWtuVOb0CoT/axw9as6LbavfJsZDsQ5vVmlHSjv/CD6Ychi00Vh0ieLmi+HW3zg d/FxMD0l5v7t3Go+JZbijERDLeai4kQADamSMNUCAAA= 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 It was obseverd many times the short queue limit can be easily exceeded in case of AP multiple BSSID scenarios. "ath10k: wmi mgmt_tx queue limit reached." This was leading to TX packets drops. This patch expands the queue limit to 128. After many stress experiments (high traffic and lot of management frames in the air) the new value seems to fix the problem on platforms with limited resources. Reported-By: Tomasz Skapski Signed-off-by: Bartosz Markowski --- drivers/net/wireless/ath/ath10k/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 0934f76..be35df2 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -43,7 +43,7 @@ /* Antenna noise floor */ #define ATH10K_DEFAULT_NOISE_FLOOR -95 -#define ATH10K_MAX_NUM_MGMT_PENDING 16 +#define ATH10K_MAX_NUM_MGMT_PENDING 128 struct ath10k;