Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6131317rwn; Mon, 12 Sep 2022 22:17:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR6hJzuoBin98KbGE77CBMI6PzQ9gmOUQ2wRfnvDNZdBRiFbYacIiBrZjWv2KFB8OY+YrJmM X-Received: by 2002:a17:902:e74f:b0:178:3af4:fb13 with SMTP id p15-20020a170902e74f00b001783af4fb13mr5825692plf.19.1663046234338; Mon, 12 Sep 2022 22:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663046234; cv=none; d=google.com; s=arc-20160816; b=xLXvYMrDK6RUjLK4NPRE5lOwHf5WLZBCtoOjdJNO5j0zsFMUJYKgkEpnzRmgV6CBgm TWOKoDXdlFcK5SponkofVLb0PuLC0qwEeQ7d8YWEpDDNyWAyV++B5RjIdYfLBDCFVolw l1IIWQqGjTaKOCRJRR3eqxxiwM77tL4bSoH2OrJExU95tK0LCQhXUzOeLcr3Bv9l6YUF Dgy9pJBVDR/zMlTiwsTnO7XDxOpPymap9fKdXR+4dLBEuKz9K6CF1TeK1ZcEAVNRnxrJ cldJGdJnUl9zqxhgVdCEZOWUfj/L9VcrWxh1FYy3YNCawwVRL8Ii9pERcGnzEgvxTUiC n6rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=70rDZT4Uy7vqOfDZX8NnydP0tdJSsNn2wsLJTTYUt3g=; b=EuPP4yM7kW2W6CF1c8Q40ouuppOxV7F5D/wr5OZeJAwwHzm0SwXuWsz09G5EXumPH9 Aq7aSatR2NUFaAuoaxMchr4TlIKaRn7QsZ6EEtvWCdG/8e70JotJIk0BfwHnvj/XzHVL 11aXv/+xpc1yXcFi/29FRVQImjGbrmJEiBYIFqnhrkdBf+tHkO7y/O8yEf0eDbSxJl/a 0BTnKyK1xPojhD3i6LT/nizv+c9x79OnFmQ6BMXQmsdq0QkBGtHI7Mg+enrOUxEkBrgH 8qHTl66XQY7fj0HxVd5u5aaHJdfmsBY6LNyUb5OWRbZ0LgzN3ob+fWD60VOOURI7wGOy jgJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PmUB8V7b; 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 nl10-20020a17090b384a00b001fab0d18bcasi12681930pjb.66.2022.09.12.22.17.06; Mon, 12 Sep 2022 22:17:14 -0700 (PDT) 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=PmUB8V7b; 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 S230064AbiIMFQ2 (ORCPT + 64 others); Tue, 13 Sep 2022 01:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbiIMFP6 (ORCPT ); Tue, 13 Sep 2022 01:15:58 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A0064BD3C for ; Mon, 12 Sep 2022 22:15:57 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28D4fBqv020071; Tue, 13 Sep 2022 05:15:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=70rDZT4Uy7vqOfDZX8NnydP0tdJSsNn2wsLJTTYUt3g=; b=PmUB8V7bQsIK7qJ8HdCLDTlHNMfwCOFhRLBptx8TJSiUB4lpzs1C8KwArNJbkt0iVRlb Yl9dYkIw3IIuZVH7mDr46y/h8o1hjz5toL50AC18n83lWlffw4UTVPYVBTqV9vI1Mihu Mt7dyVTYXl/jsFWrIBjaBxOrwFfrOmWV6q5TCIYVraakG0my0JK2XraECiPWo2WskiVr rOjWmozxxDmRYJO9ZQ1a8cFpWFVOc/Mpu76672ID0rmdiKA498f2u4PNvBq59ww7HGhw 82fP3OqhaJGOWsSWXwWrnBtM4NYac2AlmsE6Khr7mBSx6Iwl5wf7R0AdrtBcAeanZn8F gQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jgkgkp1am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Sep 2022 05:15:52 +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 28D5FpJH004613 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Sep 2022 05:15:51 GMT Received: from wgong-HP3-Z230-SFF-Workstation.qca.qualcomm.com (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.29; Mon, 12 Sep 2022 22:15:50 -0700 From: Wen Gong To: CC: , Subject: [PATCH v3 12/15] wifi: ath11k: add WMI_TLV_SERVICE_EXT_TPC_REG_SUPPORT service bit Date: Tue, 13 Sep 2022 01:15:15 -0400 Message-ID: <20220913051518.23051-13-quic_wgong@quicinc.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220913051518.23051-1-quic_wgong@quicinc.com> References: <20220913051518.23051-1-quic_wgong@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: so1P-n8Fr5CxalM5RR2uzFUDFqGAiyLi X-Proofpoint-ORIG-GUID: so1P-n8Fr5CxalM5RR2uzFUDFqGAiyLi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-13_02,2022-09-12_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 impostorscore=0 malwarescore=0 mlxlogscore=846 clxscore=1015 bulkscore=0 priorityscore=1501 spamscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209130023 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Firmware advertises support for SERVICE_EXT_TPC_REG via a WMI service bit. Add the definition of this service bit so that a subsequent patch can check whether or not firmware supports this service. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 Signed-off-by: Wen Gong --- drivers/net/wireless/ath/ath11k/wmi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index 2c50dc8c3834..d285d18e99a8 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.h +++ b/drivers/net/wireless/ath/ath11k/wmi.h @@ -2090,6 +2090,8 @@ enum wmi_tlv_service { /* The second 128 bits */ WMI_MAX_EXT_SERVICE = 256, + WMI_TLV_SERVICE_EXT_TPC_REG_SUPPORT = 280, + WMI_TLV_SERVICE_REG_CC_EXT_EVENT_SUPPORT = 281, /* The third 128 bits */ -- 2.31.1