Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4185782rdb; Thu, 14 Sep 2023 14:43:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrfqUffdpjEWDk+hE5wDAr/h+bAhawciNbfjuF4iujZoAuqgARnfiL45FXdkD2+99a1bfr X-Received: by 2002:a05:6358:6f12:b0:134:e631:fd2b with SMTP id r18-20020a0563586f1200b00134e631fd2bmr84047rwn.0.1694727793233; Thu, 14 Sep 2023 14:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694727793; cv=none; d=google.com; s=arc-20160816; b=wCevTF+yaE4uSdZvldVtMYrthGTDNcZW+ypmU109Q7TDAVy4HbsexTN9M1juasHnav IJZEmaNJtonoHANfyc20CfRRyPHBk6+94u/fMyPre1MGfABcEZcx/7vgSV3FBZCV4LAX WT7nx5FZMYDXBgWH/tzvAzuTxaQcvDgTke9sLwwszd+GYTLZI90zrpOyId6WCIb1nlP7 o0F36HxjK2UK33TJTWsI9pftKStUQiVd8WivwwGT6WkyQlmwozgOURPPPCMi9KY+QWiN +K+hczrVvwNDq/k2rc2pbYTVX4G8rjitVenWa0uhlejuz3xFPcZ/sRGdf9cF2eaHWkc5 6nDA== 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=bgXlpcV8eKLz9WA3vQHuIZZ80FfUyEMV8UohKl9+Gzw=; fh=Uk+x2ok2SkraawYfl709wyKyFyIr/hM8KHrL5kNSjjM=; b=x6zmyYkejvTe+M/gvnsvvV5P9JSaxOr26YaNaKYE2y1+Il01dp0J9Z+zaw4azl1KZQ 1dd0DEr1uDs8qYqDYDG6znZwKISvXBwxQW9/OBwHWNUttf7RP7wOnJl6Ode39ZpG6vDU WUcfx7sN2VPI0/5yDNOxTMYM2tG8ONvZNRA3XORKUmrBLEmv8ycjKDU0JxhOebWIDC2U CBwP5To6XkUjcaJgxNGkHuDZLq6lqBYHYZPR0UbKcjpK/vnbJNlT90ky0D61CH1ryeMr bbWOExmPpfML1XnmmuDDPBYE/JYwgRnZmg9UaJlo3qIhVRm769pMULe9VSoW2vIXGl5T /Kjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jttwqktM; 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 f12-20020a63100c000000b00565f7784bc9si2026629pgl.186.2023.09.14.14.43.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 14:43:13 -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=jttwqktM; 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 583DA85A0DD8; Thu, 14 Sep 2023 10:16:49 -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 S236843AbjINRQv (ORCPT + 57 others); Thu, 14 Sep 2023 13:16:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238630AbjINRQt (ORCPT ); Thu, 14 Sep 2023 13:16:49 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72CE1FEC for ; Thu, 14 Sep 2023 10:16:44 -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 38EFEoEk029345; Thu, 14 Sep 2023 17:16:40 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=bgXlpcV8eKLz9WA3vQHuIZZ80FfUyEMV8UohKl9+Gzw=; b=jttwqktMhnE6/da/OBNs4DqSjg5WGP56GIbWMUybUim4joAXCeFgeRyhSIP0DX5/VFoE KOP5l36CM0R2dDkbYu9FnzYixWTDwpz7pF+WmWbEjJneHSkCI6vkZpl032LMnjH9mHUp pue4huVv2oCs9nbjPsVtrNYJMEu2s/F1iZL36oPBCwFkQngWGdkmAo+6dF9EuMQgASZj n2kwiMBGcBBMhNuEhOL1UpJ2ZktCbz0rKFAIRqC5xoSGlNNdgdYq85NLhE7hvM/XH/J8 y31VzIV0tubfFFqGcgs2sW2yVSMWtLtGbIaWkwM9CFuhUMlYg3UZfUJzW/6vP/9LJ7sJ Yg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3v4g9w45-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 17:16:39 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38EHGcMw026899 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 17:16:38 GMT Received: from [10.111.183.186] (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, 14 Sep 2023 10:16:38 -0700 Message-ID: <9a24244c-8007-49d7-8355-d6b366826d61@quicinc.com> Date: Thu, 14 Sep 2023 10:16:38 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/4] wifi: ath12k: store and send country code to firmware after recovery Content-Language: en-US To: Wen Gong , CC: , References: <20230914090746.23560-1-quic_wgong@quicinc.com> <20230914090746.23560-5-quic_wgong@quicinc.com> From: Jeff Johnson In-Reply-To: <20230914090746.23560-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: nalasex01c.na.qualcomm.com (10.47.97.35) 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-ORIG-GUID: v-QqftaJGdyN_Pz8i6GT-3Q1PMzScStY X-Proofpoint-GUID: v-QqftaJGdyN_Pz8i6GT-3Q1PMzScStY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_09,2023-09-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=819 priorityscore=1501 lowpriorityscore=0 suspectscore=0 adultscore=0 spamscore=0 impostorscore=0 clxscore=1015 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140149 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]); Thu, 14 Sep 2023 10:16:49 -0700 (PDT) On 9/14/2023 2:07 AM, Wen Gong wrote: > Currently ath12k does not send the country code to firmware after device > recovery. As a result the regdomain info is reported from firmware by > default. Regdomain info is important, so ath12k also need to restore > it to the value which was used before recovery. > > This is only needed for platforms which support the current_cc_support > hardware parameter. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Wen Gong Acked-by: Jeff Johnson