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>
This commit is contained in:
Hong Wu 2012-01-11 20:34:30 +02:00 • committed by John W. Linville
commit a48b13ac81
2 changed files with 3 additions and 2 deletions