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: 5921871 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 B54779F36A for ; Tue, 3 Mar 2015 12:21:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9338202B4 for ; Tue, 3 Mar 2015 12:21:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30C29202A1 for ; Tue, 3 Mar 2015 12:21:27 +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 1YSlpD-0006xm-Mj; Tue, 03 Mar 2015 12:21:23 +0000 Received: from wolverine02.qualcomm.com ([199.106.114.251]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YSlpB-0006om-45 for ath10k@lists.infradead.org; Tue, 03 Mar 2015 12:21:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1425385282; x=1456921282; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=hRyYvPTOmRE6JeqagHaqi3Kp0refengoRnq/iiLZ/QQ=; b=gkfzrsC6P8KsglgEAmrZqgiofeFYkYKdL9QCSGxLOH/mbCav2ItUGWYi Xj+4HdPFnq4SN84kjIlzgl56NjodnJjB0OQPlsJz9RqFUPMOJFBcvU4PO RUkb2SmJJsZ83FILEnysdjqW3GLdeVeLIUtqLRrde1e0E2HHFYzlyqhje M=; X-IronPort-AV: E=McAfee;i="5600,1067,7728"; a="198087543" Received: from ironmsg02-lv.qualcomm.com ([10.47.202.183]) by wolverine02.qualcomm.com with ESMTP; 03 Mar 2015 04:21:04 -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: 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) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150303_042121_291446_C4D34AE7 X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.1 (-----) Cc: linux-wireless@vger.kernel.org, Rajkumar Manoharan X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, 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