summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800.h
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2010-04-23 15:54:43 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-26 14:21:23 -0400
commit5a673964266438784b4ebf65ee07970cde61ab5e (patch)
tree3abdc00d91cd7bf67abaeefc4229cea51e0be2d7 /drivers/net/wireless/rt2x00/rt2800.h
parent2caaa5d36ee210919bd0ecc7b2e6648171544e95 (diff)
downloadblackbird-op-linux-5a673964266438784b4ebf65ee07970cde61ab5e.tar.gz
blackbird-op-linux-5a673964266438784b4ebf65ee07970cde61ab5e.zip
rt2x00: rt2800: use tx_power2 in rt2800_config_channel_rf3xxx
Get closer to what the ralink driver does by setting the rf register 13 to tx_power2 during channel switch. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.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>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
index ec893721cc80..1c59dc6a3aa2 100644
--- a/drivers/net/wireless/rt2x00/rt2800.h
+++ b/drivers/net/wireless/rt2x00/rt2800.h
@@ -1566,6 +1566,11 @@ struct mac_iveiv_entry {
#define RFCSR12_TX_POWER FIELD8(0x1f)
/*
+ * RFCSR 13:
+ */
+#define RFCSR13_TX_POWER FIELD8(0x1f)
+
+/*
* RFCSR 15:
*/
#define RFCSR15_TX_LO2_EN FIELD8(0x08)
OpenPOWER on IntegriCloud