aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/reg.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-08 06:32:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:10 -0500
commit0ced0e176ab854df15bd307188decba9c06650e5 (patch)
tree328c2e71b43c3ede5fa470e83c76de45f360eafb /drivers/net/wireless/ath9k/reg.h
parentca470b29027f093d8d63abc0fa401cf4f72e427b (diff)
ath9k: Setup MFP options for CCMP
Configure hardware CCMP for management frame protection and use software crypto when needed. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/reg.h')
-rw-r--r--drivers/net/wireless/ath9k/reg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/reg.h b/drivers/net/wireless/ath9k/reg.h
index 9a615224e4f7..2dffe371ffe4 100644
--- a/drivers/net/wireless/ath9k/reg.h
+++ b/drivers/net/wireless/ath9k/reg.h
@@ -1253,6 +1253,8 @@ enum {
1253 1253
1254#define AR_AES_MUTE_MASK1 0x8060 1254#define AR_AES_MUTE_MASK1 0x8060
1255#define AR_AES_MUTE_MASK1_SEQ 0x0000FFFF 1255#define AR_AES_MUTE_MASK1_SEQ 0x0000FFFF
1256#define AR_AES_MUTE_MASK1_FC_MGMT 0xFFFF0000
1257#define AR_AES_MUTE_MASK1_FC_MGMT_S 16
1256 1258
1257#define AR_GATED_CLKS 0x8064 1259#define AR_GATED_CLKS 0x8064
1258#define AR_GATED_CLKS_TX 0x00000002 1260#define AR_GATED_CLKS_TX 0x00000002
@@ -1477,6 +1479,10 @@ enum {
1477#define AR_PCU_TXBUF_CTRL_USABLE_SIZE 0x700 1479#define AR_PCU_TXBUF_CTRL_USABLE_SIZE 0x700
1478#define AR_9285_PCU_TXBUF_CTRL_USABLE_SIZE 0x380 1480#define AR_9285_PCU_TXBUF_CTRL_USABLE_SIZE 0x380
1479 1481
1482#define AR_PCU_MISC_MODE2 0x8344
1483#define AR_PCU_MISC_MODE2_MGMT_CRYPTO_ENABLE 0x00000002
1484#define AR_PCU_MISC_MODE2_NO_CRYPTO_FOR_NON_DATA_PKT 0x00000004
1485
1480#define AR_KEYTABLE_0 0x8800 1486#define AR_KEYTABLE_0 0x8800
1481#define AR_KEYTABLE(_n) (AR_KEYTABLE_0 + ((_n)*32)) 1487#define AR_KEYTABLE(_n) (AR_KEYTABLE_0 + ((_n)*32))
1482#define AR_KEY_CACHE_SIZE 128 1488#define AR_KEY_CACHE_SIZE 128