Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1753674pxx; Fri, 30 Oct 2020 19:24:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTpO22jLKv1R2HQMmyyTgpTAylB0Wy4Ew48FAU7NUFdhtvtdLw09YiI6v3ju4p3D6nEaem X-Received: by 2002:a50:cbc9:: with SMTP id l9mr5499902edi.310.1604111093748; Fri, 30 Oct 2020 19:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604111093; cv=none; d=google.com; s=arc-20160816; b=do9+L4DbkzgIzFUnwgnh9zPcNFCcL64qEW4BfICld5S5HephaCszjKqVKVM7WEvcgn +vBl5lB1s3LIzpSQePLDL125jZCVTtrsXOCyiekpMcnkgfG6Mr6HJVnTjQix4exM0EAH kbmSpQSeMTHpU+SfBVhtPDgF6hw7mmaLQxQ9FsORVRY/6NoXetxBGqIPoEBm6hDRx5oT p9zZCpNpK7eGmRefQUByncum8vCG7Jy2S1qBfNklHW74UFVLnwrZM7WO4WDJ9x158Gde UeLkSdvQI5rUxbu2jN06wDxU0++bS8r0PcRkxa2podl2iSB9fz9Gacb1dVgBbgfrlcKn jpGg== 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=nID9K6h2pn7mi/8/QxMq+cTpvNlKmug44VkH6P31RKo=; b=jRF4XJQ/q76hBaccOGEqgt9IarUwO3/vyCcdLI5YQQC1NaWdE/fDc/diBkQln36Qie JIsJdbsd5sEEXoybAz3Y8eZAvbUIe7A4/cWHD8HfycN5Y/NUsvhso5wJRhKMsHftX0Q9 VENOPDw/NoPxMN8XWqCaU+Tol5j6+VcijCT6KIBuDRwYkgOme+D1kgV1PJq6eVc84Vwf 6PCLSoD8R1/SFJGFN7LnS+ZDVqvipslYOG5bwanQ2AL3VPkiN4itDxURBx/j7VtLNVR7 UapPWa3NKyVmsSn1A9ul1ufrZE6Qw63Viqt0nMbvW04qF/hafAHyaQIvEcYGlIcQK31s 9sGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e815eacT; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si1815391edv.323.2020.10.30.19.24.12; Fri, 30 Oct 2020 19:24:53 -0700 (PDT) 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=@linaro.org header.s=google header.b=e815eacT; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726189AbgJaCWW (ORCPT + 99 others); Fri, 30 Oct 2020 22:22:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbgJaCWV (ORCPT ); Fri, 30 Oct 2020 22:22:21 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43668C0613D5 for ; Fri, 30 Oct 2020 19:22:20 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id w14so8360151wrs.9 for ; Fri, 30 Oct 2020 19:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nID9K6h2pn7mi/8/QxMq+cTpvNlKmug44VkH6P31RKo=; b=e815eacTiNaFcs03FZcT7ZUOCTt5KIu4Z7V0jqLp5Wu/GQ6Kn8GKu2UWjN2Stchy2Z 4XF5uNljg4spq4M7VS0D8nygi1joRuXKnIMXJscD4FzGRv6wSbMWXpoqixBxujjDKtR2 Z9xdmKZ6wRc79FnyycPFbfpnOlbkxKe4e7j7BQSpbFj5QCyCHEUL7xW4qv/vZMz+VJwv WQoShqkXh/JPi12KcvrhRFfYsrmpMu0850YQlL0N//vztOfeXfqW6WkNWbgMV97gHq5b KJDifBO4iHG67r8DBw41O4XPdbWEO0FT+nmt6RtVSm6YsPguwcIpaj2YmvVwM+5VrxS9 l4tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nID9K6h2pn7mi/8/QxMq+cTpvNlKmug44VkH6P31RKo=; b=EKWknSVxXNCpsfYWT5j1A5jKkLp7P0u615UsMbZQc0CF6o3cnV+1ZzaHO4ZG6ADTdB 5wgtvNKsUw90dtTvlJ/NBL7kX6JqpDh76Pu9nfEUuLESSWQ1mzcMxZrT/EW0JG3cbKDA 2VeCwkXkjsELlaELGYCGmlqqQTMQb7mLm1z6kvdBz4WqEOudIGwOmhVJXRR50usKFf8Z ItXqiUVkW1VEacEgeVmc1Zct5dZGsuHp2ELTlkuKJarLZ0AnP8TrPYe4ZYKnTL3tXcaC JZNSWCiB9y3i+OG0LMn/IFRPoDdGZ52nH2XHsJpPqO6ldpkhlkhRmD92frScAwn7sZmf 9gJg== X-Gm-Message-State: AOAM532vfXZmc1YzP+qjyEgvN2U1v2o9niowMCkkgjoYiAOjg19lsbJ2 Fkch8YygZAhRQCflvxhe68xpFg== X-Received: by 2002:adf:ec47:: with SMTP id w7mr6685419wrn.253.1604110939086; Fri, 30 Oct 2020 19:22:19 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id g4sm6663817wmh.13.2020.10.30.19.22.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 19:22:18 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Subject: [PATCH 0/3] wcn36xx: Firmware link monitor/keepalive offload Date: Sat, 31 Oct 2020 02:23:08 +0000 Message-Id: <20201031022311.1677337-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This patchset enables various firmware offload features for - Link keepalive - Link monitoring Keepalive is a necessary precursor for an upcoming series on wake on wlan, since we need to inform the firmware to keep the link up in suspend. Testing shows that LINK_FAIL_TX_CNT is a link monitor enable field. Once set to non-zero link monitoring becomes active. This series activates CONNECTION_MONITOR after enabling LINK_FAIL_TX_CNT thus offloading link monitoring to the firmware. Bryan O'Donoghue (3): wcn36xx: Set LINK_FAIL_TX_CNT non zero on wcn3620/wcn3660 wcn36xx: Enable firmware link monitoring wcn36xx: Enable firmware offloaded keepalive drivers/net/wireless/ath/wcn36xx/main.c | 3 +++ drivers/net/wireless/ath/wcn36xx/smd.c | 1 + 2 files changed, 4 insertions(+) -- 2.28.0