From patchwork Tue Feb 8 08:13:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Huang X-Patchwork-Id: 12738281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6177EC433EF for ; Tue, 8 Feb 2022 08:15:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346563AbiBHIP6 (ORCPT ); Tue, 8 Feb 2022 03:15:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348997AbiBHIPk (ORCPT ); Tue, 8 Feb 2022 03:15:40 -0500 X-Greylist: delayed 122 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Feb 2022 00:15:39 PST Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A39A8C03FEC4 for ; Tue, 8 Feb 2022 00:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644308139; x=1675844139; h=from:to:cc:subject:date:message-id:mime-version; bh=LU5HkVROhz+hS+wWIm1coOpMnpPIr2928HaLE6l4DQs=; b=allncCcgJRGr3vVJcc699eUKhIFPqjMulyrV4MsYcMBMWMPSu7M0G49X BeA+H1RLV0myN39B8GA8ttlh2mQoTlQtjSyKYdE/lM4Mn4+bYmM2iA3h1 QFOQ2f3a4dX8WQrAAsU0ib7TCWqJxVmnuLLTNUf1PXESa5VwApEss2nMZ s=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 08 Feb 2022 00:13:37 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 00:13:37 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Tue, 8 Feb 2022 00:13:37 -0800 Received: from cjhuang2-gv.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.922.19; Tue, 8 Feb 2022 00:13:36 -0800 From: Carl Huang To: CC: Subject: [PATCH v3 0/6] ath11k: support WoW functionalities Date: Tue, 8 Feb 2022 16:13:20 +0800 Message-ID: <1644308006-22784-1-git-send-email-quic_cjhuang@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 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) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Ath11k WoW basic funtionalities are merged from ath10k such as magic-pattern, PNO, disconnect and patterns. Hw data filter and pktlog purge are required for ath11k. ARP and NS offload, GTK rekey offload are new WoW features implemented on ath11k. v3: - rebased to 76680d49b5e0e661bc4abcdaf13fb7e124b4ca08 (tag ath-202202030905) v2: - fixed minor style issues commented by Kalle - fixed endianness - rebased to ath-202112161538 Carl Huang (6): ath11k: Add basic WoW functionalities ath11k: Add WoW net-detect functionality ath11k: implement hardware data filter ath11k: purge rx pktlog when entering WoW ath11k: support ARP and NS offload ath11k: support GTK rekey offload drivers/net/wireless/ath/ath11k/core.c | 36 +- drivers/net/wireless/ath/ath11k/core.h | 31 + drivers/net/wireless/ath/ath11k/dp_rx.c | 1 - drivers/net/wireless/ath/ath11k/htc.c | 6 + drivers/net/wireless/ath/ath11k/htc.h | 1 + drivers/net/wireless/ath/ath11k/mac.c | 217 ++++++- drivers/net/wireless/ath/ath11k/mac.h | 1 + drivers/net/wireless/ath/ath11k/wmi.c | 612 +++++++++++++++++++ drivers/net/wireless/ath/ath11k/wmi.h | 353 ++++++++++- drivers/net/wireless/ath/ath11k/wow.c | 759 ++++++++++++++++++++++++ drivers/net/wireless/ath/ath11k/wow.h | 36 ++ 11 files changed, 2034 insertions(+), 19 deletions(-) base-commit: 76680d49b5e0e661bc4abcdaf13fb7e124b4ca08