]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: limit wmm params to comply with ETSI requirements
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 28 Mar 2018 10:24:10 +0000 (13:24 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Mar 2018 09:11:50 +0000 (11:11 +0200)
commitef1bbba10c89d30f4363eca4be313144cacf3854
tree176cef8fc4f72597b18c3be3763223e18e39992e
parent0f4f0113e46228b2cb1d3393ae089e7934245563
mac80211: limit wmm params to comply with ETSI requirements

ETSI has recently added new requirements that restrict the WMM
parameter values for 5GHz frequencies.  We need to take care of the
following scenarios in order to comply with these new requirements:

1. When using mac80211 default values;
2. When the userspace tries to configure its own values;
3. When associating to an AP which advertises WWM IE.

When associating to an AP, the client uses the values in the
advertised WMM IE.  But the AP may not comply with the new ETSI
requirements, so the client needs to check the current regulatory
rules and use those limits accordingly.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c