From: Christian Lamparter Date: Sat, 28 Aug 2010 22:29:46 +0000 (+0200) Subject: carl9170 firmware: add undocumented PRETBTT timer X-Git-Tag: 1.8.8~3 X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=fdae8d212f7508d1a7aa7e0c1c0d0d34d49ccd9d 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 --- 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)