aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/reg.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/wireless/ath/reg.h
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/wireless/ath/reg.h')
-rw-r--r--drivers/net/wireless/ath/reg.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/reg.h b/drivers/net/wireless/ath/reg.h
index dfe1fbec24f5..298e53f3fa48 100644
--- a/drivers/net/wireless/ath/reg.h
+++ b/drivers/net/wireless/ath/reg.h
@@ -17,6 +17,12 @@
17#ifndef ATH_REGISTERS_H 17#ifndef ATH_REGISTERS_H
18#define ATH_REGISTERS_H 18#define ATH_REGISTERS_H
19 19
20#define AR_MIBC 0x0040
21#define AR_MIBC_COW 0x00000001
22#define AR_MIBC_FMC 0x00000002
23#define AR_MIBC_CMC 0x00000004
24#define AR_MIBC_MCS 0x00000008
25
20/* 26/*
21 * BSSID mask registers. See ath_hw_set_bssid_mask() 27 * BSSID mask registers. See ath_hw_set_bssid_mask()
22 * for detailed documentation about these registers. 28 * for detailed documentation about these registers.
@@ -24,4 +30,32 @@
24#define AR_BSSMSKL 0x80e0 30#define AR_BSSMSKL 0x80e0
25#define AR_BSSMSKU 0x80e4 31#define AR_BSSMSKU 0x80e4
26 32
33#define AR_TFCNT 0x80ec
34#define AR_RFCNT 0x80f0
35#define AR_RCCNT 0x80f4
36#define AR_CCCNT 0x80f8
37
38#define AR_KEYTABLE_0 0x8800
39#define AR_KEYTABLE(_n) (AR_KEYTABLE_0 + ((_n)*32))
40#define AR_KEY_CACHE_SIZE 128
41#define AR_RSVD_KEYTABLE_ENTRIES 4
42#define AR_KEY_TYPE 0x00000007
43#define AR_KEYTABLE_TYPE_40 0x00000000
44#define AR_KEYTABLE_TYPE_104 0x00000001
45#define AR_KEYTABLE_TYPE_128 0x00000003
46#define AR_KEYTABLE_TYPE_TKIP 0x00000004
47#define AR_KEYTABLE_TYPE_AES 0x00000005
48#define AR_KEYTABLE_TYPE_CCM 0x00000006
49#define AR_KEYTABLE_TYPE_CLR 0x00000007
50#define AR_KEYTABLE_ANT 0x00000008
51#define AR_KEYTABLE_VALID 0x00008000
52#define AR_KEYTABLE_KEY0(_n) (AR_KEYTABLE(_n) + 0)
53#define AR_KEYTABLE_KEY1(_n) (AR_KEYTABLE(_n) + 4)
54#define AR_KEYTABLE_KEY2(_n) (AR_KEYTABLE(_n) + 8)
55#define AR_KEYTABLE_KEY3(_n) (AR_KEYTABLE(_n) + 12)
56#define AR_KEYTABLE_KEY4(_n) (AR_KEYTABLE(_n) + 16)
57#define AR_KEYTABLE_TYPE(_n) (AR_KEYTABLE(_n) + 20)
58#define AR_KEYTABLE_MAC0(_n) (AR_KEYTABLE(_n) + 24)
59#define AR_KEYTABLE_MAC1(_n) (AR_KEYTABLE(_n) + 28)
60
27#endif /* ATH_REGISTERS_H */ 61#endif /* ATH_REGISTERS_H */