aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-03-12 16:40:07 +0100
committerKeith Whyte <keith@rhizomatica.org>2020-12-23 07:21:14 +0100
commitba8fe4e43565896773a9ce2cd00084c6fdd924f3 (patch)
tree340a343a55f6fd08332b14b03c9370a1aa22d243 /include
parent4dc5dcf4e0d238638c03cb1bc8f8401510099853 (diff)
Autofill LCLS parameters for A-interface transactionskeith/lcls2r1
That's experimental patch to facilitate testing of BSC implementation of LCLS. Change-Id: I35ae6b6ca04925c8d300bc1a0269af00eac727f3
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/debug.h1
-rw-r--r--include/osmocom/msc/mncc.h3
-rw-r--r--include/osmocom/msc/ran_msg.h1
-rw-r--r--include/osmocom/msc/transaction.h3
-rw-r--r--include/osmocom/msc/vlr.h1
5 files changed, 9 insertions, 0 deletions
diff --git a/include/osmocom/msc/debug.h b/include/osmocom/msc/debug.h
index 3347e20d4..0d08ceb11 100644
--- a/include/osmocom/msc/debug.h
+++ b/include/osmocom/msc/debug.h
@@ -8,6 +8,7 @@ enum {
DCC,
DMM,
DRR,
+ DLCLS,
DMNCC,
DPAG,
DMSC,
diff --git a/include/osmocom/msc/mncc.h b/include/osmocom/msc/mncc.h
index 1c8aff0c9..076747547 100644
--- a/include/osmocom/msc/mncc.h
+++ b/include/osmocom/msc/mncc.h
@@ -26,6 +26,7 @@
#include <osmocom/core/linuxlist.h>
#include <osmocom/gsm/mncc.h>
+#include <osmocom/gsm/gsm29205.h>
#include <stdint.h>
#include <netinet/in.h>
@@ -161,6 +162,8 @@ struct gsm_mncc {
unsigned char lchan_type;
unsigned char lchan_mode;
+ struct osmo_gcr_parsed gcr;
+
/* A buffer to contain SDP ('\0' terminated) */
char sdp[1024];
};
diff --git a/include/osmocom/msc/ran_msg.h b/include/osmocom/msc/ran_msg.h
index 3b08b466c..5fdb90cda 100644
--- a/include/osmocom/msc/ran_msg.h
+++ b/include/osmocom/msc/ran_msg.h
@@ -88,6 +88,7 @@ struct ran_assignment_command {
uint8_t osmux_cid;
bool call_id_present;
uint32_t call_id;
+ struct osmo_lcls *lcls;
};
struct ran_cipher_mode_command {
diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h
index 928b137ae..494ad88db 100644
--- a/include/osmocom/msc/transaction.h
+++ b/include/osmocom/msc/transaction.h
@@ -132,6 +132,7 @@ struct gsm_trans {
struct gsm_trans *peer;
enum bridge_state state;
} bridge;
+ struct osmo_lcls *lcls;
};
@@ -145,6 +146,8 @@ struct gsm_trans *trans_find_by_sm_rp_mr(const struct gsm_network *net,
const struct vlr_subscr *vsub,
uint8_t sm_rp_mr);
+struct osmo_lcls *trans_lcls_compose(const struct gsm_trans *trans, bool use_lac);
+
struct gsm_trans *trans_alloc(struct gsm_network *net,
struct vlr_subscr *vsub,
enum trans_type type, uint8_t trans_id,
diff --git a/include/osmocom/msc/vlr.h b/include/osmocom/msc/vlr.h
index 3b9bbc41c..971db528b 100644
--- a/include/osmocom/msc/vlr.h
+++ b/include/osmocom/msc/vlr.h
@@ -271,6 +271,7 @@ struct vlr_instance {
bool is_ps;
uint8_t nri_bitlen;
struct osmo_nri_ranges *nri_ranges;
+ bool lcls_enable;
} cfg;
/* A free-form pointer for use by the caller */
void *user_ctx;