Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1187984rdf; Wed, 22 Nov 2023 07:49:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IH28bqNGDAWweVEtwlldlftNnQe/oZmKAFt2lDND1wZuwauzKYjR5W+LcmDiVY0KLA5R22W X-Received: by 2002:a05:6808:1155:b0:3ae:2024:837b with SMTP id u21-20020a056808115500b003ae2024837bmr3563345oiu.34.1700668174888; Wed, 22 Nov 2023 07:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700668174; cv=none; d=google.com; s=arc-20160816; b=QY2T2/OB3hPwB5D/D0Iah6N6d0vWCp+XD5EFlbJjHMhXrwXGxIB22zkjzRp25zAhRS 9juDlStx79elkA7FzSajmiXKtLufxRxC+4rB2jl46KkF/I7EBUwKHtTUnBmv3nykO9zo sCP1OZG6g636lzyUhaPy1WY9Yd8GCegSLpayB77qAUBjDcyEomgdxD3mhmIWfUiOMXfF UNbte7iaCwgvEh235lNFr6kwKRoF9cOzFjfWalKxkn8ywq6K4bOOPEVtNtxuiIiaPlDe LwvLYqejBlVsGJ05TZsZ7Dl5P43o9ecl9yUPqFxz3L3haQsVu9DYHHN7A/MwnqCH1ZiR yfjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=4WHyqaNMKjNHwY9em3j4DdVVkFgFl1g9s49gzBcOphU=; fh=nVgiLdLc+MV9s3ZKgUGT84t6sn7RE01PukgCYzHVZnA=; b=ukjiWJzTf6HRsozodlKtStNQnmiK3QXvqGSfhtP9OqrfN441Dkf6ir5P0h+GBx9UsW yMb0IUc7XoQ4dVbrXnKLjyOLb3SdXiszeLnha9YWHk3lUYNVodx8Rqz7HtMk+M5yVzOw otskv7G6QzX6cM57iQLYhv/s1egxMqtLYh8PuRQx0X8lmgqK5CzXgiQ7DDuyIrCaTLsG F1BFnLix24Ae6SkJ7QJMvnWzNBexwbzqHtgnTp8VCSbtea9WSlA0QSyJtzOP5y+jKunt INQvsaG1fyRzXoLtQz3qa3HA0YxsHtgvCSzodqfmYXAqTt65VZYjCnjeX7sLIvVViJzF wAyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SOFh/qHs"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e12-20020a631e0c000000b005b958401e4fsi13105637pge.418.2023.11.22.07.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:49:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SOFh/qHs"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 561358032356; Wed, 22 Nov 2023 07:49:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344313AbjKVPtR (ORCPT + 53 others); Wed, 22 Nov 2023 10:49:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235234AbjKVPtD (ORCPT ); Wed, 22 Nov 2023 10:49:03 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B96592 for ; Wed, 22 Nov 2023 07:48:21 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27EB4C433C7; Wed, 22 Nov 2023 15:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700668100; bh=B32IrzlvQQsEDYIdZY7gHsw4sjzADopajnY2cdHVeqQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=SOFh/qHsavwjOnaw0EM5+98RMCxNwOVWyckMK/UlBw2YoALOpKnQ5LtKCqmQDsSDm HNIFrs3HgMz66ghcgN/hextlyXr7zw9VhFK0+FXXv6HV1QT5s37JYZO6zdr3sBU6FE NOUt6f/PYOuwpBO52zvu0QmOKUyeAaRrm23+Th+4PXAc7JvYo1B2hYwGaIzRZZoe0Q 8z2N+xuTDoZid1R/kBohuqJi124RJQwuHwb+IGmUPSWEEisgD4gCZyxF5s7TsPzqtS qfaEqJGTiAXo4ysHEyL4f/Ps+QXaau/i7auShEvMOiu5eaauecIS7p818E4TETvrLq Mb4myZhgwKDig== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/3] wifi: rtw89: acpi: process 6 GHz band policy from DSM From: Kalle Valo In-Reply-To: <20231114091359.50664-2-pkshih@realtek.com> References: <20231114091359.50664-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170066809796.4178710.8565816952013722617.kvalo@kernel.org> Date: Wed, 22 Nov 2023 15:48:19 +0000 (UTC) X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:49:24 -0800 (PST) Ping-Ke Shih wrote: > From: Zong-Zhe Yang > > Realtek ACPI DSM func 4, RTW89_ACPI_DSM_FUNC_6G_BP, > accepts a configuration via ACPI buffer as below. > > | index | description | > ------------------------- > | [0-2] | signature | > | [3] | reserved | > | [4] | policy mode | > | [5] | country count | > | [6-] | country list | > > Through this function, BIOS can indicate to allow/block > 6 GHz on some specific countries. Still, driver should > follow regd first before taking this configuration into > account. > > Besides, add a bit in debug mask for ACPI. > > Signed-off-by: Zong-Zhe Yang > Signed-off-by: Ping-Ke Shih 3 patches applied to wireless-next.git, thanks. 665ecff7dd14 wifi: rtw89: acpi: process 6 GHz band policy from DSM b2774a916ab9 wifi: rtw89: regd: handle policy of 6 GHz according to BIOS c212abfbd19f wifi: rtw89: regd: update regulatory map to R65-R44 -- https://patchwork.kernel.org/project/linux-wireless/patch/20231114091359.50664-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches