Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4263867rdb; Mon, 11 Dec 2023 13:54:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUuHfVncOEsr51Vwbjm8qfOQtxfu9RCM/tfDgdfkAcTdmdhvC8LcaC7j1iX3G4svdXsrsj X-Received: by 2002:a17:906:c141:b0:a1c:a542:2fcb with SMTP id dp1-20020a170906c14100b00a1ca5422fcbmr5844230ejc.31.1702331691979; Mon, 11 Dec 2023 13:54:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702331691; cv=none; d=google.com; s=arc-20160816; b=SiVtXPebTUHLRgtRJz0ZYyOxquJg/uUOlKvvPAGgCdHqXo9e1wPWbhFPcDEcBFZSoC g7Yo51z6Kf90RG8oaUazxdkxY/dh5wnliqacf1NSg9jLH9Yfs/V+hkke6OnfBUV4yTd4 EOKziCJQ2SEknC8QmqxZ+FJA7j0gLyziZbgzM7hAk/1RgACKzhKCdd5EKoTD44Y4UU2L CmD+tNMr+QbzJz4EZO4LpZg/LqvyFaI5NpzCRTTfnTE7cW+myJVGU3hGpwQGiFaWHyu0 LQS90ENRCi4x7YhQucjBeuxkESJcvlvk5RiqmzMw99KpaJ+dX9BEQSJgm0RLK991Elzc Ncaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=cYLWy8Z8XT8bQFQDNBoDTx4c/HY8Xs5/LrvAdqo0ps0=; fh=lP+FyPnTPmJOMA/wP4iC1fr6HzuBVIppIk9dmo9v2y0=; b=omDR4TTPxNME2P1caDRbI+s0Vk1Uc7AB2oZehWvwqgQT4EitBh6jFXXYwn9dBj6l2m SEHRTbZ9933YrXF+/jI9ECJgafYuxec9xBiCSjcFM80JDAv/0Jp0pblI2lqHa4FfMFxV q6o56IUQP74nYhNcrnea1S6e7yxkMbEtKUfbC+XFNwPcOaUQ6IX7bhJPYtbSKLIswIca yoKTWRuqGePjGJfPXzZudrvLyOK1bJh2aoxk8HQCHaCSsHe4BA502NRTa15dOeLDNkt2 7Z48z8rjzIHJ7YUazqUfPm4zsFMHNif7RwCp7gG9qqhav8G1dPHLR7AGRWWS/YUeQbq3 DhBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LckOxhbq; spf=pass (google.com: domain of linux-wireless+bounces-676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-676-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t6-20020a1709063e4600b00a1cebd1b010si4132026eji.919.2023.12.11.13.54.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 13:54:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LckOxhbq; spf=pass (google.com: domain of linux-wireless+bounces-676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-676-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 95B771F21A8C for ; Mon, 11 Dec 2023 21:54:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92BBA54FB4; Mon, 11 Dec 2023 21:54:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LckOxhbq" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A408EA1 for ; Mon, 11 Dec 2023 13:54:44 -0800 (PST) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BBLXKjp001032; Mon, 11 Dec 2023 21:54:43 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=cYLWy8Z8XT8bQFQDNBoDTx4c/HY8Xs5/LrvAdqo0ps0=; b=Lc kOxhbqmPbqfZWLiRqZJElpZl/aDdpvzqDKOKAGzYZHx8+AsopBeYh6znQY9lB94q a0oUmZLP7blOfF9xbIMSt8Qkrk+GHpfSJr0uSeuaN5EC7NGZtgsiRym05aeb38gB ysA34oJUeNHQjDOmMLi6g7S7cBNxZU4MYmyVRv89D/x/09Bkepcr/DIWmXveLhvt m8QnqakjTn0Hd4O+skj05WoQa64FILNaPrT99wyZrZrTjK4FEi/5YFqdrBgk681g DUKtc2gyAgNmVT7T2HgSaQHW1UX0hjPU44enfwUepQk1+fdufRK3svBVesufCtRo 9UANp8wKVAVXUM/zKFtQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ux25u1bc9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Dec 2023 21:54:42 +0000 (GMT) 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 3BBLsgkF000399 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Dec 2023 21:54:42 GMT Received: from [10.110.106.103] (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.1118.40; Mon, 11 Dec 2023 13:54:41 -0800 Message-ID: <23780d61-d236-4742-acc0-fdd1d230773a@quicinc.com> Date: Mon, 11 Dec 2023 13:54:41 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 12/12] wifi: ath11k: use WMI_VDEV_SET_TPC_POWER_CMDID when EXT_TPC_REG_SUPPORT for 6 GHz Content-Language: en-US To: Baochen Qiang , CC: References: <20231211062216.382164-1-quic_bqiang@quicinc.com> <20231211062216.382164-13-quic_bqiang@quicinc.com> From: Jeff Johnson In-Reply-To: <20231211062216.382164-13-quic_bqiang@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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-ORIG-GUID: DE3SMGOg0pY9pWUN-kucaGZA-F4IAmOP X-Proofpoint-GUID: DE3SMGOg0pY9pWUN-kucaGZA-F4IAmOP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 malwarescore=0 suspectscore=0 adultscore=0 priorityscore=1501 mlxlogscore=957 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312110180 On 12/10/2023 10:22 PM, Baochen Qiang wrote: > From: Wen Gong > > When station is connected to a 6 GHz AP, it has 2 ways to configure > the power limit to firmware. The first way is to send 2 WMI commands > 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. > > When firmware supports SERVICE_EXT_TPC_REG, it means firmware supports > WMI_VDEV_SET_TPC_POWER_CMDID, then ath11k selects the second way. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Wen Gong > Signed-off-by: Baochen Qiang Acked-by: Jeff Johnson