diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-12-31 17:17:15 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-12-31 17:17:15 +0000 |
commit | 86475832be1dd5c523be9ae6c692d54867b08db6 (patch) | |
tree | 081566a2015b1631176bb60db4af2632e1bd917f /sys/dev/ic/ar9285reg.h | |
parent | f0f6a29566d2e88652c1e61ef67cd33426587c7c (diff) |
commit some bits that will be required by AR9271/AR7010
Diffstat (limited to 'sys/dev/ic/ar9285reg.h')
-rw-r--r-- | sys/dev/ic/ar9285reg.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/dev/ic/ar9285reg.h b/sys/dev/ic/ar9285reg.h index a4880937327..a7bc6bf5615 100644 --- a/sys/dev/ic/ar9285reg.h +++ b/sys/dev/ic/ar9285reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9285reg.h,v 1.5 2010/12/31 14:37:15 damien Exp $ */ +/* $OpenBSD: ar9285reg.h,v 1.6 2010/12/31 17:17:14 damien Exp $ */ /*- * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr> @@ -67,6 +67,16 @@ #define AR9285_AN_RF2G3_OB_0_M 0x00e00000 #define AR9285_AN_RF2G3_OB_0_S 21 #define AR9285_AN_RF2G3_PDVCCOMP 0x02000000 +#define AR9271_AN_RF2G3_CCOMP_M 0x00000fff +#define AR9271_AN_RF2G3_CCOMP_S 0 +#define AR9271_AN_RF2G3_OB_QAM_M 0x00007000 +#define AR9271_AN_RF2G3_OB_QAM_S 12 +#define AR9271_AN_RF2G3_OB_PSK_M 0x00038000 +#define AR9271_AN_RF2G3_OB_PSK_S 15 +#define AR9271_AN_RF2G3_OB_CCK_M 0x001c0000 +#define AR9271_AN_RF2G3_OB_CCK_S 18 +#define AR9271_AN_RF2G3_DB1_M 0x00e00000 +#define AR9271_AN_RF2G3_DB1_S 21 /* Bits for AR9285_AN_RF2G4. */ #define AR9285_AN_RF2G4_DB2_4_M 0x00003800 @@ -83,6 +93,8 @@ #define AR9285_AN_RF2G4_DB1_4_S 26 #define AR9285_AN_RF2G4_DB1_3_M 0xe0000000 #define AR9285_AN_RF2G4_DB1_3_S 29 +#define AR9271_AN_RF2G4_DB2_M 0xe0000000 +#define AR9271_AN_RF2G4_DB2_S 29 /* Bits for AR9285_AN_RF2G5. */ #define AR9285_AN_RF2G5_IC50TX_M 0x00000700 @@ -93,6 +105,8 @@ #define AR9285_AN_RF2G6_CCOMP_S 11 #define AR9285_AN_RF2G6_OFFS_6_1 0x03f00000 #define AR9285_AN_RF2G6_OFFS(i) (1 << (19 + (i))) +#define AR9271_AN_RF2G6_OFFS_6_0 0x07f00000 +#define AR9271_AN_RF2G6_OFFS(i) (1 << (20 + (i))) /* Bits for AR9285_AN_RF2G7. */ #define AR9285_AN_RF2G7_PWDDB 0x00000002 |