Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11629563rwl; Tue, 3 Jan 2023 02:13:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXvDyHdk7w+66xfc2lHPOIYq+OQZdRFClf3tGrMdG/lWOXXE+lIybtl/UfBGZNQMp0LkuYUm X-Received: by 2002:aa7:db47:0:b0:46d:b89a:de1e with SMTP id n7-20020aa7db47000000b0046db89ade1emr34752655edt.1.1672740820052; Tue, 03 Jan 2023 02:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672740820; cv=none; d=google.com; s=arc-20160816; b=vZhDE+/Yeezki5fcGgpMumli2ZODWOE332ANjWdy0Ny4PUwTBgJSNaWrrzFOtbmeWs ILgameH9PnX1f1fC6OHha65rui3G1Dy0sEQwR/j6//sO8QbKupGmryTPXYMqReJFAK6z RisLfFqpxMIO49vbcHwaRoY16Tci5QaHRbjshmpwq3cmHeZPBs1AULWVhrUteYXzo136 9VGXePT/4RxyjLgqbtAkARqsa8Or/5I7y3PH4pW3SzvlOf6Vt3lBM/h3rpKYuiR5HYh0 aUVk22DZi0B25HusplgTe9ChZ6RwvpZLXBdH6m3QbgQKJvwlHNsje4FKPtuqv0QuEq4N dOuA== 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=ljmQ9bAZPmXSfDHDUrqKM7wdCfMQ9H7Pk1+q5jufEQU=; b=00Mb+2lqMCafOT/XCWiydtcKsp32IFWuWlZUS1rOq5XR/Dl3v1+L1VQMucHOkII5O1 HMRIxTiCe/ID1Zzx7R31fm1ZcXy97G3jwl1SynpyMP+TuUzg+fKcchlOXmJ9k27jMDsL KrVkDTnBOKu7o4CKDRrTIfN97kkqvGpeCnx5bGTaxo0fVnHP0jFBFsjxGc7Q0MS9C5ne pU3bSTiGOfOYtPCCVpvSQ8646SfR7Behz95ib+fEWWfsQFHf15WbsUO6xey5PlYWjKWj cfty8P/eZBU+YOC1Mc0JODJcBCvwP8703oPXLK5TBKw5yOsn6+g33K9AIZ9ibKNWU6bs Cp2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z4CLxw4Z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr6-20020a170907720600b007c0bc4924cbsi26617949ejc.963.2023.01.03.02.13.23; Tue, 03 Jan 2023 02:13:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z4CLxw4Z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236854AbjACKL4 (ORCPT + 67 others); Tue, 3 Jan 2023 05:11:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237140AbjACKLc (ORCPT ); Tue, 3 Jan 2023 05:11:32 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8D5D126 for ; Tue, 3 Jan 2023 02:11:27 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 303AA4aR002381; Tue, 3 Jan 2023 10:11:18 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=ljmQ9bAZPmXSfDHDUrqKM7wdCfMQ9H7Pk1+q5jufEQU=; b=Z4CLxw4ZWVM9MARvB/FxbBbMEyCHQhwKEbmZTD2DbrQ1/575tQXaR1R2uR3GQuLKtSwQ sFyq4GiaeCtPaUw0kuxLH9A/RqRSW7OITuGXPiSoP/7+eHGnB4a22UTGJPea4nT/dxOt 9qOp13FbvGceIx1nPJzJDQnCjsBEAsL+GpAgRd0MDCnoUwOtD+PxfAyE2H6joWfnjMdV AzW2KUhFw/QXQ3+JWbkesCNGj9sFMq35GTQg6t23hs3Jtp3MFMdopB64XBQRKOWKMPKi oMs+oOHuF3upxpTtYcP7Q17pLzNPI3hhFEXSI8Hq1rgekJLei4egGXmXS0YHkm97NX2T gw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mtd61cfyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 10:11:18 +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 303ABHhg005249 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Jan 2023 10:11:17 GMT Received: from [10.253.13.254] (10.80.80.8) 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.986.36; Tue, 3 Jan 2023 02:11:15 -0800 Message-ID: <55142d40-bc76-a67f-9750-1417cdaa0578@quicinc.com> Date: Tue, 3 Jan 2023 18:11:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH] wifi: cfg80211: call reg_notifier for self managed wiphy from driver hint Content-Language: en-US To: , CC: References: <20221214093937.14987-1-quic_wgong@quicinc.com> From: Wen Gong In-Reply-To: <20221214093937.14987-1-quic_wgong@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: kTXqjwl4NXc6v8YhW3Q0QdkV4aBE7o9p X-Proofpoint-ORIG-GUID: kTXqjwl4NXc6v8YhW3Q0QdkV4aBE7o9p X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-03_01,2023-01-03_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=736 clxscore=1015 suspectscore=0 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301030089 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 On 12/14/2022 5:39 PM, Wen Gong wrote: > Currently the regulatory driver does not call the regulatory callback > reg_notifier for self managed wiphys. Sometimes driver needs cfg80211 > to calculate the info of ieee80211_channel such as flags and power, > and driver needs to get the info of ieee80211_channel after hint of > driver, but driver does not know when calculation of the info of > ieee80211_channel become finished, so add notify to driver after > reg_process_self_managed_hint() from cfg80211 is a good way, then > driver could get the correct info in callback of reg_notifier. > Hi Johannes, Could I get your comment for this?