OSDN Git Service

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)
commite552af058148498c8a0874edf6b022caea9cb2b7
tree176cef8fc4f72597b18c3be3763223e18e39992e
parent5bf16a11ba2940c67d0b3a2154813bb42e8c6281
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