carl9170 firmware: add undocumented PRETBTT timer
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 28 Aug 2010 22:29:46 +0000 (00:29 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 28 Aug 2010 22:29:46 +0000 (00:29 +0200)
There seems to be an additional timer in the MAC_PRETBTT
register. Unfortunately, the hardware specification does
not have any documentation about what this timer, (or
how it differs from the other for that matter).

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/shared/hw.h

index 13b7b754cc4dfa1226ed4191dfeb78c538d0d8f6..f58671f3dbbb42b2550738b237122482bbc15d19 100644 (file)
 #define        AR9170_MAC_REG_PRETBTT                  (AR9170_MAC_REG_BASE + 0x524)
 #define                AR9170_MAC_PRETBTT_S                    0
 #define                AR9170_MAC_PRETBTT                      0x0000ffff
+#define                AR9170_MAC_PRETBTT2_S                   16
+#define                AR9170_MAC_PRETBTT2                     0xffff0000
 
 #define        AR9170_MAC_REG_MAC_ADDR_L               (AR9170_MAC_REG_BASE + 0x610)
 #define        AR9170_MAC_REG_MAC_ADDR_H               (AR9170_MAC_REG_BASE + 0x614)