Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2225822ybx; Fri, 8 Nov 2019 01:41:20 -0800 (PST) X-Google-Smtp-Source: APXvYqyREtPaulqBu281FF67dIat5w2PLpN/FmSbbZD0BLusvR0I0AOuknDR4oWH2G8uNbyXAqpK X-Received: by 2002:a17:906:22c9:: with SMTP id q9mr7678362eja.198.1573206080051; Fri, 08 Nov 2019 01:41:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573206080; cv=none; d=google.com; s=arc-20160816; b=tXs/mwX5Z5Faxotck8NUumPTtKNL3E8Xahks8yvS7Uo6Ucu7pBVz49825e7UlALvCt c8gUxTe3bKlqpOy/hLSNW+bW4ejetBFAp8lBDUPqzRWx54xa56ztvgOIWdSjwqKAz9nc 2/45JHdb6j1jbZ05Ax/qbzKHn688k4LOJdjZH35a35fXsUHEG6qlAR7FT1ODvG8t85fB 6+nvyzydBZ8HSPxL7NmO2WAGD4sq8ThThNvh7op+7X6r2H5LHgQ+weiqxa2sOKBKdHOD uXd3GFohPebnH4gQq1ZQO5Ma9idSGLvhdfLFH62ul78/23u604KIZhphka0YGlVDH7hX mbTQ== 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=KXjrJPo0nz41a+SL0OmqqsZ695ZDZzRxh4VVznzhvVs=; b=arFuiY1M8/Wt+uzxSffIOpA0KNW7c9zRipvfF8GmOgoGQX93eDJ8Ci65bzw/6nKqeq Wj1zwqaPatTeR5Ljy6K1/9xuION2r/9eUhdu7SBFd06bc27i9SVw/Lfb4qUNBfkrXbVg uHvnE7v7ayOn+CgOXykJWh2t8SQeVMQ/hY8ZQu0eTlP8WQBuTUSZ/Fl1xB2eKx847noR yAqbDFK7MXdXOCvqrFZyaSxT8FLW52QBFJBSR10vcWuW3CH199gEfj8PLiGyGb+3HGgf y4KM4AJpa7l3O9DhigUmUKW1KyU+e2tIIx8Q+5hZSQYou13QjTn4T3tfZ1re3uginexJ TETw== 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 u59si4239587edc.193.2019.11.08.01.40.54; Fri, 08 Nov 2019 01:41:20 -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 S1730884AbfKHJjl (ORCPT + 99 others); Fri, 8 Nov 2019 04:39:41 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:53176 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730573AbfKHJjl (ORCPT ); Fri, 8 Nov 2019 04:39:41 -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 1iT0ju-0006v5-K3; Fri, 08 Nov 2019 10:39:34 +0100 Message-ID: <84ca3a8b61757360ab9898afcdd3f2f63c770f86.camel@sipsolutions.net> Subject: Re: [PATCHv8 0/6] cfg80211/mac80211: Add support for TID specific configuration From: Johannes Berg To: Sergey Matyukevich , Tamizh chelvam Cc: "linux-wireless@vger.kernel.org" Date: Fri, 08 Nov 2019 10:39:33 +0100 In-Reply-To: <20191108093207.uv4j44xpm2qvtsv5@bars> References: <1572957714-16085-1-git-send-email-tamizhr@codeaurora.org> <20191108093207.uv4j44xpm2qvtsv5@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 Hi Sergey, Thanks for looking! > BTW, there are two open questions remaining from the previous reviews: > > - NL80211_TX_RATE_LIMITED and NL80211_TX_RATE_FIXED > Interpretation and validation of these two rate options is left > up to drivers. (need to look at this still) > - 'apply to all TIDs' usecase > Currently, if peer is not specified, then configuration is applied to > all the connected STAs. It is tempting to use some spare TID value > to inform drivers that provided configuration should be applied to > all TIDs of the specified STA or even to all TIDS and STAs. But that > can not be left up to drivers since this value needs to be passed > from userspace tools, e.g. from iw. I was *just* replying on exactly the same point over in patch 1 (not sent yet). It's actually not even clear to me that the configuration really would be applied to *all* STAs, it's sort of left open for the driver, afaict? But I agree with you that this is not a good thing. I don't think using a spare TID value is the right signalling, we can add another attribute? E.g. we could easily add NL80211_TID_CONFIG_ATTR_OVERRIDE and make that be @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribute, valid only if no STA is selected, if set indicates that the new configuration overrides all previous STA configurations, otherwise previous STA-specific configurations should be left untouched You also raise a good point wrt. "all TIDs" - but then we should probably just remove NL80211_TID_CONFIG_ATTR_TID and add a new NL80211_TID_CONFIG_ATTR_TIDS as a bitmap? OTOH, it's not hard to just explicitly spell out all TIDs either, I guess, just makes the message a bit bigger. johannes