Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp160469pja; Fri, 22 Nov 2019 04:52:21 -0800 (PST) X-Google-Smtp-Source: APXvYqweuHM1jlkPurIiLJj8cIpb0NxtnBDs4CdynHFaz0j29ehki+yA2kKL3mICj8/nhAcOw7B6 X-Received: by 2002:a05:6402:13cd:: with SMTP id a13mr876363edx.57.1574427141518; Fri, 22 Nov 2019 04:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574427141; cv=none; d=google.com; s=arc-20160816; b=cjxHtMIJiFnsj4x1Bwt8nauqWd/6Pjy1pYGu8QdMJVB1dNlv5xXJjeukwLOCmSg6xO qt5mAFnQxTytRHomPjwjGsn5/uOYUxKmDH7icS1JflzIuEY76HEI1n4o98AryId0Vfzf ZGveoxRpYbxcff5k2KDmAyE456hUArBqR1qIrz9jFy3QXI1/nveOaQeBXG763WIWURsi zWTQDupegylE/6k2WMy3ATK0TMTGczvgaEaOdwLZY5Y0J631QWpp4He1EDnY5/VVM7mH L8ngdHYGwPk89UWy5/l8W6c8VkHPjb0HtbqMoU2pB744KkfePoYPKgqxNewkruU4gX5+ T7MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=hB/nCjc310EBHh2qnmdeGHVlizwvgs1YwgPI26AlM+g=; b=Z79mz2hyuwOpb7J6gZtiCIlr1TqGq/jtdZFnuyZuOOGi9Xr0H4y7cHChImapW3HiGy 9RZDKwOGFS9+M9gSiPoKD/fbVK7x71ox64tkTFkNQ1VtrrIyU/HWSFm/yfI1GY/qD4uU vvQjt+5+kNQeG66uMw2iACfEXyU0Gh/m9EN35nYhXIgpbvdXc+rEs6bDeCD06ioUmMFC piFtpfRkPw7uo4BpxGe2LToizywowgnYrny4BvK5XjVF1Dxiy/m1/9sR7VUtaDYtTnZU shIaEEaoghzLosV6yUpnqQf4uWItD1weok/YNnNAhZO2YDtrLlREHr1ZVOxmJR9a7a7F SmbA== ARC-Authentication-Results: i=1; mx.google.com; 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 bs2si912571edb.354.2019.11.22.04.51.55; Fri, 22 Nov 2019 04:52:21 -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; 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 S1726568AbfKVMuE (ORCPT + 99 others); Fri, 22 Nov 2019 07:50:04 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:45008 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbfKVMuE (ORCPT ); Fri, 22 Nov 2019 07:50:04 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1iY8Ns-0003Xv-6J; Fri, 22 Nov 2019 13:50:00 +0100 Message-ID: Subject: Re: [PATCHv8 0/6] cfg80211/mac80211: Add support for TID specific configuration From: Johannes Berg To: Tamizh chelvam Cc: Sergey Matyukevich , linux-wireless@vger.kernel.org Date: Fri, 22 Nov 2019 13:49:59 +0100 In-Reply-To: References: <1572957714-16085-1-git-send-email-tamizhr@codeaurora.org> <20191108093207.uv4j44xpm2qvtsv5@bars> <84ca3a8b61757360ab9898afcdd3f2f63c770f86.camel@sipsolutions.net> <20191108120504.ptl25hacxcftb7tw@bars> <1c553c457024b295c7d0a6b118c3848eec28bcbd.camel@sipsolutions.net> <20191108160121.tbatmqwx64aoqqai@bars> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2019-11-14 at 13:02 +0530, Tamizh chelvam wrote: > On 2019-11-08 22:37, Johannes Berg wrote: > > On Fri, 2019-11-08 at 16:01 +0000, Sergey Matyukevich wrote: > > > > > > I think we still need NL80211_TID_CONFIG_ATTR_OVERRIDE in some way > > > > (maybe only as a flag attribute), since you could have > > > > > > > > * change all stations (some subset of TIDs) *including* already > > > > configured stations > > > > * or *excluding* already configured stations > > > > > > Hmmm... Logic is straightforwad without this flag: > > > - settings are applied to bitmasked TIDs of a single peer if address > > > is specifed > > > - settings are applied to bitmasked TIDs of all the peers if no > > > address is specified > > > > Sure, this is obvious, but what exactly does "all the peers" mean? > > > > Say I do > > > > set_tid_config(tids=0x1, peer=02:11:22:33:44:55, noack=yes) > > set_tid_config(tids=0x1, peer=NULL, noack=no) > > > > Does that reset peer 02:11:22:33:44:55, or not? This is not documented > > right now, and one could argue both ways - the override for that > > particular peer should stick, or should be removed. Which one is it? > > > Here, the second command won't reset the peer 02:11:22:33:44:55. Here we > are giving more > preference to the peer specific configuration. We have to reset the peer > 02:11:22:33:44:55 using the set_tid_config(tids=0x1, > peer=02:11:22:33:44:55, DEFAULT). I will add these in the DOC section > and send it in next patchset. OK, but maybe in some cases it _is_ desired to actually clear all peer- specific overrides (somehow)? johannes