From patchwork Thu Jul 26 07:16:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen Gong X-Patchwork-Id: 10545351 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AE2C5A639 for ; Thu, 26 Jul 2018 07:17:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 956912AD98 for ; Thu, 26 Jul 2018 07:17:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 887D72ADA9; Thu, 26 Jul 2018 07:17:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3FBEF2AD98 for ; Thu, 26 Jul 2018 07:17:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=ICNKANpuumfgLkZ1QPi3JQ8YHa4zKVYHcQPYZL6YEcE=; b=hEX OLqi8WLfLSjJTzbtcUP7HFjRGlMQxEa6PBxmORfD4IpuPCZdcFbeU3bbcIoGKvSmQNkTfIlVIBpz/ mJUT4LvEK6aAr2T2DKA84Iy1nyWZMqaVsFeheQ3C2hw7itZSUQHjqKa4aSH+yV2Nn4Ypmem3PB5+X 1FBWMzGG/Yvot8IGNOYjoEvZwygMmjuIF3szmWzWzkXEG1v3syLcLUGpql7t7Y9xZ5IjP0MJZIkPN 4bgn7tv00/wC/zFx7+5Nr7I8BMtypjdvqQspX6p4OqEqo3bm3If41et8Pf0k6b28ZPiliR6WxOQXN MuXQL14ZAgQCT1oluLu2q96xLIAFiJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiaWE-0002Hs-Pz; Thu, 26 Jul 2018 07:17:02 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiaW5-0002Bp-IR for ath10k@lists.infradead.org; Thu, 26 Jul 2018 07:16:56 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7E707607EB; Thu, 26 Jul 2018 07:16:42 +0000 (UTC) Received: from localhost.localdomain (unknown [180.166.53.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wgong@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id ECD2060594; Thu, 26 Jul 2018 07:16:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org ECD2060594 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=fail (p=reject dis=none) header.from=qti-qualcomm.corp-partner.google.com Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=fail smtp.mailfrom=wgong@qti-qualcomm.corp-partner.google.com From: Wen Gong To: ath10k@lists.infradead.org, johannes@sipsolutions.net Subject: [PATCH 0/2] Change sk_pacing_shift in ieee80211_hw for best tx throughput Date: Thu, 26 Jul 2018 15:16:31 +0800 Message-Id: <1532589393-16182-1-git-send-email-wgong@qti-qualcomm.corp-partner.google.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180726_001653_629349_807891F8 X-CRM114-Status: UNSURE ( 7.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wen Gong Add a field for ath10k to adjust the sk_pacing_shift, mac80211 set the default value to 8, and ath10k will change it to 6. Then mac80211 will use the changed value 6 as sk_pacing_shift since 6 is the best value for tx throughput by test result. Wen Gong (2): mac80211: Change sk_pacing_shift saved to ieee80211_hw ath10k: Set sk_pacing_shift to 6 for 11AC WiFi chips drivers/net/wireless/ath/ath10k/mac.c | 2 ++ include/net/mac80211.h | 1 + net/mac80211/main.c | 2 ++ net/mac80211/tx.c | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-)