From patchwork Wed Aug 8 10:40:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen Gong X-Patchwork-Id: 10559729 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 66AB013AC for ; Wed, 8 Aug 2018 10:40:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5548E2A601 for ; Wed, 8 Aug 2018 10:40:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 497A42A631; Wed, 8 Aug 2018 10:40:34 +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 E429F2A601 for ; Wed, 8 Aug 2018 10:40:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726875AbeHHM7i (ORCPT ); Wed, 8 Aug 2018 08:59:38 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35492 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726793AbeHHM7i (ORCPT ); Wed, 8 Aug 2018 08:59:38 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CBB8560B1E; Wed, 8 Aug 2018 10:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533724831; bh=n8/1xgIdSaz3d1aKfjz+IQr5y3GmqKXYKih+5kc46cU=; h=From:To:Cc:Subject:Date:From; b=RKfmBaci3OH6lT5b/8gdT+7w00DIKDieC80YdPac4xt+daj5sKGFtGzoAcbmXGinS HZfHmDvWwWU2FDbgsrnmaIQ90XAAp1k8h7IJdhQbEGyBDNiDy67/dLAMH6ZZuC3U3g IiWXNnwprFXVTb0FWEoZjlMh8hDyk9O52C0TxR8I= 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 AA19960AFF; Wed, 8 Aug 2018 10:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533724831; bh=n8/1xgIdSaz3d1aKfjz+IQr5y3GmqKXYKih+5kc46cU=; h=From:To:Cc:Subject:Date:From; b=RKfmBaci3OH6lT5b/8gdT+7w00DIKDieC80YdPac4xt+daj5sKGFtGzoAcbmXGinS HZfHmDvWwWU2FDbgsrnmaIQ90XAAp1k8h7IJdhQbEGyBDNiDy67/dLAMH6ZZuC3U3g IiWXNnwprFXVTb0FWEoZjlMh8hDyk9O52C0TxR8I= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AA19960AFF 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 v2 0/2] Change sk_pacing_shift in ieee80211_hw for best tx throughput Date: Wed, 8 Aug 2018 18:40:00 +0800 Message-Id: <1533724802-30944-1-git-send-email-wgong@codeaurora.org> X-Mailer: git-send-email 1.9.1 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/core.c | 6 ++++++ drivers/net/wireless/ath/ath10k/hw.h | 3 +++ drivers/net/wireless/ath/ath10k/mac.c | 4 ++++ include/net/mac80211.h | 5 +++++ net/mac80211/main.c | 2 ++ net/mac80211/tx.c | 2 +- 6 files changed, 21 insertions(+), 1 deletion(-)