]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
rt2x00: Fix rt2800 txpower setting to correct value
authorRA-Jay Hung <Jay_Hung@ralinktech.com>
Sun, 20 Feb 2011 12:55:25 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Feb 2011 20:39:59 +0000 (15:39 -0500)
commite90c54b2358559bd305ff08096e077d2a7f02bf3
tree705409ec7f3d72a880cef20c133b739aad335ffe
parentd96aa640967ab10641a0a389a4a1569efa54ac72
rt2x00: Fix rt2800 txpower setting to correct value

TX_PWR_CFG_* setting need to consider below cases
-compesate 20M/40M tx power delta for 2.4/5GHZ band
-limit maximum EIRP tx power to power_level of
 regulatory requirement

Signed-off-by: RA-Jay Hung <jay_hung@ralinktech.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2x00.h