Skip to content

Commit

Permalink
rt2x00: Add register definition for busy time on secondary channel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Oct 5, 2010
1 parent b1ef725 commit d4ce3a5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions drivers/net/wireless/rt2x00/rt2800.h
Original file line number Diff line number Diff line change
Expand Up @@ -747,15 +747,20 @@
#define INT_TIMER_EN_GP_TIMER FIELD32(0x00000002)

/*
* CH_IDLE_STA: channel idle time
* CH_IDLE_STA: channel idle time (in us)
*/
#define CH_IDLE_STA 0x1130

/*
* CH_BUSY_STA: channel busy time
* CH_BUSY_STA: channel busy time on primary channel (in us)
*/
#define CH_BUSY_STA 0x1134

/*
* CH_BUSY_STA_SEC: channel busy time on secondary channel in HT40 mode (in us)
*/
#define CH_BUSY_STA_SEC 0x1138

/*
* MAC_STATUS_CFG:
* BBP_RF_BUSY: When set to 0, BBP and RF are stable.
Expand Down

0 comments on commit d4ce3a5

Please sign in to comment.