X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=include%2Fshared%2Fhw.h;h=bc4a83a107d2aa091450de4a31d267fba6c9c11c;hp=13b7b754cc4dfa1226ed4191dfeb78c538d0d8f6;hb=680e83cda3d01bd4feb932f9b0e8e04cf43f2de9;hpb=65dd584c008fdc28e8398bacfdb311b19ae80507 diff --git a/include/shared/hw.h b/include/shared/hw.h index 13b7b75..bc4a83a 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) @@ -237,11 +239,6 @@ #define AR9170_MAC_CAM_STA 0x2 #define AR9170_MAC_CAM_AP_WDS 0x3 #define AR9170_MAC_CAM_DEFAULTS (0xf << 24) -/* BEACON specification bits */ -#define AR9170_MAC_CAM_AP_MODE 0x01000000 -#define AR9170_MAC_CAM_IBSS_MODE 0x02000000 -#define AR9170_MAC_CAM_POWER_MNT 0x04000000 -#define AR9170_MAC_CAM_STA_PS 0x08000000 #define AR9170_MAC_CAM_HOST_PENDING 0x80000000 #define AR9170_MAC_REG_CAM_ROLL_CALL_TBL_L (AR9170_MAC_REG_BASE + 0x704) @@ -653,7 +650,11 @@ #define AR9170_CAM_MAX_USER 64 #define AR9170_CAM_MAX_KEY_LENGTH 16 -#define AR9170_PRAM_OFFSET 0x200000 +#define AR9170_SRAM_OFFSET 0x100000 +#define AR9170_SRAM_SIZE 0x18000 + +#define AR9170_PRAM_OFFSET 0x200000 +#define AR9170_PRAM_SIZE 0x8000 enum cpu_clock { AHB_STATIC_40MHZ = 0,