Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1823588rwe; Fri, 2 Sep 2022 04:34:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR7W2bpAhXonmrDP9JsCTf5vbDvgOnM8ufwH97wS3fZvVTcBk7xdGju2gpKSi0eBNFkXfySq X-Received: by 2002:a50:ec07:0:b0:447:ee9d:effc with SMTP id g7-20020a50ec07000000b00447ee9deffcmr27913906edr.245.1662118441947; Fri, 02 Sep 2022 04:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662118441; cv=none; d=google.com; s=arc-20160816; b=mXm231vBKxGw9bcm5hsWo4xt/Y+8xTtGqvo0++msFcaItfD4oezqvD4DkYYCg6R1Vl IkLyQ8ixnMPgwh5C2kZDYj0sHdFposp0eAfz2Eh4jm1UR09QwHeRMtywh6oUHVbt94yB tCxK7CYePG5210Q7rSleHA2SZ3YuvyjCsnIo7Eal1lazNOGhGA6R5aBx4icVH1X4dz2r 6+ZJ3p/xeqxamodcaq7lpcplIiPZh0m4sqKJjqd5SC/4iGjHZAEIUyGSfmRkZrGVbKun ++NLWiyroOmCD1gfgYtMR3TfQUkfdA+kuTfTXsdJ9TsdAVpvvFE58ITz7+R8qOnDccjh vcqQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ZeJw/s0l9Vh3YvXqT0soPayf3hgwF3QsA+gwfpzYkGg=; b=JrVS7sEi6uYM7qDXgGj26kCpEabOXN+06S+jU4tiCiw8m0SDRwigY4dxhZ8ZISZXmI 4T9ciGTdhd6KdmBKYowr0wD2h9vBP51bVKZ68NRy7fKgoKch3bT0X8my8EBcEJtz7dv8 useTdXed/Ti+XZjTg9A9YrXmzzb9q7GJMonCdUBfP8ixKskBkwqDPccEFsAnIp2yn8wO wW97c08EuW4C8SUFHTAvZ3G1lS6ipFFEk3jipWydGLOwEXkCU1RN7YjgCFpWMhoVaai0 1h5n1xQIRi9AzAF/9QTIIWBhtwuNK6qv5wWvXDYHuLoL0mIq2bu+m6P3Hg3Tx/MQ+fJl JnOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=P6YK7Tjg; 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 cw22-20020a170906479600b0073083c63edcsi1985061ejc.306.2022.09.02.04.33.43; Fri, 02 Sep 2022 04:34:01 -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=P6YK7Tjg; 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 S235526AbiIBLbq (ORCPT + 64 others); Fri, 2 Sep 2022 07:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235473AbiIBLbW (ORCPT ); Fri, 2 Sep 2022 07:31:22 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 444E49F8FD; Fri, 2 Sep 2022 04:28:17 -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 282BRHMJ029059; Fri, 2 Sep 2022 11:28:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ZeJw/s0l9Vh3YvXqT0soPayf3hgwF3QsA+gwfpzYkGg=; b=P6YK7TjgmL/nOI8jB1pZcQizOxs/DGRSiqkNhGnb/gmg5d9e029hzzFqQUxtdDTjVc/8 +97DVYeQ7aGXWFFFJuCcHnvxtO9Hae1fhTYbtH9uY4m4rsQi/h2jaqZsOrs8BQ3tL8Kz rPQ+iRal8Tkuh0GnqdTqWTWWjPH9yF2y3SxNriSlZXi1k6EX89GLa5qQ3QACtBTeJsOn oeYd0wxGOWB+kpe2zQc9jD1D40SFnfNC3Rb2DewrOlQt8d2X1fnqmnVP+PHXgIgKp001 jrnWZp7nR1TbtVMPTDmnfXLsCXME8rNNB78tTGD0lUUdJj6yaDcE08R6mmURmQoREgU5 PA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jashfcd5x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Sep 2022 11:28:01 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 282BS0Ei004000 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Sep 2022 11:28:00 GMT Received: from mpubbise-linux.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; Fri, 2 Sep 2022 04:27:58 -0700 From: Manikanta Pubbisetty To: , , CC: , , "Manikanta Pubbisetty" Subject: [PATCH v3 0/2] Add WoW support for WCN6750 Date: Fri, 2 Sep 2022 16:55:18 +0530 Message-ID: <20220902112520.24804-1-quic_mpubbise@quicinc.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] 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-GUID: -3wD9KeYMuTAvqhT-P0KNF1txOd_0bW0 X-Proofpoint-ORIG-GUID: -3wD9KeYMuTAvqhT-P0KNF1txOd_0bW0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-09-02_02,2022-08-31_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 malwarescore=0 impostorscore=0 phishscore=0 clxscore=1011 mlxscore=0 bulkscore=0 mlxlogscore=999 lowpriorityscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209020055 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Add WoW support for WCN6750. Unlike other chips where WoW exit happens after sending WoW wakeup WMI command, exit from WoW suspend in the case of WCN6750 happens upon sending a WoW exit SMP2P (Shared memory point to point) message to the firmware. Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1 Manikanta Pubbisetty (2): dt: bindings: net: add bindings to add WoW support on WCN6750 ath11k: Add WoW support for WCN6750 --- V3: - Added description to the SMEM items in the DT Binding - Removed SMP2P producer example in the DT Binding V2: - Replaced shift/mask operation with u32_encode_bits() before sending SMP2P message - Rebased on ToT COMMIT SHA-ID: f60b230094cbf88c73808709e4f9c1cf09eb0b01 .../bindings/net/wireless/qcom,ath11k.yaml | 14 ++ drivers/net/wireless/ath/ath11k/ahb.c | 123 +++++++++++++++++- drivers/net/wireless/ath/ath11k/ahb.h | 16 +++ drivers/net/wireless/ath/ath11k/core.c | 7 + drivers/net/wireless/ath/ath11k/hw.h | 1 + drivers/net/wireless/ath/ath11k/pcic.c | 32 +++++ drivers/net/wireless/ath/ath11k/pcic.h | 4 + drivers/net/wireless/ath/ath11k/wow.c | 8 ++ 8 files changed, 204 insertions(+), 1 deletion(-) base-commit: 7fb1cd49103030c68154c5645ac1cf09b06b70aa -- 2.37.1