From patchwork Mon Oct 22 17:55:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamizh chelvam X-Patchwork-Id: 10652327 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 5884714DE for ; Mon, 22 Oct 2018 17:56:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D42F29173 for ; Mon, 22 Oct 2018 17:56:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4143C2917E; Mon, 22 Oct 2018 17:56:38 +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 B9FA229173 for ; Mon, 22 Oct 2018 17:56:37 +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=FLQy7YTuXZaP0/kNHmkQ7l2oWA9SgFdiMujc86wn/1Q=; b=gw7 QROIbocHaABSuYXmXJ4ppq/s6tBchNBLMUglYAh+CaNpdnI//HE2LAsxaX+BpC7DKxwk0Fzm0JHW/ dRr4e69HPy4CywEJfO/Dwy0XVjMvqDGgE/n6dWHOn9a/qjcA7I/zOF1pSNz9Uo9TSthDvFze8PLmq yFw1dSDgCoZTtWBLVH3hObVCoCK+IVII3Hh9wPVq+XykZS6i9z6KTiBCDwyHAvqcqHI+bh2O/qWHU CBnQXewGuwjmcEg6OHhULXetDJgh/hSO6Nxhp++FVBxQLTloLpMYehqIRSl+0gHbwegekYr4Ykqxv INzPEt3FhVS7oJJg6FI5y2Ddf6FT9Xw==; 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 1gEeRN-0004Sz-1N; Mon, 22 Oct 2018 17:56:33 +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 1gEeRI-0004Qu-Rj for ath10k@lists.infradead.org; Mon, 22 Oct 2018 17:56:30 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DF35C60C4C; Mon, 22 Oct 2018 17:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1540230977; bh=BGe1veOJBXBXnexvDisE5gZeXmcTeuyqwGUcGatVxoc=; h=From:To:Cc:Subject:Date:From; b=HCWnPlA5I2KWd061VVwbQZftI6r6lbNvIiFlyR7O74qgL+E1ncNMVsgSaWpgdHATJ ePT6bbSlJo4Tq7fgcsoi32SthmxcHN8zusaCltKnMT74Ld9dFWGNR7B48y1YwheRhY gLKrB/7y51WO/A3Ax823E5Za/aF0IfryuP/XMBGE= Received: from cheath10p342229-lin.qca.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: tamizhr@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 330A06085C; Mon, 22 Oct 2018 17:56:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1540230977; bh=BGe1veOJBXBXnexvDisE5gZeXmcTeuyqwGUcGatVxoc=; h=From:To:Cc:Subject:Date:From; b=HCWnPlA5I2KWd061VVwbQZftI6r6lbNvIiFlyR7O74qgL+E1ncNMVsgSaWpgdHATJ ePT6bbSlJo4Tq7fgcsoi32SthmxcHN8zusaCltKnMT74Ld9dFWGNR7B48y1YwheRhY gLKrB/7y51WO/A3Ax823E5Za/aF0IfryuP/XMBGE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 330A06085C 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=tamizhr@codeaurora.org From: Tamizh chelvam To: ath10k@lists.infradead.org, johannes@sipsolutions.net Subject: [PATCH 0/4] cfg80211/mac80211: Add support for TID specific configuration Date: Mon, 22 Oct 2018 23:25:14 +0530 Message-Id: <1540230918-27712-1-git-send-email-tamizhr@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181022_105628_931051_D002619F X-CRM114-Status: GOOD ( 10.46 ) 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: linux-wireless@vger.kernel.org, Tamizh chelvam MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add infrastructure for per TID aggregation/retry count configurations such as retry count and AMPDU aggregation control(disable/enable). In some scenario reducing the number of retry count for a specific data traffic can reduce the latency by proceeding with the next packet instead of retrying the same packet more time. This will be useful where the next packet can resume the operation without an issue. Here added NL80211_CMD_SET_TID_CONFIG to support this operation by accepting retry count and AMPDU aggregation control. This command can accept STA mac addreess to make the configuration station specific rather than applying to all the connected stations to the netdev. Tamizh chelvam (3): nl80211: Add netlink attribute for AMPDU aggregation enable/disable tid conf 3 ath10k: Add support to configure TID specific configuration Vasanthakumar Thiagarajan (1): New netlink command for TID specific configuration Note: * This patchset rebased on top of [PATCH 0/6] wireless: Per-sta NoAck and offload support drivers/net/wireless/ath/ath10k/core.h | 23 ++++ drivers/net/wireless/ath/ath10k/mac.c | 240 +++++++++++++++++++++++++++++---- drivers/net/wireless/ath/ath10k/wmi.c | 6 +- drivers/net/wireless/ath/ath10k/wmi.h | 1 + include/net/cfg80211.h | 20 +++ include/net/mac80211.h | 36 +++++ include/uapi/linux/nl80211.h | 90 +++++++++++++ net/mac80211/cfg.c | 71 ++++++++++ net/mac80211/driver-ops.h | 16 +++ net/mac80211/trace.h | 34 +++++ net/wireless/nl80211.c | 103 ++++++++++++++ net/wireless/rdev-ops.h | 30 +++++ net/wireless/trace.h | 50 +++++++ 13 files changed, 695 insertions(+), 25 deletions(-)