summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-29 11:19:17 -0700
committerKeith Packard <keithp@keithp.com>2012-08-29 11:19:17 -0700
commit7f64e62356bcfcd6ba8a88b09251793481bcd56c (patch)
treec17096f96566475b6a5fd43b6476f5eb4ee8e3e8 /src/core/ao.h
parent1a7d2faf76a46271532102e217c2dd5515e38b72 (diff)
altos: Note changes to configured AES key for SPI radio convenience
Keep a sequence number to mark when the AES key is changed so that the radio code can avoid sending the key before every CMAC radio operation. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index b8bedd85..66c0881f 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -718,6 +718,8 @@ extern __xdata uint8_t ao_force_freq;
#define AO_AES_LEN 16
+extern __xdata uint8_t ao_config_aes_seq;
+
struct ao_config {
uint8_t major;
uint8_t minor;