diff options
Diffstat (limited to 'net/mac80211/key.h')
-rw-r--r-- | net/mac80211/key.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/mac80211/key.h b/net/mac80211/key.h index 1493c3e56b9f..05ce4c0203fc 100644 --- a/net/mac80211/key.h +++ b/net/mac80211/key.h | |||
@@ -82,7 +82,7 @@ struct ieee80211_key { | |||
82 | struct tkip_ctx rx[NUM_RX_DATA_QUEUES]; | 82 | struct tkip_ctx rx[NUM_RX_DATA_QUEUES]; |
83 | } tkip; | 83 | } tkip; |
84 | struct { | 84 | struct { |
85 | u8 tx_pn[6]; | 85 | atomic64_t tx_pn; |
86 | /* | 86 | /* |
87 | * Last received packet number. The first | 87 | * Last received packet number. The first |
88 | * NUM_RX_DATA_QUEUES counters are used with Data | 88 | * NUM_RX_DATA_QUEUES counters are used with Data |
@@ -92,12 +92,9 @@ struct ieee80211_key { | |||
92 | u8 rx_pn[NUM_RX_DATA_QUEUES + 1][6]; | 92 | u8 rx_pn[NUM_RX_DATA_QUEUES + 1][6]; |
93 | struct crypto_cipher *tfm; | 93 | struct crypto_cipher *tfm; |
94 | u32 replays; /* dot11RSNAStatsCCMPReplays */ | 94 | u32 replays; /* dot11RSNAStatsCCMPReplays */ |
95 | /* scratch buffers for virt_to_page() (crypto API) */ | ||
96 | #ifndef AES_BLOCK_LEN | 95 | #ifndef AES_BLOCK_LEN |
97 | #define AES_BLOCK_LEN 16 | 96 | #define AES_BLOCK_LEN 16 |
98 | #endif | 97 | #endif |
99 | u8 tx_crypto_buf[6 * AES_BLOCK_LEN]; | ||
100 | u8 rx_crypto_buf[6 * AES_BLOCK_LEN]; | ||
101 | } ccmp; | 98 | } ccmp; |
102 | struct { | 99 | struct { |
103 | u8 tx_pn[6]; | 100 | u8 tx_pn[6]; |