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: 10545359 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 E5A79139A for ; Thu, 26 Jul 2018 07:21:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDFB62AD74 for ; Thu, 26 Jul 2018 07:21:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1F742AD77; Thu, 26 Jul 2018 07:21:27 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72C112AD76 for ; Thu, 26 Jul 2018 07:21:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729101AbeGZIgz (ORCPT ); Thu, 26 Jul 2018 04:36:55 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60926 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729093AbeGZIgz (ORCPT ); Thu, 26 Jul 2018 04:36:55 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6508160C4C; 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 Cc: linux-wireless@vger.kernel.org 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 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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(-)