Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp882308rdf; Tue, 21 Nov 2023 22:06:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/woRPygvVZ4fFWRWFwfAu1azcts/jA7Stf3lDbjlxcaJbk+1hsbblrs4mQZ0Q3MGLie+r X-Received: by 2002:a17:90b:48ce:b0:277:68c3:64b9 with SMTP id li14-20020a17090b48ce00b0027768c364b9mr7705305pjb.5.1700633194546; Tue, 21 Nov 2023 22:06:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700633194; cv=none; d=google.com; s=arc-20160816; b=m0G+37qsyDjqFfett9Z6HCLWwD1UV1JzM4CT4Tu+/NGF8nOoH6ukjZkPPUUjx9OLsf ix53Hr9uE8ucOC1+KfP/KD9RDxLJE8NK28i2sBvD3DERsB1p+Vp8GPNWCGkh8MU0pcCg yQF1a1Frr6aKhowM51UPjoxHEngFXK+tneCOEi62F03JAb6zvnPy9olOXTem74pcfdP/ pOEpCnNmkWrgrsh6dJ+1ezNF0xw+UUFE8Z0OIFIdGI+aGw9Wsm9Uqf4JjB6wtMOL+8+M dOQmHao8J5YdJTD/wMlPy6ApajX3AW7k080+seb3cJABRxqPKjtdTwwA7SVwE9194Fio CcMA== 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=JQErbzucXIWWZ8IQF9HqNklWuTNWnSW0KLFZUaimZz0=; fh=Yhg3/DrKkR4Hs3egnKzF2Sj5quBOazakYbmcsFQvz8A=; b=Y2hihTHkS0m2eet2fr5YclOdlTshl4ulhOhfUZRUldbIHjSsfB2Ca3Gp687gpuFgRX KIv0gFQHQirhHiKk4H+DWwp69WQy8H7OdJEBzPz0CDJ3yOdbJRng0PpsqVCbv98iLAfL SPZzoUTIqEcSZYq7jHUrzzlfykTX0CrjYQLS38Su2lPx2lqHr72KgPbgWuq7ITreUIZj djPQU/SFMgdinOilvmzRyHaaxIl/t552kSuBQxirzBmTKkquR/RQ4A0Zyf6FxBu9Z7tN PX1P09yW+1NTUcBhjp61VQsx6rloxepU/txYgT/9v7PRtaF2GyqyqriLmA88DQgd/bMa 7KQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h22-20020a17090ac39600b002748c1bbd79si802052pjt.6.2023.11.21.22.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 22:06:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 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 E5DBA819A6AC; Tue, 21 Nov 2023 22:06:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230038AbjKVGGM (ORCPT + 54 others); Wed, 22 Nov 2023 01:06:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjKVGGL (ORCPT ); Wed, 22 Nov 2023 01:06:11 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F471B9 for ; Tue, 21 Nov 2023 22:06:05 -0800 (PST) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3AM65ugS62079010, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 3AM65ugS62079010 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Nov 2023 14:05:56 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 22 Nov 2023 14:05:56 +0800 Received: from [127.0.1.1] (172.21.69.94) 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; Wed, 22 Nov 2023 14:05:56 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 0/4] wifi: rtw89: phy: add dynamic EDCCA mechanism Date: Wed, 22 Nov 2023 14:04:54 +0800 Message-ID: <20231122060458.30878-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.21.69.94] 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Tue, 21 Nov 2023 22:06:12 -0800 (PST) The dynamic EDCCA mechanism is to enhance performance in field, and this mechanism is highly related to environment circumstance such as channel loading. In order to continuously improve this mechanism, other patches provide more debug interfaces as helpers. This patchset depends on another patchset "wifi: rtw89: read country list supporting 6 GHz from BIOS", because both of they change debug.h. Ping-Ke Shih (3): wifi: rtw89: debug: add to check if debug mask is enabled wifi: rtw89: debug: add debugfs entry to disable dynamic mechanism wifi: rtw89: debug: remove wrapper of rtw89_debug() Yi-Chen Chen (1): wifi: rtw89: phy: dynamically adjust EDCCA threshold drivers/net/wireless/realtek/rtw89/core.c | 1 + drivers/net/wireless/realtek/rtw89/core.h | 32 ++- drivers/net/wireless/realtek/rtw89/debug.c | 65 +++++- drivers/net/wireless/realtek/rtw89/debug.h | 18 +- drivers/net/wireless/realtek/rtw89/phy.c | 211 +++++++++++++++++- drivers/net/wireless/realtek/rtw89/phy.h | 9 + drivers/net/wireless/realtek/rtw89/reg.h | 39 +++- drivers/net/wireless/realtek/rtw89/rtw8851b.c | 16 +- drivers/net/wireless/realtek/rtw89/rtw8852a.c | 16 +- drivers/net/wireless/realtek/rtw89/rtw8852b.c | 16 +- drivers/net/wireless/realtek/rtw89/rtw8852c.c | 16 +- 11 files changed, 411 insertions(+), 28 deletions(-) -- 2.25.1