nl80211: simplify peer specific TID configuration
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 24 Apr 2020 11:29:04 +0000 (14:29 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 27 May 2020 08:02:02 +0000 (10:02 +0200)
commitc03369558c435f7e82f7c06b0173fa73c1ed15c0
tree0f8775a116c2a9a889f8730c66dac752b71faf5b
parent33462e68231bccfe563a87614f4c4dd5d333837c
nl80211: simplify peer specific TID configuration

Current rule for applying TID configuration for specific peer looks overly
complicated. No need to reject new TID configuration when override flag is
specified. Another call with the same TID configuration, but without
override flag, allows to apply new configuration anyway.

Use the same approach as for the 'all peers' case: if override flag is
specified, then reset existing TID configuration and immediately
apply a new one.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20200424112905.26770-5-sergey.matyukevich.os@quantenna.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c