Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2774034ybx; Fri, 8 Nov 2019 09:08:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxInYtxOJRHQ0n2p19qM8DL9ZGGAc673l9nh4+6bSpmXwQQkmZ1fJM89tR8d5yFX+mGhrwg X-Received: by 2002:adf:ef10:: with SMTP id e16mr8044672wro.58.1573232906281; Fri, 08 Nov 2019 09:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573232906; cv=none; d=google.com; s=arc-20160816; b=pRDG0coBO8OIQy8J87YUF6hVRBwmbxERKVeuud9MJK3u4Ve0DhgQJa2S7XZVp17Dbx s/D9ShTlf9ZkmV+QoTKnrKMqAol4N+/RJH4LOU2P7muOvJqBQVlbaa+BBbJcuCeU7Xhk cwRlocIlK9+iM3VhA2po3EXMJlzatLNcqwVLLGgwx52zZ9wVwRgK6q0qdvWz+rJhpbnl WXY5Zf2Os0RVdmjo8pk59ExF//h9V2utM+WwkQ6kyxBlmG/1hXQkqd3ez6gQ/nq9EWOC ZFvV2QS6aFsJBeVxiMLQn+k5lPqIpnrb+LFTaVcwkQXaSWu02UI63y+a+NsFOHxZgcFd qQRg== 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=7+joAPdVc1nmaYRUPE3YKAfY8NlWJa5YAZOpJ8sDSwI=; b=bv6425rTbDDnYK4A5DYSVIRdVNpMo5al4R0a159xnY09LPOhgPELRkOI6acK9mdQ79 8SxCv1CP+8gqOBuvvOvy1VLEQOYHQc79uPV/2GB95/XaHeCBOapGr/EpeT3WODOy/y4R xVy4GiY7GLFtijWhohLgtDohiOlNO/7tBmA+01SN8MbirHXVUPvdk4EAYwUw5TMq1eC7 q0/+VXyrsISANkU8T/q1DBe1jGOh1U8kwMkbvQpdkBLcs4OZIHw9eIbRpeHDxyGxMOCF VJqgup+mVJ67RaHrZrxMvmK1h45In6TFfj71iyKJBZDeqtL6JjEx77ZEhHgwzyNe8g1d Wf2g== 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 w29si4585500edd.270.2019.11.08.09.07.45; Fri, 08 Nov 2019 09:08:26 -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 S1727412AbfKHRHo (ORCPT + 99 others); Fri, 8 Nov 2019 12:07:44 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:36312 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbfKHRHn (ORCPT ); Fri, 8 Nov 2019 12:07:43 -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 1iT7jW-0007xb-J0; Fri, 08 Nov 2019 18:07:38 +0100 Message-ID: Subject: Re: [PATCHv8 0/6] cfg80211/mac80211: Add support for TID specific configuration From: Johannes Berg To: Sergey Matyukevich Cc: Tamizh chelvam , "linux-wireless@vger.kernel.org" Date: Fri, 08 Nov 2019 18:07:34 +0100 In-Reply-To: <20191108160121.tbatmqwx64aoqqai@bars> 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 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? > It looks like you want to infer too much from a single flag. Why keep this logic in > cfg80211/mac80211/driver ? I just want to disambiguate what "all the peers" means. Not sure what you mean by keeping the logic? johannes