Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp91140lql; Fri, 12 Apr 2024 04:59:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOT5/ZhZIoyMgfnaAHJPNMbD3iKSzmL9eAAl+assPVmFsrtIO9mxg10NuiCcqqg4zlyhMbLqziCBrOwQDBREnDASyhaQMZnw3KD9gYSw== X-Google-Smtp-Source: AGHT+IFcTIFYV7W2xJ/Gd6H4fA8YUWs+RwBAUJRz7t5siEkOn5JMZbCYRZLAj3t49XCV6gvc+gkz X-Received: by 2002:a05:620a:12e1:b0:78d:4424:b286 with SMTP id f1-20020a05620a12e100b0078d4424b286mr2465252qkl.39.1712923155583; Fri, 12 Apr 2024 04:59:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712923155; cv=pass; d=google.com; s=arc-20160816; b=xzmosxCtE7Wzt67WbZ6lw5ptQT2IchHDHQpSKl08/nxcjssdvozJWIZMYOjTTqtek0 Vjm0iCala1/O2Zm2Iy2n9yQ2uY/6LAl5hv69X7rmxxfiwWeAKWqxQfTM2zo28rrnAot2 lvN3expmA6YBZyMAhAUTJKrn59ufyrdUXu1a1VHlyvxA0GS6fPrVwLUHQbx5pOBWbntf XjJA7YyzPXzr3g+ZKEiB4XRA5+Vv6TKQ/w1hhhKjJHVYBwkL8zAobbiHODqnYZsj7pTv NzwD1LEvwVgAD6Xqq76UqfO6FIvfcwh0+EebSSVinTdZR74ueJNb9qeT3/qnTsvAbu3u FugQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=XL/H2TNcPy+WHBIaLgurczUhBZB59mcPlTHH3sJUVSo=; fh=HUg66QM+WrcYjhrjAZO9Io78soUV0XNx50nXI3Hf4XU=; b=xWllbr0nVxLylacdjl6zCL6T3yPEkk8kbceqtfdlosPBwFlj17D7aJ8fl9oC8ob+dp xQI/+conETU2UCkc7HGyztPf5TLqaoLPSETL/79u1MXXX4Fb8WCsLOZZAppzqGwcBB0k 3yZKXZ1rAMfNuks3hCggsW13BftJDQ3UeOwsW66h30KAs8U2w+1+fi8Y6bv3xzb2/REj BYT+yCgn5SkY7lLO0zvleNyMNQVNR/ElUM9JFmo0XGJ+kC4k3jxUG6YAeXv7mhZP6WRb 3qMI5/tSLX07zkMSnAS+kiX7qJUysuplLRqsdFABjV3XnwQbTwIe0oudcELvwRFCFaEO 9iDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6244-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a21-20020a05620a439500b0078ecb2bc0bbsi1614291qkp.113.2024.04.12.04.59.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 04:59:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6244-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4F5271C20FC3 for ; Fri, 12 Apr 2024 11:59:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB38A5577C; Fri, 12 Apr 2024 11:59:12 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E810E3FE55 for ; Fri, 12 Apr 2024 11:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712923152; cv=none; b=lKD7FY/f7tBhWnrEfCpaYYoXPUM6ezsHr0oSqtSGT7uG3TL346EOWz3J6y9Esc0ovj7n1lHRbwkIYL8V+Yne6XwuJUissZQO7bD9oQikkDGccvF0WAhJbGookjNmqrPBKKt8exscrhp5PKQOCMTUJ9QFkPbyd1a+HW6cfTryxUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712923152; c=relaxed/simple; bh=BNVTjBVq/+6sBmy1Pq+QSVOZCWqw0oouE4CNAHMd9w0=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Wg1L0r7GYQk80ZkaCQW4HnYsNaj9ilHOZEdH9IRQCrqpnorZWtxXaSeCa9HtLqy8kD0bSkoQTS5WEQFKoxjNvrquSZDYv1o7JhediCDiz9FSJJiSXgNtrN05YFNCbEBqhyL5rpbSuznuTrWoRvGvUsdEyfOaODOhqo+4BGAyFAo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 43CBx7TF12092958, 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.95/5.92) with ESMTPS id 43CBx7TF12092958 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 12 Apr 2024 19:59:07 +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_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Apr 2024 19:59:07 +0800 Received: from [127.0.1.1] (172.16.17.25) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Apr 2024 19:59:07 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 0/8] wifi: rtw89: configure 5.9 and 6 GHz channels and power type by BIOS settings Date: Fri, 12 Apr 2024 19:57:21 +0800 Message-ID: <20240412115729.8316-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) 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 The regulations of 5.9 and 6 GHz channels and power type are ongoing to define, and certain platforms don't get certifications for certain channels or 6 GHz SP power type. To control these platforms working on expected channels and power type, define control fields in BIOS to restrict. The change of power table is large, so split it into patches 3/8 and 4/8. We are planning to move them into firmware file like WiFi 7 chips. Zong-Zhe Yang (8): wifi: rtw89: sar: correct TX power boundary for MAC domain wifi: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz sband wifi: rtw89: 8852c: update TX power tables to R69.1 (1 of 2) wifi: rtw89: 8852c: update TX power tables to R69.1 (2 of 2) wifi: rtw89: regd: block 6 GHz by policy if not specific country wifi: rtw89: regd: extend policy of UNII-4 for IC regulatory wifi: rtw89: acpi: process 6 GHz SP policy from ACPI DSM wifi: rtw89: regd: handle policy of 6 GHz SP according to BIOS drivers/net/wireless/realtek/rtw89/acpi.c | 47 + drivers/net/wireless/realtek/rtw89/acpi.h | 21 +- drivers/net/wireless/realtek/rtw89/core.c | 3 + drivers/net/wireless/realtek/rtw89/core.h | 4 + drivers/net/wireless/realtek/rtw89/fw.c | 4 + drivers/net/wireless/realtek/rtw89/regd.c | 156 +- .../wireless/realtek/rtw89/rtw8852c_table.c | 2616 ----------------- drivers/net/wireless/realtek/rtw89/sar.h | 4 +- 8 files changed, 206 insertions(+), 2649 deletions(-) -- 2.25.1