aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2010-10-02 05:30:42 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-05 13:35:27 -0400
commitd4ce3a5ea16f82d73922b7bfb8a177e371493ffb (patch)
treea25c75989d6eeda18964b4d92668ff203e05ff4e
parentb1ef7252f491b6dc09ffc4584da0f3cf564e05e5 (diff)
rt2x00: Add register definition for busy time on secondary channel
Add the register definition CH_BUSY_STA_SEC for reading the busy time on the secondary channel in HT40 mode. Also update the comments about channel busy/idle time registers to express the used unit. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/rt2x00/rt2800.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
index 9bf50a1c48d0..f02ea129680e 100644
--- a/drivers/net/wireless/rt2x00/rt2800.h
+++ b/drivers/net/wireless/rt2x00/rt2800.h
@@ -747,16 +747,21 @@
747#define INT_TIMER_EN_GP_TIMER FIELD32(0x00000002) 747#define INT_TIMER_EN_GP_TIMER FIELD32(0x00000002)
748 748
749/* 749/*
750 * CH_IDLE_STA: channel idle time 750 * CH_IDLE_STA: channel idle time (in us)
751 */ 751 */
752#define CH_IDLE_STA 0x1130 752#define CH_IDLE_STA 0x1130
753 753
754/* 754/*
755 * CH_BUSY_STA: channel busy time 755 * CH_BUSY_STA: channel busy time on primary channel (in us)
756 */ 756 */
757#define CH_BUSY_STA 0x1134 757#define CH_BUSY_STA 0x1134
758 758
759/* 759/*
760 * CH_BUSY_STA_SEC: channel busy time on secondary channel in HT40 mode (in us)
761 */
762#define CH_BUSY_STA_SEC 0x1138
763
764/*
760 * MAC_STATUS_CFG: 765 * MAC_STATUS_CFG:
761 * BBP_RF_BUSY: When set to 0, BBP and RF are stable. 766 * BBP_RF_BUSY: When set to 0, BBP and RF are stable.
762 * if 1 or higher one of the 2 registers is busy. 767 * if 1 or higher one of the 2 registers is busy.