Search Linux Wireless

Re: [PATCHv8 0/6] cfg80211/mac80211: Add support for TID specific configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux