Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp101968rdh; Mon, 30 Oct 2023 15:27:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGh/G1nOy17EveV1fgK5qOaX8WasQ1F0km+9PFBd7F2+PWc2ldly0clCYC/yXxZh/K7aQDR X-Received: by 2002:a05:6a20:daa4:b0:140:730b:4b3f with SMTP id iy36-20020a056a20daa400b00140730b4b3fmr12229508pzb.1.1698704871189; Mon, 30 Oct 2023 15:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698704871; cv=none; d=google.com; s=arc-20160816; b=rxzk2LSbIUeC2plmlau0sHk+anyvHtaeuA1X3B8mdSAb/XIW/3yWhOrni2gQcwypL4 IVKTiVNQjLHTQ1PWQ5l4bE49GrTVIo9rEBb+7+4cE1g1zTEvtSnZQg+cNyRV+VsR+SmJ LlZ0tV93zLkWx83iteRuSzZTX6UGE6SjyO3XfnWRfmSkuRZpsGjsCVsRG0THv0/4r55K AmiqVD7RFQrJYmBazSuLPcSozxfZ4taBUGAGpsLZJyaIx6XxaRUs7Xb6FwJhgOEYs+5c aF65G52cMqNAYShFj4yIttxcJsBopJHi17hHcmMHac1HHJtL/6Y9GqBU4S8esFX2IdeL hdDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jXzHCSyj9C0E6i8loryrBAmW6y6X02LfmsWBoLfcjRQ=; fh=6qs3geF0D5nWTaL3m4NUe6y/qNZa6HL3iRyPKqGfipQ=; b=sI4xU5r+eZFwhhBCrVKrJYBIoer0Rav6CEItVwlHRo8xhixm96J5AJWeWxB1VfEerl ghFoIGxevHtscX33p8WWpw+AsSoVkX3UmwSLPtDPnlClVGxl5JUqVaS8PohMwYpngI2w ksuFuUx+6QAOpNZtRiNE4iqs1HMhviBIKrtFjz57xLGAvWJezqnCBdLXA80Od9e+XZgV qdQTb6k/ZAFBzER4QTHPZNyCXCSh+NK2MLAZzIezjfaFnBlh1pG8qmfDqMsnrl0WLNvA wtS/FRpcJs+LJLDLnVxZZALOYPhFxSlDeWRA7sh+J5pF1uLEWXi0yogJIuTkMjFHRe37 ACPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Uv80+PfI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q21-20020a656855000000b005b7160263efsi71475pgt.489.2023.10.30.15.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 15:27:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Uv80+PfI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 71199809A9BD; Mon, 30 Oct 2023 15:27:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbjJ3W1q (ORCPT + 52 others); Mon, 30 Oct 2023 18:27:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbjJ3W1p (ORCPT ); Mon, 30 Oct 2023 18:27:45 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DD2FE8 for ; Mon, 30 Oct 2023 15:27:39 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39ULqTE3027293; Mon, 30 Oct 2023 22:27:36 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-type; s=qcppdkim1; bh=jXzHCSyj9C0E6i8loryrBAmW6y6X02LfmsWBoLfcjRQ=; b=Uv80+PfIfUv8cs+iET9chBHoRWovIqozXJGT3gAeWcxhvMbN50+0pjQW2Eb06jUCZC0h c2BTxPkNqlLTbtqUUUU4FIJAM1FdZqZqeFpaICrkwL+lCrZwk401n5cI5ZU79W7rc7J+ fgvjhKEoYREA3aP4RcKt2WG0/lQbj0IV+ffCnw58zvouBYle5a7hyAQMCg1aSNsvbVOx azeJwqVEYJjunfIk1u8OMBNaAqogFnZsJ4xJKgFd/ObbW4cm9CShBOsbx3q6FKmwkRIK x1CNAdUKZ+OlhHKqPI2juOe+iPrgcSxZCY9FV1NTm3fcgBib5D1/KlsuOBTjdJFIsgbQ WQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u2dey175h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 22:27:36 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39UMRZbJ021330 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 22:27:35 GMT Received: from rajkbhag-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Mon, 30 Oct 2023 15:27:33 -0700 From: Raj Kumar Bhagat To: CC: , Rajat Soni , Raj Kumar Bhagat Subject: [PATCH 01/13] wifi: ath12k: Update enum wmi_direct_buffer_module Date: Tue, 31 Oct 2023 03:56:48 +0530 Message-ID: <20231030222700.18914-2-quic_rajkbhag@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231030222700.18914-1-quic_rajkbhag@quicinc.com> References: <20231030222700.18914-1-quic_rajkbhag@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: IwjlGxMzqnrxfOW8SL4HgLWxMRGJrpbG X-Proofpoint-GUID: IwjlGxMzqnrxfOW8SL4HgLWxMRGJrpbG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-30_13,2023-10-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=940 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310300176 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 30 Oct 2023 15:27:46 -0700 (PDT) From: Rajat Soni Currently firmware is sending module id as 2 that is not supported. This causes functional failure in driver. Firmware added support for WMI_CONFIG_MODULE_CV_UPLOAD. Add enum WMI_CONFIG_MODULE_CV_UPLOAD in wmi_direct_buffer_module to resolve this issue. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1 Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Rajat Soni Signed-off-by: Raj Kumar Bhagat --- drivers/net/wireless/ath/ath12k/wmi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath12k/wmi.h b/drivers/net/wireless/ath/ath12k/wmi.h index 629373d67..8e1eda7aa 100644 --- a/drivers/net/wireless/ath/ath12k/wmi.h +++ b/drivers/net/wireless/ath/ath12k/wmi.h @@ -2230,6 +2230,7 @@ enum wmi_beacon_gen_mode { enum wmi_direct_buffer_module { WMI_DIRECT_BUF_SPECTRAL = 0, WMI_DIRECT_BUF_CFR = 1, + WMI_DIRECT_BUF_CV_UPLOAD = 2, /* keep it last */ WMI_DIRECT_BUF_MAX -- 2.17.1