summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorRA-Jay Hung <Jay_Hung@ralinktech.com>2011-02-20 13:55:25 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-21 15:39:59 -0500
commite90c54b2358559bd305ff08096e077d2a7f02bf3 (patch)
tree705409ec7f3d72a880cef20c133b739aad335ffe /drivers/net/wireless/rt2x00/rt2x00.h
parentd96aa640967ab10641a0a389a4a1569efa54ac72 (diff)
downloadlinux-e90c54b2358559bd305ff08096e077d2a7f02bf3.tar.gz
linux-e90c54b2358559bd305ff08096e077d2a7f02bf3.tar.bz2
linux-e90c54b2358559bd305ff08096e077d2a7f02bf3.zip
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>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index fd28836a0072..64c6ef52fe56 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -667,6 +667,7 @@ enum rt2x00_flags {
*/
CONFIG_SUPPORT_HW_BUTTON,
CONFIG_SUPPORT_HW_CRYPTO,
+ CONFIG_SUPPORT_POWER_LIMIT,
DRIVER_SUPPORT_CONTROL_FILTERS,
DRIVER_SUPPORT_CONTROL_FILTER_PSPOLL,
DRIVER_SUPPORT_PRE_TBTT_INTERRUPT,