Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1246168pxb; Fri, 21 Jan 2022 13:15:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0ADg8c+oYDThS2daV5U3qoorPTbYqwv6QhOcaB6GAQfgZ9E808XljmoltB0nwTlp+09ni X-Received: by 2002:a17:902:d4ca:b0:14b:2996:c7e0 with SMTP id o10-20020a170902d4ca00b0014b2996c7e0mr2065016plg.125.1642799731889; Fri, 21 Jan 2022 13:15:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642799731; cv=none; d=google.com; s=arc-20160816; b=HzwOSL08PRQcI4Ax1MCBSYaM3IzRC9uIrxzhqUD48NFDm4EOBoJcweGDJHq6xk9Bjx Ol+7gvN0Xb+I5XPNfLRXhtzqW+Cf/e9XsFLRkQsv6RIGalGb7mEj1Sh/r9VBxjshkEfh EOlglcroVQyIMulSBRLPcLf4TuYKtD4CUfzLqlwEV2ChnrX8Hmh0ExViSy3OHV4EHI5L wD9pJVHHVpY42qmt3C1tbQCpNq2oQ460Ij6Y634ZdrRqOml4dOp4Ch59Bq88RTwPQw4D ZKxkAlcd3RQ8OjvHVrxcXLz3v4n9P4wHGhKfBwW/mjF8EKjILWmmKf8EWhNVEoQLSJT4 /4Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=haG84iyvbfXWuFHxn8z/Z75Pk+T+kgVVx6jLzWCNP4E=; b=Gh7PrJTvtKV8qHAW1YD/r4qcEg3MpUR8BLLlqYmxEyoLHGmVH5wK7F6w48LSdEUyun OoVKKu5zyVtmt9IycLGGB+TuemqtQ4neciurNtzjX0hPiqX5xCJky+ZAer4IIBaioqZi SkFmDlHjM9e9Q0Ff2gaTTeVOBlLEy5rQZV9g9WBoB+NjlsauDCKgeWEJzI7YPthkUBS/ CqLgR21lgPovvI5DyuhEJNkhqhc2JqWTqJUv3knwkcEBpQGjonjSh4qMx6biCseGU2FL 5XZYGe1msT8gW1HLbaYbypQQHv+b6Bj/njmEtP5ZFUl6TfBDZWOc7quJA/e6oGifepPz df/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=iZQt304x; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pf4si14103188pjb.9.2022.01.21.13.15.22; Fri, 21 Jan 2022 13:15:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=iZQt304x; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 S1359781AbiATKN6 (ORCPT + 70 others); Thu, 20 Jan 2022 05:13:58 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:34404 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232747AbiATKN5 (ORCPT ); Thu, 20 Jan 2022 05:13:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1642673638; x=1674209638; h=from:to:cc:subject:date:message-id:mime-version; bh=haG84iyvbfXWuFHxn8z/Z75Pk+T+kgVVx6jLzWCNP4E=; b=iZQt304xKbSU87gDWHIzNYALx2jGDhf6t2KE/Fhb3JTIWLeUhy/kCizw zby2gU6/5yM+lolNi0ucmTHdDVGjvk+6sIcwdJarCfGWizF9L5PzxpUbH 8yal5ALVF6nvOt9xaG5ZPObjMG1zBjKpMPrkzlcVXJ/7OMEAqDvK9MIEp o=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 20 Jan 2022 02:13:57 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2022 02:13:57 -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; Thu, 20 Jan 2022 02:13:57 -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; Thu, 20 Jan 2022 02:13:56 -0800 From: Carl Huang To: CC: Subject: [PATCH v2 0/6] ath11k: support WoW functionalities Date: Thu, 20 Jan 2022 18:13:21 +0800 Message-ID: <1642673607-8896-1-git-send-email-quic_cjhuang@quicinc.com> X-Mailer: git-send-email 2.7.4 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 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. 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(-) -- 2.7.4