Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3932105ybl; Mon, 13 Jan 2020 05:14:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzA9j02OMUdG/JtWCveD8N5ZCUeO18pc1Om+69d52NhZBN4ApGyCRZyfCNF11I39Vq9Gntb X-Received: by 2002:aca:f555:: with SMTP id t82mr13088040oih.103.1578921243631; Mon, 13 Jan 2020 05:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578921243; cv=none; d=google.com; s=arc-20160816; b=lkEtVl4BeEXg+nmQZnOt3jE/O3QMgWT+ERTqd+8e6lhtcT7Bn3i567HupmmBd91GvZ Mk3FB4LvXDzLOx5UKPnfgpg3MAZfrUYyX3Ku9DmdtX6IXtfOHY/SDGYvd5sTyeCLYhD5 6TgX68FRLsng5zQGl74GHkBchnk/6VMA3k5QmDwuBduM1/lj86D7BQim6eNDBqM7G5EA HnTdH0uT3+1oihEQl1vuBdIuM7/tPrF6WDi8wIn5L6oPuROBvO5RNo9JdizJsrMDNiNd DyVUQ6pNi2pg1QXmRDtEDZ96zCy84yhGg26lVuvcdRcrPDvFvu06USMANPWzfhUOE9Oj TiRA== 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; bh=UdRWunpuPF5nrySfQo4TgbpFWVKs8WxqbY+Ndc7zIvE=; b=e2Pmekro5duHFjp8nKu5LZVikeTLCgy3hthycqq6tke4KkG2mD7BMHncF8puqxVIH7 jK91o2ge2QqBjRNCN7EVkFq5S6/PV7pJaxoLk3AcMbF1bFxbOeLecvD+Q3PLI8BAe1Sk EU+w9+oVWsHZuYXG6eLjehD5NGzmU4CKWFm4rSNN66G7V7cnwulYUeuZVVmp3XiW+fDh xnXqGwI9DdgK1KRG2+3uiJJ+ERrUecxXnBTNLltjloF70sPWvPLeasxJyMW47WqRGJX/ Wj6yhBKfNXhbqVJm5YT2CXDEs89cejJLmD7DhXbuqrZvu3lLOQAU+G7KX0CXr7QFoeLb MTxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=JCOQF1TR; 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 a64si6209963oif.256.2020.01.13.05.13.53; Mon, 13 Jan 2020 05:14:03 -0800 (PST) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=JCOQF1TR; 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 S1726523AbgAMNLu (ORCPT + 99 others); Mon, 13 Jan 2020 08:11:50 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:39513 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbgAMNLt (ORCPT ); Mon, 13 Jan 2020 08:11:49 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1578921108; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=UdRWunpuPF5nrySfQo4TgbpFWVKs8WxqbY+Ndc7zIvE=; b=JCOQF1TRk5WwnZwj98lAbHY+e6IUsvFEriwZWGVpR9yDZSL/+G3+ZqGCkXizMj3OHMqWmnFl vGkI3DmDYwfei7Rgj+fJ4m4Db7CGtgbt3xFUu66Uee1Hia6IP37J0XkbRgBl8WhDxu7PIO0O 76A3zEdPOCVYUKgiARkDrZk3xHU= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e1c6c94.7fec0b768848-smtp-out-n01; Mon, 13 Jan 2020 13:11:48 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6C811C447A3; Mon, 13 Jan 2020 13:11:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=ham 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) by smtp.codeaurora.org (Postfix) with ESMTPSA id D3140C4479C; Mon, 13 Jan 2020 13:11:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D3140C4479C Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=tamizhr@codeaurora.org From: Tamizh Chelvam To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Tamizh chelvam Subject: [PATCHv9 0/6] cfg80211/mac80211: Add support for TID specific configuration Date: Mon, 13 Jan 2020 18:41:24 +0530 Message-Id: <1578921090-9758-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 From: Tamizh chelvam 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 (6): nl80211: Add NL command to support TID speicific configurations nl80211: Add support to configure TID specific retry configuration nl80211: Add support to configure TID specific AMPDU configuration nl80211: Add support to configure TID specific RTSCTS configuration nl80211: Add support to configure TID specific txrate configuration mac80211: Add api to support configuring TID specific configuration include/net/cfg80211.h | 65 ++++++++++ include/net/mac80211.h | 10 ++ include/uapi/linux/nl80211.h | 139 +++++++++++++++++++++ net/mac80211/cfg.c | 56 +++++++++ net/mac80211/driver-ops.h | 27 ++++ net/wireless/nl80211.c | 280 +++++++++++++++++++++++++++++++++++++++--- net/wireless/rdev-ops.h | 24 ++++ net/wireless/trace.h | 37 ++++++ 8 files changed, 621 insertions(+), 17 deletions(-) v9: * Modified to accept multiple TIDs. * Splitted retry_short and retry_long as separate parameter * Introduced new api to reset tid config v8: * Fixed enum typecast warning. v7: * Fixed compilation error and removed tid config variables from mac80211 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 -- 1.7.9.5