Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2800109rdb; Wed, 4 Oct 2023 11:46:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGI0LFltMX3aqE9YY2baik/7EQ638dn6mIUQQImSsaD7nRvqH0zx5+JAypua3UDtJomUFOQ X-Received: by 2002:a17:90b:3891:b0:274:862f:3439 with SMTP id mu17-20020a17090b389100b00274862f3439mr2987864pjb.13.1696445204787; Wed, 04 Oct 2023 11:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696445204; cv=none; d=google.com; s=arc-20160816; b=LRYnis1YvrgW7ihaCLHPblC6zym1PrxSgNhg9z15GtTdNWVJ+d9qgu+NcyPVfae6LV 6EmINwh3KMUAhm84/6C4pu9eBU73q6M9WwXTgjmT1+fT6hmjorA9wqHWwdMiwZa+pbUE btzi1hXqB1/+IbnQgYtLKveBlJfeRzYnQbDkc+RbIly1AkCRPFksl25xa8OyOb8RoFCo KpHThmFVMQD4mNFHeO7S+D/DTlGtMsqV4gZFuRU1QGz83i11i/F+8jsx0OSthz/1QUJb ndTvXPLFla+IAkxZUyKg4QkkpSOFW5dA2fgDv8sS7BHbLPRZ3M/a1adNdykcTyNRdGwB axbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GurH8bKL+CTciNVyLikBgLu6gh2boLCkwEgQL80rfZE=; fh=r0OzDdKDxSc6tMixWeTSJLukGnQO5pf+1QTt3PFl80Y=; b=IUrtS/ZwhMqGH8wkBlt5IpfZSCC7/i0rb+8CSM8zbOHgdxyu72ojlhotqckZKHZ9u6 TUaduKnzYjbqAkPeGTvkzT5ymK1Ry8RgpK7Ixbzc4dCe0CEZw8BtozW1kqpEPdAZ05kq Y0hYrPNPYwDS8iyKQNna6IuGecclkpFaVrt/Iqqh7faBkxpvWqFb3rz2kZriuR+pky3Y UFHtU2WaODZgVdDT3gAGSFTT2yYkTaXdRMZXVZMJSdn8/kI1I1auqEv4VH8GVEGxGyva b60U5nF48mrIPt99KMQy+qLkOak0Hs0G1pe7wz5sx6q70aJA1sffWR7RIgQ0XIYShJHA p9qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GnlFnFdv; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id e10-20020a17090ac20a00b00262f937bf93si2083721pjt.77.2023.10.04.11.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:46:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GnlFnFdv; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id ACF8780A8557; Wed, 4 Oct 2023 11:46:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244578AbjJDSp7 (ORCPT + 53 others); Wed, 4 Oct 2023 14:45:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244576AbjJDSp6 (ORCPT ); Wed, 4 Oct 2023 14:45:58 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4D1EA for ; Wed, 4 Oct 2023 11:45:52 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 394GjCMU003230; Wed, 4 Oct 2023 18:45:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=GurH8bKL+CTciNVyLikBgLu6gh2boLCkwEgQL80rfZE=; b=GnlFnFdvHb72YSp/zezQMclQUopvXy/BHRFK33qmv1ESdPm+cB/juOAvaj/rV/rxaVPv 8iVtTHzgc4bqrfTV97v4+lLSferIB+Ls/Hw2PQPQKs2RLebhx1b6r1F9fimlMFO6gp7F +2xvw6i1kblhL9Aobuwc+EA3bC9p+qNeiiRNQWKIhbFligZkfkhEZ+r9GhKHs6Sga+xb Q4Ami6TxFuRPx7QVhbVRnR8hFbIpw8lqX6mU4OovJydVDuvdzPa7eQPi6Iszf22O5wXY S4g+xFvp/xxdMOoVo46rRL9cQoRYBQYG8u6SDYgprTCTNRqYltEodUUWNJXDjQQI0JiU kA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3th2gq1tux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Oct 2023 18:45:49 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 394IjmOW001987 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Oct 2023 18:45:48 GMT Received: from [10.111.179.185] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Wed, 4 Oct 2023 11:45:47 -0700 Message-ID: <75d04fcf-b800-4c8f-849f-ddc655462a97@quicinc.com> Date: Wed, 4 Oct 2023 11:45:47 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath12k: add parsing of phy bitmap for reg rules Content-Language: en-US To: Aditya Kumar Singh , CC: References: <20231004092818.25130-1-quic_adisi@quicinc.com> From: Jeff Johnson In-Reply-To: <20231004092818.25130-1-quic_adisi@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: vhZvmiKeP97rWZD97mPeAQGjr1dNXJiu X-Proofpoint-ORIG-GUID: vhZvmiKeP97rWZD97mPeAQGjr1dNXJiu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-04_10,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 impostorscore=0 malwarescore=0 suspectscore=0 clxscore=1015 bulkscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310040137 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 11:46:05 -0700 (PDT) On 10/4/2023 2:28 AM, 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