Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1118455pxa; Thu, 20 Aug 2020 03:04:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzu6owO300m+LndycScDnQ8p8gEG98Fqf2QAa9H0WkOmTurv3mlMRHK5Zc2LQUgjdvjvkVc X-Received: by 2002:a17:906:5811:: with SMTP id m17mr2453528ejq.40.1597917848429; Thu, 20 Aug 2020 03:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597917848; cv=none; d=google.com; s=arc-20160816; b=WlWgJyTrcW9v9GeegtQAaSpNJI+mnshZVUTgq7jiVqgF3pR0osyX0KXbX1XnfUK3be eMsT2BPFIOa41zXdQbyh7caZa6/K+L7fAi5Uqp66V7Hg7rSVY2EUv1P6BzIdV/xfWUe1 MI+0BbmNhq07Td9IT19HU+ThskXPLKx8n7uR3owUCiH4A2jAdu6dSb5n8pvZFhG5DEEf GoszC/cyPi0W9fMYypPV3aCxGwdxdu7WChygfxiqLRCvvZ7ZgQBsFNGwcpROR3rzBjTp J+lMGOpPwhsYl18AgP2F+kvCaYrProXzTotwx5dBesmhNp/RnPowa20AXsxwVhkNXK6J Reew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=j7z1kb32SK0mpk3/cWjJZ/zdgqTe0+1ye7jE1RxyRZM=; b=UGJSIOO2Wpfd3kzlz9DgmyD5UKInZqhwVp02z2XE5kA0vUM4I9LwYRt8MAS4z5d1CN MsHXjD8rPc4UG2XoxpRWrkP5p+zcQrm5IG50G/jVSk+HWLy285Q24WTxq9uDzHfe+qq6 K2TUY0Y8I+sokAQmFa6AmJVIoqDyqZ+FZhQz92M7ZgMwwgnQkO+IdeKVJJHZwkhRJ0fA hHW8Wmsbb3mNVgiZKx0gqXtMmpb1Nt9FFjjkP6F2NCAOFkReX4/ITNx6agmTL0kWJ+P6 ubpEBl7fJsFMsasPkVG+GYTqmKAq7+6ZjyV3VRu08RvJDQ2r1GC/CNELSxPZ1OPqX1QB NAwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=lT5Xq9iP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w26si886514ejv.328.2020.08.20.03.03.28; Thu, 20 Aug 2020 03:04:08 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=lT5Xq9iP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729483AbgHTKDK (ORCPT + 99 others); Thu, 20 Aug 2020 06:03:10 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:35827 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730500AbgHTKCJ (ORCPT ); Thu, 20 Aug 2020 06:02:09 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1597917729; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=j7z1kb32SK0mpk3/cWjJZ/zdgqTe0+1ye7jE1RxyRZM=; b=lT5Xq9iP25HVkWojVy8eqLWTPUgWPARKXOgtHFcMgZBofFMhjkwiL/Dg+XMHn7PruYrrr86S IftOUvPH5wuk1/sw5FB0IAf1XIaUU9yjQlXc6iJwOKyPotQiUI2k8PSuVr39KF6uhUVQkz9t ZD2H+lAFWcvEwWigldst0RXwwNk= X-Mailgun-Sending-Ip: 104.130.122.29 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 smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 5f3e4a20e8bbfbec10288f06 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 20 Aug 2020 10:02:08 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8ECA0C433CB; Thu, 20 Aug 2020 10:02:08 +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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tamizhr) by smtp.codeaurora.org (Postfix) with ESMTPSA id F197FC433CA; Thu, 20 Aug 2020 10:02:07 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 20 Aug 2020 15:32:07 +0530 From: Tamizh Chelvam To: Sergey Matyukevich Cc: johannes@sipsolutions.net, linux-wireless@vger.kernel.org Subject: Re: [PATCH] iw: add TID specific Tx bitrate configuration In-Reply-To: <20200820074926.GA2255@curiosity> References: <1597903916-8674-1-git-send-email-tamizhr@codeaurora.org> <20200820074926.GA2255@curiosity> Message-ID: X-Sender: tamizhr@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Sergey, > >> Add TID specific Tx bitrate configuration by using >> handle_bitrates already APIs. >> >> Examples: >> $ iw dev wlan0 peer xx:xx:xx:xx:xx:xx tids 0x2 bitrates auto >> $ iw dev wlan0 peer xx:xx:xx:xx:xx:xx tids 0x2 bitrates limit >> vht-mcs-5 4:9 >> >> Signed-off-by: Tamizh Chelvam >> --- >> bitrate.c | 27 ++++++++++++++++++++------- >> interface.c | 34 +++++++++++++++++++++++++++++++++- >> iw.h | 3 +++ >> 3 files changed, 56 insertions(+), 8 deletions(-) > > ... > >> COMMAND(set, tidconf, "[peer ] tids [override] >> [sretry ] [lretry ] " >> - "[ampdu [on|off]] [amsdu [on|off]] [noack [on|off]] [rtscts >> [on|off]]", >> + "[ampdu [on|off]] [amsdu [on|off]] [noack [on|off]] [rtscts >> [on|off]]" >> + "[bitrates [legacy-<2.4|5> > Mbps>*] [ht-mcs-<2.4|5> *]" >> + " [vht-mcs-<2.4|5> *] >> [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]]", >> NL80211_CMD_SET_TID_CONFIG, 0, CIB_NETDEV, handle_tid_config, >> "Setup per-node TID specific configuration for TIDs selected by >> bitmask.\n" >> "If MAC address is not specified, then supplied TID configuration\n" >> @@ -955,4 +985,6 @@ COMMAND(set, tidconf, "[peer ] tids >> [override] [sretry >> " $ iw dev wlan0 tids 0x5 ampdu off amsdu off rtscts on\n" >> " $ iw dev wlan0 tids 0x3 override ampdu on noack on rtscts on\n" >> " $ iw dev wlan0 peer xx:xx:xx:xx:xx:xx tids 0x1 ampdu off tids 0x3 >> amsdu off rtscts on\n" >> + " $ iw dev wlan0 peer xx:xx:xx:xx:xx:xx tids 0x2 bitrates auto\n" >> + " $ iw dev wlan0 peer xx:xx:xx:xx:xx:xx tids 0x2 bitrates limit >> vht-mcs-5 4:9\n" > > It just occured to me that I wrote incorrect help message in the patch > adding tidconf command. IIRC the correct usage should be: > > $ iw dev wlan0 set tidconf peer 1:2:3:4:5:6 tids 0x3 ampdu off tids > 0x2 sretry 10 lretry 100 > $ iw dev wlan0 set tidconf tids 0xff ampdu off amsdu off sretry 10 > lretry 100 noack off > > Could you please update new help entries and fix the existing ones ? > Sure, will send as separate patch along with fixing new entries in this patch. Tamizh.