From patchwork Tue Oct 2 18:03:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Pillai X-Patchwork-Id: 10623973 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ADA8415A7 for ; Tue, 2 Oct 2018 18:04:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CD3A26E56 for ; Tue, 2 Oct 2018 18:04:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90D302766D; Tue, 2 Oct 2018 18:04:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1D6C226E56 for ; Tue, 2 Oct 2018 18:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=INVVSr1heIj6CNIGUfrXUZnPTlyro/HtzUxh+Xjrg5Q=; b=SlI ZTX3Jba0sX1WNj3b15l7plFLXmxPMurOM3q19OqabK9J4MofmSFS84AyDSubhL0CWe81RgcxLJF4I +XhI58n4OCY7U6yyecNSpdMlzcFX2nmI+0EUKeU2cm6tnTtIj9P0q0Goe3BHP439FUREVCLJ6LM8s xt/twFbVj507bNy9tBKuFLrqr3R75G8bxX2wyleUWqYOBAnTNM9PmSuyUzE+G/aXWGA9rFARu0iXl sPKf3iWJLEXb4GQxw63JDH8tLeVltAWlKEs1m5dtO0K3QX9qEO6CLVwCh6GbTOz8gRKJt8kdurz0q bZWMEwM/yD6Tta4RjhqAtYeSApA/ZRQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7P1h-0005Z2-Ct; Tue, 02 Oct 2018 18:04:05 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7P1d-0005XI-T6 for ath10k@lists.infradead.org; Tue, 02 Oct 2018 18:04:03 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 921B66081B; Tue, 2 Oct 2018 18:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538503431; bh=jvRFIAxjE+pXeJhZRJ5NXAaGScus1FLCOR1wg4GcVdU=; h=From:To:Cc:Subject:Date:From; b=nWQNikw372DFyS+fzmgMb9IUEKNqdG/djjWsZwr40CiGFR1e7efUy/e8flxX09VtR erFGfW98bV0wJqKJrJo1Z/Sl1VbfhmEuax/h+vXLBf9tIk5rccb+oqk5k+PY19/sZ0 DeTPthep3RZxDp9DwIEDHBjB0MHZ8MUH9m51M1b0= Received: from pillair-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pillair@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E07C760C4D; Tue, 2 Oct 2018 18:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538503431; bh=jvRFIAxjE+pXeJhZRJ5NXAaGScus1FLCOR1wg4GcVdU=; h=From:To:Cc:Subject:Date:From; b=nWQNikw372DFyS+fzmgMb9IUEKNqdG/djjWsZwr40CiGFR1e7efUy/e8flxX09VtR erFGfW98bV0wJqKJrJo1Z/Sl1VbfhmEuax/h+vXLBf9tIk5rccb+oqk5k+PY19/sZ0 DeTPthep3RZxDp9DwIEDHBjB0MHZ8MUH9m51M1b0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E07C760C4D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=pillair@codeaurora.org From: Rakesh Pillai To: ath10k@lists.infradead.org Subject: [PATCH 0/2] ath10k: Handle bundle tx completion for management pkts Date: Tue, 2 Oct 2018 23:33:39 +0530 Message-Id: <1538503421-17607-1-git-send-email-pillair@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181002_110401_965282_DBAAEAFC X-CRM114-Status: UNSURE ( 7.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rakesh Pillai , linux-wireless@vger.kernel.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP WCN3990 sends the tx completion for management frames via wmi. The tx completion for the multiple management frames can also be bundled in a single wmi event and sent to the host driver. This reduces the number of WMI events sent to the host driver by the target. Enable the support in firmware to send tx completion for management frames, bundled in a single event, by setting the proper flag in wmi init command. Handle the bundled management tx completion event in host driver. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Rakesh Pillai (2): ath10k: Handle bundled tx completion for managenent frames ath10k: Enable bundle tx compl for management frames in WCN3990 drivers/net/wireless/ath/ath10k/wmi-ops.h | 13 +++++++ drivers/net/wireless/ath/ath10k/wmi-tlv.c | 65 ++++++++++++++++++++++++++++++- drivers/net/wireless/ath/ath10k/wmi-tlv.h | 3 ++ drivers/net/wireless/ath/ath10k/wmi.c | 26 +++++++++++++ drivers/net/wireless/ath/ath10k/wmi.h | 7 ++++ 5 files changed, 113 insertions(+), 1 deletion(-)