Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp412676rdg; Thu, 12 Oct 2023 09:06:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHneVUDUJnI5mo9tHeVxTwCoWSctLDWAiIrjWDQTZpugSP4S4dk7LFt1KXY/4NoGW3zj/3y X-Received: by 2002:a05:6a00:1da2:b0:69f:1791:70b with SMTP id z34-20020a056a001da200b0069f1791070bmr15104667pfw.34.1697126784992; Thu, 12 Oct 2023 09:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697126784; cv=none; d=google.com; s=arc-20160816; b=yG6dARpiGYYcUd8CFcJ+J4OHzK8gLYW6D7cNaJt22F6DvmXrKhkt5BnJoeknN4ID2s FhQtflKcwYeo7RYCCwNXrlWCTfvbimfZULIVcw9zgGplzFD7EVBCpZk4PuN6EUvNv45e fsrGV6WjuOGv+j81uNjlhvNeMbUMeybrRKilqb4RKImSJxnF23vw7I6BF1KgpeBSZ+7X GtaD1akvamfgSmDA7hVEWSBKR1ghuZfmbghCXZFGzz/HcJ1wAbfEqpfO3/MZ/gDfnNGu SOYzpqsjtqm+aKU6peC1L+94UfbfFjN0twHiB5AjNJAyPSJBD2RE5+5zd4GjHY3G+jkx 2MhQ== 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=TIDMNvjXXARldhYmW+eIJpd4oHzJMPG4QgqoiIPmzO4=; fh=QFWxukWlorUX/bsi3UE8F//CI5JK08NVe3LBRdckAgk=; b=UXLBiRJ+uJgLSftq5taQ7IAyo6aijBU1eTD2tO8o165DWap2QXmiDytgCxa79MC8LQ 7ki6UeA6fq4Mi1ReN5+P3IfoLs8OLFXnKmxZ6rFQsT3F3a66wI04sJKTlOeo1jYxlrQe +3icC0kF9f+daAbKM98IDL+zmZSyF9s1Rw+rdCbTmRqTLazIGSK7X8VWfWJKSO36TEXC aWFybIPjLD7I3wA52sfWUGQjyPWoKS1eM3HF2HOAlmMQ68+/WzmNmhR2YIOJg5z7WJKh 94a3Ph6t6du4MJv1XzlnFMj4DCQ/oUPV/ozqYTt+ugrsAQB6OcK+2KXVHHVl0TIYZf0x 2rVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LvBGyntd; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h36-20020a635324000000b00578acf1e8a4si2585876pgb.573.2023.10.12.09.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 09:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LvBGyntd; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 7067A8083B23; Thu, 12 Oct 2023 09:05:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347305AbjJLQFZ (ORCPT + 52 others); Thu, 12 Oct 2023 12:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343739AbjJLQFY (ORCPT ); Thu, 12 Oct 2023 12:05:24 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64433C9 for ; Thu, 12 Oct 2023 09:05:21 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04A22C433C8; Thu, 12 Oct 2023 16:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697126721; bh=dPq/9PG89TMNNnkHSr6IEMvTWzoUZUNyWBAewZJKpcU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=LvBGyntd5PovfxlnjCb5wVi31wuW7U168pycNqp5oaH8mye6LWQbQy92JGOEDm+gx y5EDyUiUq7gbIua4oI+YAE8GlPTUoDtjzTSHGMbPO0hK3/mFWXqpUIaIZcg8qVjDDL qE7O66bt8IhjKU1E3AgYpCxTtLj9bRUB8cWS1CQFMVCcBhEa7R9MGakB0HVi5mIIwg +rGs+iu/RrJqQoD0ffSBZS0nPsBdBm74oPUv2Rgp20g/7fp3LWYNdgpiZ+G1H6qGNB OsNpfIALH6Ufc4NXjnSLFJld1ivVyvYvQGHC4QTrl0RZbzJkZKVp9qQo74gYj1wKQe yWCGE9ws4kKmg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: add parsing of phy bitmap for reg rules From: Kalle Valo In-Reply-To: <20231004092655.25020-1-quic_adisi@quicinc.com> References: <20231004092655.25020-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: <169712671798.3501995.7550193627485871420.kvalo@kernel.org> Date: Thu, 12 Oct 2023 16:05:19 +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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 09:05:28 -0700 (PDT) Aditya Kumar Singh wrote: > Certain regulatory domains could put restrictions on phy mode operation. > For example, in a few countries HE 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: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-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. 534c2dd8099a wifi: ath11k: add parsing of phy bitmap for reg rules -- https://patchwork.kernel.org/project/linux-wireless/patch/20231004092655.25020-1-quic_adisi@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches