From patchwork Tue Mar 3 12:20:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 5921841 X-Patchwork-Delegate: kvalo@adurom.com 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 A6864BF440 for ; Tue, 3 Mar 2015 12:21:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE661202B4 for ; Tue, 3 Mar 2015 12:21:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 04064202A1 for ; Tue, 3 Mar 2015 12:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755163AbbCCMVF (ORCPT ); Tue, 3 Mar 2015 07:21:05 -0500 Received: from sabertooth01.qualcomm.com ([65.197.215.72]:9195 "EHLO sabertooth01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754190AbbCCMVD (ORCPT ); Tue, 3 Mar 2015 07:21:03 -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=1425385263; x=1456921263; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=hRyYvPTOmRE6JeqagHaqi3Kp0refengoRnq/iiLZ/QQ=; b=RXmCE2ow92l7Bh5srOMWe/630osN6iL/SND6TLKFfKC1UDJOuNVSCXXI k66DuglFFTz/69qaSvZXk7P/xtIBlJONW/Qqzcc65wr18SduPSPyaP93k mBRDDiZo35P+h0yH7vscK76lNyALSW6oE5o6kKaWUFdOQK6WFGPbM6jM8 0=; X-IronPort-AV: E=McAfee;i="5600,1067,7728"; a="84146608" Received: from ironmsg02-lv.qualcomm.com ([10.47.202.183]) by sabertooth01.qualcomm.com with ESMTP; 03 Mar 2015 04:21:03 -0800 X-IronPort-AV: E=Sophos;i="5.09,681,1418112000"; d="scan'208";a="31894307" Received: from nasanexm02a.na.qualcomm.com ([10.85.0.41]) by ironmsg02-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 03 Mar 2015 04:21:02 -0800 Received: from aphydexm01b.ap.qualcomm.com (10.252.127.11) by nasanexm02a.na.qualcomm.com (10.85.0.41) with Microsoft SMTP Server (TLS) id 15.0.995.29; Tue, 3 Mar 2015 04:21:01 -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; Tue, 3 Mar 2015 04:20:54 -0800 Received: by qcmail1.qualcomm.com (sSMTP sendmail emulation); Tue, 03 Mar 2015 17:50:46 +0530 From: Rajkumar Manoharan To: CC: , Rajkumar Manoharan Subject: [PATCH 2/2] ath10k: increase station kickout threshold Date: Tue, 3 Mar 2015 17:50:30 +0530 Message-ID: <1425385230-25308-2-git-send-email-rmanohar@qti.qualcomm.com> X-Mailer: git-send-email 2.3.1 In-Reply-To: <1425385230-25308-1-git-send-email-rmanohar@qti.qualcomm.com> References: <1425385230-25308-1-git-send-email-rmanohar@qti.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01E.na.qualcomm.com (10.85.0.31) 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 Since the station kickout threshold is also counting software reries (Default sw count in firmware is 16), increasing the threshold to try with already 20 data frames before kicking out the station. Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath10k/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 7cba781..5a0b7cb 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -50,8 +50,8 @@ #define ATH10K_MAX_NUM_MGMT_PENDING 128 -/* number of failed packets */ -#define ATH10K_KICKOUT_THRESHOLD 50 +/* number of failed packets (includes sw reties) */ +#define ATH10K_KICKOUT_THRESHOLD (20 * 16) /* * Use insanely high numbers to make sure that the firmware implementation