mac80211: handle power constraint and country IEs in RRM
authorMoshe Benji <Moshe.Benji@intel.com>
Sun, 14 Dec 2014 09:05:50 +0000 (11:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 Dec 2014 14:45:16 +0000 (15:45 +0100)
commita5fee9cb6255b9bba5a977f92cb4807eafb89db0
treecfd4d46e258e77e724d3c48357ada652256456c8
parent179b8fc7fb59ec69835f225e6c813040bbf52ba8
mac80211: handle power constraint and country IEs in RRM

In beacons, handle the Country IE even if no Power Constraint IE
is present, and, capability wise, also in case that the Radio
Measurements capability is enabled.

In cases where the Country IE should be handled and that the
Power Constraint IE is not present, the Country IE alone will
set the power limit (and not both Country and Power Constraint
IEs).

Signed-off-by: Moshe Benji <moshe.benji@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c