Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2346437rdb; Thu, 21 Sep 2023 16:23:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUUylimobicBWdaAq9lvditLjeQJme+b4FbZqVKWnjUJ38okjf4rmIeBd2YRqFnW7dPDgt X-Received: by 2002:a05:6358:d098:b0:143:897e:6e31 with SMTP id jc24-20020a056358d09800b00143897e6e31mr2094281rwb.7.1695338637754; Thu, 21 Sep 2023 16:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695338637; cv=none; d=google.com; s=arc-20160816; b=M6YmvTpdi3tk86AZxb8b2BNpIAuqKwLYJeLtPP4evPn3w+mP8ZMJotuuH1GvEFdICk yqV8lPulcTG+YPBXR8v9zxpBmKMJ9Q+QKrfCehqpzUB2Oa7qihhozFSvWQL1Gwsh8QO+ ps117v6caWG7/si+Q4vE0DBHSKxA0Q93KHztJkJBlWRp95+JgA8P8BPexcinGjhzDH4j 5AqhHTdWhvaxsKlj7OClnD6+ZsYr3LdBrckDw9IOiAQOX1mWHkumKzJ0K7k3lzOUseLh x+LZTPcyYcuRRst7Cz/VmrD6kiGP7+56IGGBmiJgceiN5hTKMIKVI/4q/d7sNDOHfpvc 7gvw== 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=z2VIJcORkGlcuCfmFQrCGRVHfX/7S4x0N3z2O/ndP0I=; fh=MTt6ka68tOl2DgHliE8uIz7B4gveXftgBdlmHtKcCaw=; b=R0x+8Lb+CQFSzcNJLXP32ppnp1DfBbimpwmP17I98QcWAsVBehbkIErwQu8gCyFEpv ljn4VA/4k4bEUq7Xz3io1S85hYMoXfPuuT4Q6GllRHfcqRQdWu/EOQqDQCA8XsTVmdGl 3FWD1YXD+7YvPhkA5YRS211MMG0y8eU5q1fq9o4opQGQgjjVZMv87E/j7GjfaB3cJGJZ ggb2DQkpKxMMAjJT70z8cmMmGob/XMks5f6th6R9f0ZbnhSgaH3eGIgke6Aq4Bf9BMQZ LbCitUApdYKBxTsu05OTM+zyGmfGYQUML1L5meaAJm+p52/TQxL0utnwdKEgOAtQpk5U ZefQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="EmfcH/WZ"; 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 s62-20020a632c41000000b00578a6ae4ed6si2366489pgs.371.2023.09.21.16.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 16:23:57 -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="EmfcH/WZ"; 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 291EC82372C2; Thu, 21 Sep 2023 14:11:05 -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 S231591AbjIUVLD (ORCPT + 56 others); Thu, 21 Sep 2023 17:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232967AbjIUVKK (ORCPT ); Thu, 21 Sep 2023 17:10:10 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 316A832EAE for ; Thu, 21 Sep 2023 13:38:50 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38LKO0jk030532; Thu, 21 Sep 2023 20:38:44 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=z2VIJcORkGlcuCfmFQrCGRVHfX/7S4x0N3z2O/ndP0I=; b=EmfcH/WZGHi5hwAKZfzuw+1oOq1PiSKhJkM/g5RLUy4/hx/lrC9Dq3vb9pfIZfNKYp3B lSBKSacjLvX963v0yZSTS/TnKJqx35VI2QVijE5F2qe55jSiWGSBdfiGlKmH9QpU1kJy fxDkng3L1+9EbuceGKoA/szrPFmuXm0MEw6Ir84YGOaCwHJEoED8a6Luc3/sx8eZNsTu lWb3FqU9deb58REYo3QsD2Tn9/RywTKZwLK9VQrOe1Zd0k2vE1X2Nwj5LvxUw7ED5dZ1 8IW61kOK9fNJMYkvB8EVTfPMjR7QN9mmuh5iToYuGn6YxikV/hAnFZglkbUPt+rKt60J xQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8u9h87cu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 20:38:43 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38LKcg2x019026 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 20:38:42 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 13:38:42 -0700 Message-ID: Date: Thu, 21 Sep 2023 13:38:42 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 13/13] wifi: ath11k: send TPC power to firmware for 6 GHz station Content-Language: en-US To: Wen Gong , CC: , References: <20230920082349.29111-1-quic_wgong@quicinc.com> <20230920082349.29111-14-quic_wgong@quicinc.com> From: Jeff Johnson In-Reply-To: <20230920082349.29111-14-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: 83R6LyjDsvzfZ4lb-XPm0IaIIbCeqIVd X-Proofpoint-ORIG-GUID: 83R6LyjDsvzfZ4lb-XPm0IaIIbCeqIVd 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_18,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 spamscore=0 priorityscore=1501 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1015 mlxlogscore=950 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309210177 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 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]); Thu, 21 Sep 2023 14:11:05 -0700 (PDT) On 9/20/2023 1:23 AM, Wen Gong wrote: > When station is connected to a 6 GHz AP, it has 2 way to configure > the power limit to firmware. The first way is to send 2 wmi command > WMI_PDEV_PARAM_TXPOWER_LIMIT2G/WMI_PDEV_PARAM_TXPOWER_LIMIT5G to > firmware, the second way is to send WMI_VDEV_SET_TPC_POWER_CMDID to > firmware which include more parameters for power control. > > The first way is disabled in previous patch > "ath11k: discard BSS_CHANGED_TXPOWER when EXT_TPC_REG_SUPPORT for 6 GHz". > > Prepare the parameter for wmi command WMI_VDEV_SET_TPC_POWER_CMDID and > send the firmware after vdev start response success from firmware, it > is for the second way of power control. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Wen Gong As previously mentioned I'd squash this with patch 11