Skip to content

Commit

Permalink
rt2x00: add field definitions for the TBTT_SYNC_CFG register
Browse files Browse the repository at this point in the history
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 d4ce3a5 commit c4c18a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/net/wireless/rt2x00/rt2800.h
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,14 @@

/*
* TBTT_SYNC_CFG:
* BCN_AIFSN: Beacon AIFSN after TBTT interrupt in slots
* BCN_CWMIN: Beacon CWMin after TBTT interrupt in slots
*/
#define TBTT_SYNC_CFG 0x1118
#define TBTT_SYNC_CFG_TBTT_ADJUST FIELD32(0x000000ff)
#define TBTT_SYNC_CFG_BCN_EXP_WIN FIELD32(0x0000ff00)
#define TBTT_SYNC_CFG_BCN_AIFSN FIELD32(0x000f0000)
#define TBTT_SYNC_CFG_BCN_CWMIN FIELD32(0x00f00000)

/*
* TSF_TIMER_DW0: Local lsb TSF timer, read-only
Expand Down

0 comments on commit c4c18a9

Please sign in to comment.