From patchwork Thu Jul 26 07:21:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen Gong X-Patchwork-Id: 10545375 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 9BE591822 for ; Thu, 26 Jul 2018 07:25:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FEC92AD78 for ; Thu, 26 Jul 2018 07:25:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73FCA2AD80; Thu, 26 Jul 2018 07:25:46 +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 317022AD78 for ; Thu, 26 Jul 2018 07:25:46 +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=t2bWfkSsmRG/rL9h7ikTu0/yBnCA++JRQevyTmqFhIk=; b=N3J Ix9bVAg1BAdOz0d/p2d8PDvvp8bJHvjEcJjFerp/Xpv863iMXibTZo+9gy5P5hLTX9GitWpRnIGWh P8FjQkiHf5I5VX+6JmXuRwlcxMLXhGaSdkPn26B6dpy7RawLY/vjtCzPZ1+R9TngxQS6EJhI45hk8 x6R/Kq4lqGlXrG0QXMfP4mUGJrVGNsX8t1nAbLhTF2Zev6u6/Yees4Ui1a306QOHVHb/8ZYsKSll3 OMnbKmJy5I7b45Guz5Kq75IySCu7UyAIonLXIoMALR1I0sW58v+BoDXLXG/6pNznLPzsGaA28ZIDP GrIV/kmUNR8w4XsuhWoERxhprcpfwyw==; 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 1fiaec-0007cP-8h; Thu, 26 Jul 2018 07:25:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiaeZ-0007ar-TA for ath10k@bombadil.infradead.org; Thu, 26 Jul 2018 07:25:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7mGBUXqJnotpEYIDRkXaabnvHKaxJmIA1E4wODPU8oQ=; b=Sp9Ac1RVMFzTr2EGVzzJjCh9y iuDhQfGLkOVL/jZk5UAMhxc4oofAXd2EIva3OebVXavtY343u9JQkd+GIDbjWzpRLZvWYMfzJIg3A vol4jB8l53gQlopqtleWY+P0c5vrif6f3VfBMyWspboi20hcZc1WIYbcSayNERjIO1XPkk6pQaJGI Ii+at5EMT9uZjiwEHPh0wEJy3ZKpyBGL22xJvSZPonX5i3qTe2A/OIP0XSsRTLc4qrRCM2BTcFsVh dl1sYJKyCzYN8x5JcMpvRQKIPscwcCuE1vxEvI9IrbppMJehtt6m3e3PrXMaAGO7IBbiVzJ/1/Lkn L94jcPIwg==; Received: from smtp.codeaurora.org ([198.145.29.96]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiaag-0005qm-Tr for ath10k@lists.infradead.org; Thu, 26 Jul 2018 07:21:40 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 898F660C80; Thu, 26 Jul 2018 07:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532589685; bh=oGvoaIztBdzueshHJmR54ghvseFxw1cjwFn9ZbSZNKk=; h=From:To:Cc:Subject:Date:From; b=SbKHhXrtGrZs8e9krBC9O1mjUSUha5iffdzhdv1qPRHfMrOzqZ+752ykKJ/ir4Zqo lgMAIm05OxolzxOm+9ZcOR1AN9BR0gqNM6axk4gtdXgoqTav50snFNbEhE1XuZFnXO vP8h9YKSCva6er69jHmD3yqsbxn0chCa6guGERa4= 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 4650B60BE7; Thu, 26 Jul 2018 07:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532589684; bh=oGvoaIztBdzueshHJmR54ghvseFxw1cjwFn9ZbSZNKk=; h=From:To:Cc:Subject:Date:From; b=Ndq512NxIUpD7K6pToWlb/YpSS0LwGH43q5u6ifTW/ThbjYzhSp1accppbn4b5RDE t29bwZbQH+zIcY1UHI0SVQs9Rg1vgqmBbbYbDQBA+EXPdnEj2YqPwPXVqshV+dy3hr Q2TuEMBGKN6O+yInvPK1tG+bXp/KChDhdbRuTkDI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4650B60BE7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=wgong@codeaurora.org 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:21:15 +0800 Message-Id: <1532589677-16428-1-git-send-email-wgong@codeaurora.org> 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_082139_086130_6FA2880D X-CRM114-Status: UNSURE ( 7.88 ) 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 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(-)