diff options
author | RA-Jay Hung <Jay_Hung@ralinktech.com> | 2011-02-20 13:55:25 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-21 15:39:59 -0500 |
commit | e90c54b2358559bd305ff08096e077d2a7f02bf3 (patch) | |
tree | 705409ec7f3d72a880cef20c133b739aad335ffe /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | d96aa640967ab10641a0a389a4a1569efa54ac72 (diff) | |
download | linux-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.h | 1 |
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, |