rt2800: use eeprom OFDM 6M TX power as criterion
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 5 Oct 2012 11:44:12 +0000 (13:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Oct 2012 19:53:12 +0000 (15:53 -0400)
commitd9bceaeb174fe70c62933e1bf608500c614c5130
tree73c630bec83b083837a0ed83d5687ea5c4ae6c62
parentde2493c58573214b0cc235c32f9ac59aa8a89c44
rt2800: use eeprom OFDM 6M TX power as criterion

Don use TX_PWR_CFG_0 register value of OFDM 6M tx power as criterion
since it can be changed. The same do vendor driver (see
AsicAdjustSingleSkuTxPower and AsicGetTxPowerOffset functions from
2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO).

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c