aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-03-13 14:15:22 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-03-13 18:20:40 +0300
commit2902d91d69d2583bc7dd835fe6b389bc1a78dd27 (patch)
tree9487b5c8c9e3bf37c9515eedf8ef4d7392c733a6 /include/osmocom
parent798a71eb300dfeb4c76e8c3d2973173ae81e1602 (diff)
gsm48_make_ho_cmd(): optionally add Cipher Mode Setting IE
According to 3GPP TS 44.018, section 9.1.15, the RR Handover Command message may optionally contain the Cipher Mode Setting IE (10.5.2.9). Section 9.1.15.10 states that this IE may be omitted in case of the intra-RAT GERAN-to-GERAN handover, however in case of the inter-RAT handover (e.g. EUTRAN-to-GERAN), this IE *shall* always be included. Change-Id: I1d270e82d0a9b12897fc94dae4e8999aa132a22f Related: SYS#5838
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/bsc/gsm_04_08_rr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_04_08_rr.h b/include/osmocom/bsc/gsm_04_08_rr.h
index 613787db4..75307d63f 100644
--- a/include/osmocom/bsc/gsm_04_08_rr.h
+++ b/include/osmocom/bsc/gsm_04_08_rr.h
@@ -3,6 +3,8 @@
#include <stdint.h>
#include <osmocom/core/msgb.h>
+enum handover_scope;
+
struct amr_mode;
struct amr_multirate_conf;
struct bsc_subscr;
@@ -25,6 +27,7 @@ int gsm48_multirate_config(struct msgb *msg,
const struct gsm48_multi_rate_conf *mr_conf,
const struct amr_mode *modes, unsigned int num_modes);
struct msgb *gsm48_make_ho_cmd(const struct gsm_lchan *new_lchan,
+ enum handover_scope ho_scope,
uint8_t power_command, uint8_t ho_ref);
int gsm48_send_rr_ass_cmd(struct gsm_lchan *dest_lchan, struct gsm_lchan *lchan, uint8_t power_command);
int gsm48_send_rr_app_info(struct gsm_lchan *lchan, uint8_t apdu_id, uint8_t apdu_flags,