aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2012-10-05 13:44:10 +0200
committerJohn W. Linville <[email protected]>2012-10-19 15:53:09 -0400
commit19f3fa248174b2611d47229db847427092c1849f (patch)
tree8bb218be9f48274f6d36ec0fcbf8f8480ed68e65 /lib/cpu-notifier-error-inject.c
parentcee2c7315f60beeff6137ee59e99acc77d636eeb (diff)
rt2800: limit TX_PWR_CFG_ values to 0xc
Based on AsicAdjustTxPower function from vendor driver (2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO) limit per rate TX power values we program into TX_PWR_CFG_ registers. Note that on some configurations (devices/rates) is allowed to use bigger values than 0xc, but we use safe maximum value for now. Further work need to be done to allow use bigger values than 0xc. Signed-off-by: Stanislaw Gruszka <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Acked-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions