Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3605782rdh; Thu, 28 Sep 2023 17:52:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGoG8IE5HNh78QFbPKu7gy/nvapiEtlPHazk8MvA51o6ZVOwNxwgFtOUKqfwRctteHrzpwA X-Received: by 2002:a54:4711:0:b0:3af:6595:e53 with SMTP id k17-20020a544711000000b003af65950e53mr2959650oik.13.1695948767469; Thu, 28 Sep 2023 17:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695948767; cv=none; d=google.com; s=arc-20160816; b=flo1eWouwrsiY4AyItOiwhoN0GXgmomdi69ZHnTaTmAnuiszkI2NlmI8Tps/6htqpT +xjcO7iYuslWGnmUxuElL4DAFJXVXVRrX7pN0C863JyYYpN/RPCoyA8rQ8EMVnkg4rNI dvK1nXo2GpnXgsyx4T05aN0FfYtZSJkwkRVm+Gsx/BoW5CTxUfciagkRPRPoLSExAqlB SVx1pBvcRu+oVCfpSXCNrbgGddKqv+np0OrLmeM6KpBtCQqLB4iw2DSFgb7pwGkLkI1N 8T4liNQRVYXB0JF3yj7h2TI4fhmQ9nVna7t11w2+dlc8FwILoQhr4/CknqaavgOpU5Af 5sqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6wQFBoUoUEsmNU6m71nxDgG4R3+2Tma3qOOlKK8aKfM=; fh=myP1GRW8vXozDtyd/wZpnQrheIk+6DxhkPbtCRB8ZZw=; b=JS//3VRbh5kpmaRovqYRAaIdTbPA7vXcIs117zCe8EzOZNgQU2QL+avIXWuxAjDZlW Opp/Ih9d2yMnBNJofP14zBJZs1rGRb8pp8hXtPRtF69PNngdvfqa0fuwzGxtI27MOsHY YBt00sgBj0qy9obm3jliCYL4+c4yoC2DY3qBvYxTL86dvVvMgPeb/p+siiDRzLlT1CcC HWXMhHNCgGXjVjeqdrXFc0lVdJn+01Qlr3y3sAcNi6L4TDxfy9u0iXmeGqLVn6A3tYqn ztdAHb+8EIwaZPIlecsUKuE89r4PabZzSojEKtMxEdAIBNtB/bJ5OCn8FDDjSurA8SDJ 7/qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ds7-20020a056a004ac700b0068fa57d2442si19781214pfb.130.2023.09.28.17.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 17:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A1A4D80981B7; Thu, 28 Sep 2023 17:41:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232374AbjI2Alc (ORCPT + 54 others); Thu, 28 Sep 2023 20:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230274AbjI2Alb (ORCPT ); Thu, 28 Sep 2023 20:41:31 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2531911F for ; Thu, 28 Sep 2023 17:41:28 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 38T0fJlR5260772, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.92/5.92) with ESMTPS id 38T0fJlR5260772 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Sep 2023 08:41:19 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Fri, 29 Sep 2023 08:41:19 +0800 Received: from [127.0.1.1] (172.16.16.144) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 29 Sep 2023 08:41:19 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH v2 0/2] wifi: rtw89: consider UL-bandwidth of trigger frame as clue to improve OFDMA performance Date: Fri, 29 Sep 2023 08:40:22 +0800 Message-ID: <20230929004024.7504-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.16.16.144] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 17:41:32 -0700 (PDT) Patch 2/2 is the main patch to improve UL-OFDMA performance when UL-bandwidth is 160MHz and RU < 106. In this case, apply pre-calculated matrix to transmit with proper power. To assist that, patch 1/2 is to adjust naming of waveform control related to trigger frame to avoid ambiguity. v2: - correct messed up patchset containing duplicate patch 3/3 in v1 - since patch 1/3 of v1 has been merged. Only two patches in v2 - don't change patches content at all Po-Hao Huang (2): wifi: rtw89: refine uplink trigger based control mechanism wifi: rtw89: refine bandwidth 160MHz uplink OFDMA performance drivers/net/wireless/realtek/rtw89/core.c | 17 ++- drivers/net/wireless/realtek/rtw89/core.h | 29 +++- drivers/net/wireless/realtek/rtw89/phy.c | 129 ++++++++++++++---- drivers/net/wireless/realtek/rtw89/reg.h | 12 ++ drivers/net/wireless/realtek/rtw89/rtw8851b.c | 3 +- drivers/net/wireless/realtek/rtw89/rtw8852a.c | 3 +- drivers/net/wireless/realtek/rtw89/rtw8852b.c | 3 +- drivers/net/wireless/realtek/rtw89/rtw8852c.c | 3 +- 8 files changed, 159 insertions(+), 40 deletions(-) -- 2.25.1