]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix the maximum transmit power with power constraint
authorHong Wu <Hong.Wu@dspg.com>
Wed, 11 Jan 2012 18:34:30 +0000 (20:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:21:11 +0000 (14:21 -0500)
commitb953b94493a880ccc99018147d16dfa1b05f16ab
tree0a9a83a9baa14a14932d44e4a3ba3554f951e1b5
parent77dc7c65b6b24e013be38f70cc95b92d57d35fd9
mac80211: Fix the maximum transmit power with power constraint

The local maximum transmit power for a channel is defined as the maximum
regulatory transmission power minus the local power constraint specified
for the channel in the Power Constraint element. (7.3.2.15 IEEE80211 2007)

Signed-off-by: Hong Wu <hong.wu@dspg.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
net/mac80211/mlme.c