From patchwork Fri Feb 6 11:47:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 5789671 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2A129BF440 for ; Fri, 6 Feb 2015 11:48:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65FAB201C0 for ; Fri, 6 Feb 2015 11:48:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D17E201B4 for ; Fri, 6 Feb 2015 11:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805AbbBFLsH (ORCPT ); Fri, 6 Feb 2015 06:48:07 -0500 Received: from sabertooth02.qualcomm.com ([65.197.215.38]:43317 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbbBFLsG (ORCPT ); Fri, 6 Feb 2015 06:48:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1423223286; x=1454759286; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=7EviqmE48WrXObVgqBVx6zGxUdkNDj45iPMao6oXjtA=; b=yKk4iibUQiffX7PZ1Hqdnab+dgHEqMfZ12UA+G1amyTwuD+D7HAIQ71g +QK9wd4V+xI1jism0YLUPixrHSI79VJ3rofgyWuHO1mr3R2QVoCJqp45v AvPirgFxxqu1tT3u02Ni58krq4uTqI/UInWSfwibxfzdIjTgGcZILUjZu s=; X-IronPort-AV: E=McAfee;i="5600,1067,7703"; a="83599531" Received: from ironmsg01-lv.qualcomm.com ([10.47.202.180]) by sabertooth02.qualcomm.com with ESMTP; 06 Feb 2015 03:48:05 -0800 X-IronPort-AV: E=Sophos;i="5.09,529,1418112000"; d="scan'208";a="32318603" Received: from nasanexm01a.na.qualcomm.com ([10.85.0.81]) by ironmsg01-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 06 Feb 2015 03:48:05 -0800 Received: from aphydexm01b.ap.qualcomm.com (10.252.127.11) by nasanexm01a.na.qualcomm.com (10.85.0.81) with Microsoft SMTP Server (TLS) id 15.0.995.29; Fri, 6 Feb 2015 03:48:00 -0800 Received: from qcmail1.qualcomm.com (10.80.80.8) by aphydexm01b.ap.qualcomm.com (10.252.127.11) with Microsoft SMTP Server (TLS) id 15.0.995.29; Fri, 6 Feb 2015 03:47:44 -0800 Received: by qcmail1.qualcomm.com (sSMTP sendmail emulation); Fri, 06 Feb 2015 17:17:36 +0530 From: Rajkumar Manoharan To: CC: , Rajkumar Manoharan Subject: [PATCH 2/2] ath10k: Increase copy engine entries for rx wmi Date: Fri, 6 Feb 2015 17:17:18 +0530 Message-ID: <1423223238-17530-2-git-send-email-rmanohar@qti.qualcomm.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1423223238-17530-1-git-send-email-rmanohar@qti.qualcomm.com> References: <1423223238-17530-1-git-send-email-rmanohar@qti.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01B.na.qualcomm.com (10.85.0.82) To aphydexm01b.ap.qualcomm.com (10.252.127.11) 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_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_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 Having lower number of copy engine entries for target to host WMI ring is causing drops in receiving management frames. This issue is observed during max clients (128 clients) stress testing. While bursting deauthentication frames from simulated clients, approx. 70% of frames are getting dropped due to lower ring entries. Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath10k/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index e6972b0..f3174a6 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -113,7 +113,7 @@ static const struct ce_attr host_ce_config_wlan[] = { .flags = CE_ATTR_FLAGS, .src_nentries = 0, .src_sz_max = 2048, - .dest_nentries = 32, + .dest_nentries = 128, }, /* CE3: host->target WMI */ @@ -183,7 +183,7 @@ static const struct ce_pipe_config target_ce_config_wlan[] = { { .pipenum = __cpu_to_le32(2), .pipedir = __cpu_to_le32(PIPEDIR_IN), - .nentries = __cpu_to_le32(32), + .nentries = __cpu_to_le32(64), .nbytes_max = __cpu_to_le32(2048), .flags = __cpu_to_le32(CE_ATTR_FLAGS), .reserved = __cpu_to_le32(0),