Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5425208ybg; Tue, 22 Oct 2019 03:06:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvIkc6SWBL9jE0bbyOzFKmYWzuxtUajjV5bXqmFK5K9fXyJVn+WROoKP9kVxUKtxYuZjUj X-Received: by 2002:a17:906:328f:: with SMTP id 15mr3341722ejw.27.1571738781347; Tue, 22 Oct 2019 03:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571738781; cv=none; d=google.com; s=arc-20160816; b=YA9y2SPgYp61axYHYUN4MdocG0XJ0zMULOkNimA3dGkWCVlC2b+Ko31avXUFY+FrAq ENVCmatqRaHfBf72GW0VSiJElH04jOx7PSC4riAP/gCbWj8DsrRVrHPRt+NcaNncuVGC RILHdYjvkMaKPTF/hwc5OemS07klXX6qpbtKFpWWaT1FbJo0Ek1x1Y/v20oLGKS0RwjH e766sQQ0oXHJlmvdRFVoqKOhYcxLjfsuFEBf67sRKBxsSKuHroj3IR6toj4sqYglBJkd 90X07L2uly1TU2KJo/PsO3ewo7i9pcNwfSRp5bj6B8TZLM7tp/ipH0huDiM6aaGebJQQ F09Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:authenticated-by; bh=4O0Fn7bbNy3Mr1viZq+V0P3GXldPUAiu9x/IbjjQhoY=; b=hRtl7bq4jIiN1XFZsQXPDxrLKX6RnkQP1Pd4bv1Z4kr3MUjmKmzRXBUC46/jgjA9vE FLXgM47957QxKfS/aZdLVGRjKU6cK6QevPC8zoIkmZKmuqTW7LUYsbr5x1NSznSiBRAi UXeWiJI5kJxUI/QimnSIC2vYsstuSLPj/iI+OUoiO0/SmfBNIR6aaTds6p32Tkz/jDt7 PS/GCI61pyfUrTCMssvIErhg/2rm1YoIMhMpCHQ2SszyFJ1CmQofw8QX0wUIwHKKsX5f 0rjgoSaXQqy3XldfrDsfVJA9utD3p7A/ilZIEUv4ZsbbdCAlHxtgVOgCvPmR1IgCWP0v nFEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si10552529ejr.440.2019.10.22.03.05.46; Tue, 22 Oct 2019 03:06:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731721AbfJVKEa (ORCPT + 99 others); Tue, 22 Oct 2019 06:04:30 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:37555 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728182AbfJVKE3 (ORCPT ); Tue, 22 Oct 2019 06:04:29 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x9MA4MTH017628, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x9MA4MTH017628 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 22 Oct 2019 18:04:22 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.468.0; Tue, 22 Oct 2019 18:04:21 +0800 From: To: CC: , Subject: [PATCH v3 0/5] rtw88: minor throughput improvement Date: Tue, 22 Oct 2019 18:04:15 +0800 Message-ID: <20191022100420.25116-1-yhchuang@realtek.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang This patchset mainly adds support for beamforming and power tracking. Power tracking can monitor the thermal value of the device and adjust corresponding power indexes, to make sure the RF output power is expected. And another thing is to add a debugfs for physical layer information. This is useful when sometimes the environment is too harsh for the device, and provides the activities for us to debug. v1 -> v2 * Do not use cast on "const" pointers * Add macros for checking current band, also used in power tracking * Some refinement for power tracking * Remove regulatory's module parameter for user's hint, and enable it by choosing the Kconfig * Add some description for beamforming module parameter v2 -> v3 * more refinement for magic numbers * split patch set, remove regulatory patch, for further discussion Tsang-Shian Lin (1): rtw88: add phy_info debugfs to show Tx/Rx physical status Tzu-En Huang (3): rtw88: add power tracking support rtw88: Enable 802.11ac beamformee support rtw88: add set_bitrate_mask support Yan-Hsuan Chuang (1): rtw88: use macro to check the current band drivers/net/wireless/realtek/rtw88/Makefile | 1 + drivers/net/wireless/realtek/rtw88/bf.c | 400 +++++++++++++++ drivers/net/wireless/realtek/rtw88/bf.h | 92 ++++ drivers/net/wireless/realtek/rtw88/debug.c | 174 ++++++- drivers/net/wireless/realtek/rtw88/debug.h | 1 + drivers/net/wireless/realtek/rtw88/fw.c | 1 + drivers/net/wireless/realtek/rtw88/mac.c | 2 +- drivers/net/wireless/realtek/rtw88/mac80211.c | 64 +++ drivers/net/wireless/realtek/rtw88/main.c | 153 +++++- drivers/net/wireless/realtek/rtw88/main.h | 166 ++++++- drivers/net/wireless/realtek/rtw88/phy.c | 137 +++++- drivers/net/wireless/realtek/rtw88/phy.h | 12 + drivers/net/wireless/realtek/rtw88/reg.h | 1 + drivers/net/wireless/realtek/rtw88/rtw8822b.c | 461 +++++++++++++++++- drivers/net/wireless/realtek/rtw88/rtw8822b.h | 12 + drivers/net/wireless/realtek/rtw88/rtw8822c.c | 351 ++++++++++++- drivers/net/wireless/realtek/rtw88/rtw8822c.h | 12 + drivers/net/wireless/realtek/rtw88/rx.c | 69 ++- 18 files changed, 2027 insertions(+), 82 deletions(-) create mode 100644 drivers/net/wireless/realtek/rtw88/bf.c create mode 100644 drivers/net/wireless/realtek/rtw88/bf.h -- 2.17.1