diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-09-11 12:10:31 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-09-11 12:10:31 +0000 |
commit | fa686fd4c9601a7ded99c38e2497ce2099140e98 (patch) | |
tree | 386d640684e9a2877bc0935682f5660f46c9a123 /include | |
parent | 09c2e5344c429362075361bfac484b2e2f4ae919 (diff) |
[layer23 / layer1] Added interface for changing crypto mode of DSP
The layer23 will now set crypto mode and key when CIPHERING MODE COMMAND is
received. After crypto mode has been set, CIPHERING MODE COMPLETE is sent.
NOTE: Layer1 implements only the interface, there is no functionality to it
yet.
Diffstat (limited to 'include')
-rw-r--r-- | include/l1ctl_proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h index 9997450a..d76614b2 100644 --- a/include/l1ctl_proto.h +++ b/include/l1ctl_proto.h @@ -46,6 +46,7 @@ enum { L1CTL_DM_REL_REQ, L1CTL_PARAM_REQ, L1CTL_DM_FREQ_REQ, + L1CTL_CRYPTO_REQ, }; enum ccch_mode { @@ -199,6 +200,11 @@ struct l1ctl_dm_freq_req { }; } __attribute__((packed)); +struct l1ctl_crypto_req { + uint8_t algo; + uint8_t key[0]; +} __attribute__((packed)); + struct l1ctl_pm_req { uint8_t type; uint8_t padding[3]; |