mac80211: split 802.11h parsing from transmit power policy
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 3 Sep 2014 13:22:10 +0000 (06:22 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Sep 2014 08:43:18 +0000 (10:43 +0200)
commit24a4e4008ca2a819c4c889163586a8a9b7a3a08d
treed094dd2bde809c511444636e441af1dc04a112c0
parentf3000e1b43f164802f2a74c9de6a398943a36378
mac80211: split 802.11h parsing from transmit power policy

Decouple the logic of parsing the 802.11d and 802.11h IEs from the
part of deciding what to do about the data (messaging, clamping to
0 dBm, doing the actual setting). This paves the way for the next
patch, which introduces more data sources for transmit power limitation.

Signed-off-by: Steinar H. Gunderson <sgunderson@bigfoot.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c