Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2799866rdb; Wed, 4 Oct 2023 11:46:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGHM3iskVj5CQI/ONSHcfQNol50Qq3gdXV0vrDBm101RxEG/OFxXJXsehw0liww1rEWkXoV X-Received: by 2002:a05:6a20:1447:b0:161:3120:e872 with SMTP id a7-20020a056a20144700b001613120e872mr3451625pzi.20.1696445174061; Wed, 04 Oct 2023 11:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696445174; cv=none; d=google.com; s=arc-20160816; b=aA8g0DA0yus+llZU3Uy/Hyu15i/t2egfRW0K4AUZqoqTB73tzslH5GEaaX6h9sFWPj RyZ09pcFWkZlF2GNcdXGgdvvHT9igOQC/Jo6jGLumoJyt2n1tM3da3LJh5/pNIdPlm4O YOa6KDt/1F0PVB0cgPu3Oa0hpMdM3102zQAYb94Bcleuo1fJS0GDdtuJsVnraN9+Wf0c 6UwrZESpcKtfZ8JIT5iPFzFjHAEcvW/sF/XLYJvB09OgYo1IWnlOlS0oqmOthgZuAaKc 2zbx5AfCae+iImThM3VMx3YkBZ+jyFr4dMOLlkbb6AAXdEi20X1VlFnCC/D+JTCNr3x5 +d1g== 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=13wkz53jc/Vr3MPbZdp9C2xXm7HBK++7QkZVMb7s9TU=; fh=ButIhbx1gSzOa5IVu79uEYTV53aLtDez71oIZPYs8ko=; b=XhqJPvXcLiDAt/Rpy5pQkh1SOA0lrmaABhf4cZ3/fUeTpd2Ej2DWpmgSAh3ncJQ1Gi vXanp+z4SQGsapCbI+94ejotAtcwKlFXf48zm2RlPueQdCzMWhu+N2Y+F3eM8JeoxjKj hniYYeRUDyt8ZWDX9s3t5N9GeMxbhjQA1Is5S4xnbjm+mfRutAQjYv2nYGFFYbYw6hm0 Jl2/0PW1oHGU9AIGwJAhlejQebS5BhpsYBP5stM9Lvlw0ZfWvIzvVbfa7DPLCCxNT2Zp 5h5Dt1YDS8y/KkcVRwU4QOV0DD7GLzEa2dj1YW6DLpYsr5sZel5JBkkQtgNLDqIYci1W bV8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nf8K0KnY; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id m6-20020a633f06000000b005859f850b2csi1506063pga.38.2023.10.04.11.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nf8K0KnY; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 2F14B80752A9; Wed, 4 Oct 2023 11:45:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244575AbjJDSpN (ORCPT + 53 others); Wed, 4 Oct 2023 14:45:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244579AbjJDSpL (ORCPT ); Wed, 4 Oct 2023 14:45:11 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 614B6C6 for ; Wed, 4 Oct 2023 11:45:08 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 394IdVbr012575; Wed, 4 Oct 2023 18:45:05 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=13wkz53jc/Vr3MPbZdp9C2xXm7HBK++7QkZVMb7s9TU=; b=Nf8K0KnYT/y/GBQ59flddmKeLbH7tyZg2igQHenkOEKm1yDjX1wd+9kiU+MR3I+xuysy vLjOwexG11BVxm8T2Xs2PEHCUBqlrm/1RzPAF9iuklXSdXSvgQg3Dygbom5dth5vx+w5 thl9IfzLwQifqxVJ4uq18M8d906JLNsRIZ2zo40lCkl1wt04cQMOugUVF8UhBddcwzFs IZgyRdQzysuaJNhIeFWm3HZC6U0FmmcbYyvWMFR5SI9V5pIr/CcEU+pSo41ISqC8wyLq szNTbVcr1nvYCTvSjje/TYgQARf9uJTNoBfHLIIDwmrxZElnrY1viD7v8rvYnoim2MP3 9w== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tgr9mjt0c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Oct 2023 18:45:05 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 394Ij4bx004068 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Oct 2023 18:45:04 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:03 -0700 Message-ID: Date: Wed, 4 Oct 2023 11:45:03 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath11k: add parsing of phy bitmap for reg rules Content-Language: en-US To: Aditya Kumar Singh , CC: References: <20231004092655.25020-1-quic_adisi@quicinc.com> From: Jeff Johnson In-Reply-To: <20231004092655.25020-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: rtyCuZkrvgHC7txkb6FigFK1mRAKpCRQ X-Proofpoint-ORIG-GUID: rtyCuZkrvgHC7txkb6FigFK1mRAKpCRQ 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 impostorscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 adultscore=0 clxscore=1015 mlxlogscore=999 phishscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310040136 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 04 Oct 2023 11:45:19 -0700 (PDT) X-Spam-Level: ** On 10/4/2023 2:26 AM, 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