Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2365416rdb; Thu, 21 Sep 2023 17:11:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHH/IsiXC0TPIpJtEPhXyPsUsvNyaFPz49qLuVxg8Gj2ROpwtfo2+QorGJLPrWkfdyCGpS6 X-Received: by 2002:a05:6a21:3394:b0:13c:988c:e885 with SMTP id yy20-20020a056a21339400b0013c988ce885mr7516797pzb.56.1695341516841; Thu, 21 Sep 2023 17:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695341516; cv=none; d=google.com; s=arc-20160816; b=AfnX6A6mSk8lcWKVrpwY+c798XEtVBCy4hk967vKuZo/iLW5t0+tbMzraf9HOITNpA N3OsfEYS1TWGvWUoYCYhr79qu8xLCyDMEteqDB8qnEjJQbvF4LtKkFyLaRk29xRWNm7X DqeCe9w/yXeUkorRN5t/wLZP8ASSNGKGwCmHYYG3O+oGuCwM2VMeulEKQAEZc4hAlV6l HhT9mlB9D5bhp55MsvkednUOm2p8JqHQZa47RWlDIJTp1dU64hEGabj6dNNLbWR8i+XI NPAYSaafwUa8dvC7bWDJFv20ygD1wVHNgq570+APseyU0HTGbUdKUsF+71F0R3rMzkOK S4mw== 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=Q177xd5Icb/tt7BCemyafCuKovxMxxYFrtHUpqRdPVI=; fh=MTt6ka68tOl2DgHliE8uIz7B4gveXftgBdlmHtKcCaw=; b=Ya9HampEUuWA57Kz/F5uov1uKER3MosNAG08zCWOkvZEjFPlW8YInNSwyd2TjLtXxt VJQRthU6IuyiWlu2NbUjUPrzu1cNW7ZkRg3tkzKZ+xW+oA2TT5NJwR8NgsvHKzHplc5Y YYPW2c3cBfbJd+TQI/zktZW+WyVd9WUQhm0twkHj8HkDtqCLLCMSBrMlZ6sz6SHoGRRO GVwLL6ht6Xjcx4zCDxA1d2P76fLQKjdhwBCEkvMIPd+SJpqeXZeeFktyBM/urOxPqdVK xoUwBagPzgB4DqHZmdwaRlvlSBplAl2lq50YiK6z2yq2t8ec81Hx0bS+GrF9n5b+EAug nh/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K3d1l3da; 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=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id w4-20020a634744000000b00573e6013bc4si2445998pgk.851.2023.09.21.17.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 17:11:56 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b=K3d1l3da; 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=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 65D2983A9F8D; Thu, 21 Sep 2023 13:06:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbjIUUGC (ORCPT + 56 others); Thu, 21 Sep 2023 16:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231529AbjIUUFr (ORCPT ); Thu, 21 Sep 2023 16:05:47 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84CD99B5E for ; Thu, 21 Sep 2023 12:58:20 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38LJwBHx004066; Thu, 21 Sep 2023 19:58:11 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=Q177xd5Icb/tt7BCemyafCuKovxMxxYFrtHUpqRdPVI=; b=K3d1l3daLrEUfcAb6d5vZlPFpPdW9rIichGtZD2kc7iRsQI2GkzgHL4WPygLdwPKC5d2 xlA6XSXENgCT59pmizIQj1Xv4N9GKMmSs6bLu5IhQlFq/zv9wTF2ww6hhSOJpUicPF6o GTk+5BSzwYoFqYnlYOXgK8fEUQzT/qdz4ENYYi6X5MPq8q5b7P7hYsgsI8wHb8PSWCK3 k16R4pch+xaiFTkleuXNv5jyBpgAnGWiWoq1QW+BWnGJoAkDITC7iwflStjxK6JLQqC6 dtTLPqfqCSyw0po4vVfgWelKTBgH0WSID15aRFRdNDzpiPzGMJHYF0+7VfSyhQYRkzYb Vg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8u6rr5e7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 19:58:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38LJwANT004358 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 19:58:10 GMT Received: from [10.48.245.144] (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; Thu, 21 Sep 2023 12:58:09 -0700 Message-ID: Date: Thu, 21 Sep 2023 12:58:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 04/13] wifi: ath11k: update regulatory rules when interface added Content-Language: en-US To: Wen Gong , CC: , References: <20230920082349.29111-1-quic_wgong@quicinc.com> <20230920082349.29111-5-quic_wgong@quicinc.com> From: Jeff Johnson In-Reply-To: <20230920082349.29111-5-quic_wgong@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) 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: LXrd9M3x6pw7EKoww_pbZajMW975X2tg X-Proofpoint-ORIG-GUID: LXrd9M3x6pw7EKoww_pbZajMW975X2tg 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-09-21_17,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 mlxlogscore=827 impostorscore=0 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309210171 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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]); Thu, 21 Sep 2023 13:06:13 -0700 (PDT) On 9/20/2023 1:23 AM, Wen Gong wrote: > There are two power types for 6 GHz regulatory, one is AP, another > is client. > > When wlan boot up, WMI_REG_CHAN_LIST_CC_EXT_EVENTID is sent from > firmware at an early stage, the interface mode is not decided at > this point, then ath11k select reg rules of AP type as default. > > After interface is created, it is exactly decided the interface > type such as AP/mesh point/station. Then ath11k need to update > reg rules to the exact power type matched to the interface type. > > The client power type is used for station interface, and AP power > type is used for AP/mesh point interface. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Wen Gong Acked-by: Jeff Johnson