]> 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)
commitb9395aeecf3b339b4ab0c2f740b68aea3972a992
tree176cef8fc4f72597b18c3be3763223e18e39992e
parent31088f0d303282bfc85aaaedd588de0a1d159e7d
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