diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-18 05:47:28 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-18 06:17:50 +0700 |
commit | feec102aea039c4091fa9cf6075d45fd23448bd3 (patch) | |
tree | 74dd5c9d11d41a9989ac6aa50f55fab8a7be4989 /src/host/trxcon/sched_trx.h | |
parent | 44838f79a2408feca664980d4b42a5c86b17db07 (diff) |
trxcon/scheduler: implement A5/X ciphering support
This change implements the A5/X ciphering support transparently
for the logical channel handlers. In other words, a DL burst is
deciphered before being passed to a handler, and an UL burst is
ciphered before being sent to transceiver.
The implementation mostly relays on the libosmocore's A5 API.
Change-Id: Ib53418d8c0f394fdece09cf5cc240887cb0bb5af
Diffstat (limited to 'src/host/trxcon/sched_trx.h')
-rw-r--r-- | src/host/trxcon/sched_trx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/trxcon/sched_trx.h b/src/host/trxcon/sched_trx.h index 54dbc855..504054a5 100644 --- a/src/host/trxcon/sched_trx.h +++ b/src/host/trxcon/sched_trx.h @@ -253,6 +253,8 @@ void sched_trx_del_ts(struct trx_instance *trx, int tn); int sched_trx_reset_ts(struct trx_instance *trx, int tn); int sched_trx_configure_ts(struct trx_instance *trx, int tn, enum gsm_phys_chan_config config); +int sched_trx_start_ciphering(struct trx_ts *ts, uint8_t algo, + uint8_t *key, uint8_t key_len); /* Logical channel management functions */ enum gsm_phys_chan_config sched_trx_chan_nr2pchan_config(uint8_t chan_nr); |