From fdae8d212f7508d1a7aa7e0c1c0d0d34d49ccd9d Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 29 Aug 2010 00:29:46 +0200 Subject: [PATCH] carl9170 firmware: add undocumented PRETBTT timer 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 --- include/shared/hw.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/shared/hw.h b/include/shared/hw.h index 13b7b75..f58671f 100644 --- a/include/shared/hw.h +++ b/include/shared/hw.h @@ -148,6 +148,8 @@ #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) -- 2.31.1