Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3404444ybi; Mon, 17 Jun 2019 23:47:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkWXeagtkM7yj9TJvSSJkjL46jBSdql4IntfOJ9zQUinsCyJ1JI5/MFEkVgsoGAW1kkdhh X-Received: by 2002:a17:902:b487:: with SMTP id y7mr51624304plr.219.1560840469726; Mon, 17 Jun 2019 23:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560840469; cv=none; d=google.com; s=arc-20160816; b=lp847YLvzS3HaMyk3gUlOBSoTwkc56QhhBcnqP/JTLHYwiY6ysKD2OGTpzI0+ladej zDGzuYZ5m4B6IXLB4LIJPT0czoypcvJleGy8fwXx/6j3hRQAWdAjM6RcF5aX4M+EjXk9 6sZpeVimSJQQmH0BK4L550sJqnhmIbUOaIMWY+wSq1RGHWwviV+bPSlJmmgp1piVxtWJ IhnHW38/pvcMzgMymXfNGUP7lJmPcuHnMJjkxKZSnaH+HqLesiYVg9jQaJnE3xg0T/OT Hr39LJyy78KK9UNdGNLUVrIDtsViC2AEQS0l3Z2LOjhNdj1B6TZ7ghs9XGLetOpXRzTY 7gwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=fUxwBAprsHuqGBo9TOydkAtc4Ppup1c7sZIoOWnu+As=; b=Tj3dlePV3zaK7KkaqkuKsIz1TkDzezP2SedlNkLsjp+wwCnZ4K3kTbF2uH7RTGFLDK bWYs7IFPAKS+gZg3T7bDl+KlXHcThhcDkTlHbnPxiW16eNepx4yLnNsYPieIDrWdjs5Z ut4Mfd2PXJmF40GnQRU5GuBoBkNj60yxyTLhWarbCo1OfFOfUEjCPi8q9WzI1jJ18O9w lHFZ5lqMfmNnZ7oLWGxaOsBw3AR2XP2QNsYCVMLk+IZF+G5vejLI6S1/l2IPIOTWyJ2J 3hhKeMedF8ZQ6HARVWCBeq/nAYgGL42gVuI4UaZKPgGZa5YAUyMFk4kaO7TqKd+2rNCE vwhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=RjTRZnhj; dkim=pass header.i=@codeaurora.org header.s=default header.b=RFYKcx4p; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l185si13172751pfl.190.2019.06.17.23.47.32; Mon, 17 Jun 2019 23:47:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=RjTRZnhj; dkim=pass header.i=@codeaurora.org header.s=default header.b=RFYKcx4p; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728101AbfFRGrU (ORCPT + 99 others); Tue, 18 Jun 2019 02:47:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50864 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726238AbfFRGrP (ORCPT ); Tue, 18 Jun 2019 02:47:15 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 47837602FE; Tue, 18 Jun 2019 05:27:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560835655; bh=5all+4v3xe8x8XDGTOIA6q4p47cOQMRMUu1s+MqNhX0=; h=From:To:Cc:Subject:Date:From; b=RjTRZnhj1d+l1898eT8YEiP2yHFoQsl6CeMntjpVgM/CebZVRjJnyvfvt5Co4M9Wc KOPf/jGLNUzkVJW5flU4pULrxzZxU81OFbShTEDDNUBmDrdmd57rI0Q2Ws3YZTFaAn oXIfT7A238+BPXtqpIjSZQWmne9uUWdrg3XLoDak= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from akolli-ThinkPad-L560.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 1883B602FE; Tue, 18 Jun 2019 05:27:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560835654; bh=5all+4v3xe8x8XDGTOIA6q4p47cOQMRMUu1s+MqNhX0=; h=From:To:Cc:Subject:Date:From; b=RFYKcx4p2Xiaudog4bKAq4pz3MwxflDLB/twndPsLGTn7VgRmMOo4aOmvFzRTODAE EeblF+/xspw6JUvxUWKCPaGU3r5mHIVe2preZJ3S2Qc203uaKLA3r1r0z1iBDBcVcI fb2ndKF8VXgheG4pwXK7uL/Ls2xrBVdMupd6lKqI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1883B602FE 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: johannes@sipsolutions.net, ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Tamizh chelvam Subject: [PATCHv6 0/9] cfg80211/mac80211: Add support for TID specific configuration Date: Tue, 18 Jun 2019 10:57:03 +0530 Message-Id: <1560835632-17405-1-git-send-email-tamizhr@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Add infrastructure to support per TID configurations like noack policy, retry count, AMPDU control(disable/enable), RTSCTS control(enable/disable) and TX rate mask configurations. This will be useful for the driver which can supports data TID specific configuration rather than phy level configurations. Here NL80211_CMD_SET_TID_CONFIG added to support this operation by accepting TID configuration. This command can accept STA mac addreess to make the configuration station specific rather than applying to all the connected stations to the netdev. And this nested command configuration can accept multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute for TID speicific retry count nl80211: Add netlink attribute for AMPDU aggregation enable/disable nl80211: Add netlink attribute to enable/disable RTS_CTS nl80211: Add netlink attribute to configure TID specific tx rate mac80211: Add api to support configuring TID specific configuration ath10k: Add wmi command support for station specific TID config ath10k: Add new api to support TID specific configuration ath10k: Add extended TID configuration support v6: * Addressed Johannes comments. v5: * Fixed possible memleak of 'tid_conf' in nl80211_set_tid_config. v4: * Fixed kbuild warnings. v3: * Modified "nl80211: Add netlink attribute to configure TID specific tx rate" patch to accept multiple TX rate configuration at a time. * Modified noack and ampdu variable data type to int in "mac80211: Add api to support configuring TID specific configuration" patch to store default configuration. * Modified "ath10k: Add new api to support TID specific configuration" patch to handle default values for noack and ampdu. And added sta pointer sanity check in ath10k_mac_tid_bitrate_config function. * Fixed "ath10k: Add extended TID configuration support" wmi command parameters assigned part. v2: * Added support to accept multiple TID configuration * Added support to configure TX rate and RTSCTS control drivers/net/wireless/ath/ath10k/core.c | 4 + drivers/net/wireless/ath/ath10k/core.h | 6 + drivers/net/wireless/ath/ath10k/mac.c | 681 +++++++++++++++++++++++++---- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 + drivers/net/wireless/ath/ath10k/wmi.c | 35 ++ drivers/net/wireless/ath/ath10k/wmi.h | 72 +++ include/net/cfg80211.h | 57 +++ include/net/mac80211.h | 38 ++ include/uapi/linux/nl80211.h | 188 ++++++++ net/mac80211/cfg.c | 28 ++ net/mac80211/driver-ops.h | 15 + net/wireless/nl80211.c | 284 +++++++++++- net/wireless/rdev-ops.h | 12 + net/wireless/trace.h | 17 + 14 files changed, 1371 insertions(+), 85 deletions(-) -- 1.7.9.5