Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp413107rdg; Thu, 12 Oct 2023 09:06:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFhJfFW96/MDb4dvQm8p7T7ZJLJXu6+P+/dMk4tKhhls3AKkVgTmMfjvF0A9Cwu0NHuvd22 X-Received: by 2002:a17:902:ab82:b0:1c4:387a:3259 with SMTP id f2-20020a170902ab8200b001c4387a3259mr25147838plr.46.1697126812548; Thu, 12 Oct 2023 09:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697126812; cv=none; d=google.com; s=arc-20160816; b=Iq4hvXLeilkiRN2U3y7QClgtBVIEwLev4YMpkpm4lLojh+XVxGtkGkY8tObIMqWLSq hUsMk3YRA8tzyNKvPfi0InJ7uWpy0wCuzaKdO3cfopCj1/YlQ59uepSMsCS8Rny18aZ4 xgV/PMyvlWDLXzFdsUtK1KZn80HFCkuIQgfiALOSIBJGwinTCuN5xkBRjquX/yz73DQ9 N6IQgm+/KXQmeQmMLMG/XdvHOgahURCU/uDwepGSWqBiIyalt1gZKGaNHTtIVrKNJSpW 1V0+RWBIIrX9EKjZ8vo6oyOuzqIe4du0IVYctAlZ4M6ItjuK/NchsEXXcnso6K5F1Nyy 4JGw== 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=Oy6HjTik5FjXPvwatXuhuvH6xKn/MBidH55wYG0I7fI=; fh=xS3MFtb588Oi5FG/nJUmUhHCAm7CYoNVr6cBc+ppuSE=; b=ng2QpBzxYHDXWwCCGAo96YEpi1Jz6OE5yFPv+RPlHUsp8OlUPdFPUX6JxtLUEvql32 SZi6yo8yB1KqFU4PxTSFoVG+Q0ChitT3/+8/UNYzPgyytcLsV1s+JZhU75KCUzi7V636 TPYaA2Yz/E4JzMVdK9EzzMrx1LP/bMuygV4GtnY/1eBtgRzACM9aAjib52hdsW2Ky3tO FjBAB8odiwiXLJJ9cneLohQ48nkD7lj9ChFIj73IfmG2WgizU3JBx14ZKMZDDYhSboio rmzjBXjEf8KNkZlA3rHh2bTWia5d1E8YtrTOqIZ4wGNq6NiuZqZdKJVTv0kU1ui3MIG4 NxlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bBIgfYGL; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id m5-20020a1709026bc500b001c0cb378f04si2447973plt.335.2023.10.12.09.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 09:06:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bBIgfYGL; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id E0B7F809B09D; Thu, 12 Oct 2023 09:06:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235751AbjJLQGX (ORCPT + 52 others); Thu, 12 Oct 2023 12:06:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347322AbjJLQGE (ORCPT ); Thu, 12 Oct 2023 12:06:04 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 735A5CA for ; Thu, 12 Oct 2023 09:05:59 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11669C433C9; Thu, 12 Oct 2023 16:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697126759; bh=0TlcdU2OQsnqZNwSF/TbmRxff0z5OtOe3PDAchLyUY4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=bBIgfYGLCrKFDDZeCFrPxO3rDG2w/1HHKNdYeWv0d5c1Wtr8B41YTW5jKLK+jXaGS dDYALoQe2a5f9pGkLGA3OHQ5EU9sva2gXLx4QIOd18Vun8dfxs9bkwlgUtGlLQadcL iECsoPWAmhefL00EK+n88EebxOHLEafK3nDnsgLGSyIoD6lqpVxGX9kC7OdqhXIYbG DzEzsje5C3S/C6HcuFCg28RXi3R4HEyn3ycxkOg85kfKSqC8OGfdz88oEegtaCRoK/ p4UGhgZo+h5VSgtdFUJDOICjcN6zY2KZn/zevrfvvpK0cM0XV9c91JSg9SQOyQ7KxO lKhB4gp7u55vg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: add parsing of phy bitmap for reg rules From: Kalle Valo In-Reply-To: <20231004092818.25130-1-quic_adisi@quicinc.com> References: <20231004092818.25130-1-quic_adisi@quicinc.com> To: Aditya Kumar Singh Cc: , , Aditya Kumar Singh User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169712675583.3501995.11017953895035699214.kvalo@kernel.org> Date: Thu, 12 Oct 2023 16:05:57 +0000 (UTC) X-Spam-Status: No, score=-1.2 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 09:06:26 -0700 (PDT) Aditya Kumar Singh wrote: > Certain regulatory domains could put restrictions on phy mode operation. > For example, in a few countries HE/EHT Operation is not allowed. For such > countries, firmware indicates this via phy bitmap in each reg rule. > > Currently, there is no logic to parse this info and then pass it on to the > cfg80211/regulatory. > > Add parsing of this phy bitmap from the regulatory channel change event and > then accordingly map it to cfg80211/regulatory flags and pass it on to it. > > While at it, correct typo in debug print: s/dsf/dfs. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Aditya Kumar Singh > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 29ea0d409103 wifi: ath12k: add parsing of phy bitmap for reg rules -- https://patchwork.kernel.org/project/linux-wireless/patch/20231004092818.25130-1-quic_adisi@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches