summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-09-11 14:10:31 +0200
committerAndreas.Eversberg2010-09-11 14:10:31 +0200
commitfa686fd4c9601a7ded99c38e2497ce2099140e98 (patch)
tree386d640684e9a2877bc0935682f5660f46c9a123 /src/host/layer23/include/osmocom/bb/common
parent[layer23] Fix of MCC/MNC output in sysinfo.c (diff)
downloadosmocom-fa686fd4c9601a7ded99c38e2497ce2099140e98.tar.gz
osmocom-fa686fd4c9601a7ded99c38e2497ce2099140e98.tar.xz
osmocom-fa686fd4c9601a7ded99c38e2497ce2099140e98.zip
[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 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/l1ctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/l1ctl.h b/src/host/layer23/include/osmocom/bb/common/l1ctl.h
index bfcacd3..01a49b2 100644
--- a/src/host/layer23/include/osmocom/bb/common/l1ctl.h
+++ b/src/host/layer23/include/osmocom/bb/common/l1ctl.h
@@ -16,6 +16,9 @@ int l1ctl_tx_data_req(struct osmocom_ms *ms, struct msgb *msg, uint8_t chan_nr,
/* Transmit L1CTL_PARAM_REQ */
int l1ctl_tx_param_req(struct osmocom_ms *ms, uint8_t ta, uint8_t tx_power);
+int l1ctl_tx_crypto_req(struct osmocom_ms *ms, uint8_t algo, uint8_t *key,
+ uint8_t len);
+
/* Transmit L1CTL_RACH_REQ */
int l1ctl_tx_rach_req(struct osmocom_ms *ms, uint8_t ra, uint8_t fn51,
uint8_t mf_off);