diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-20 21:59:55 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-27 03:52:44 +0200 |
commit | c29505e1d15310ccdf651e213f9040e7977c7db3 (patch) | |
tree | c70fb6d07d4278b05a12f8843065e59eb443fa33 /src/libcommon | |
parent | 66e5e3c328b59bfaac31b958ae1d48fe8bfa72c6 (diff) |
Implement IuCS (large refactoring and addition)
osmo-nitb becomes osmo-msc
add DIUCS debug log constant
add iucs.[hc]
add msc vty, remove nitb vty
add libiudummy, to avoid linking Iu deps in tests
Use new msc_tx_dtap() instead of gsm0808_submit_dtap()
libmgcp: add mgcpgw client API
bridge calls via mgcpgw
Enable MSC specific CTRL commands, bsc_base_ctrl_cmds_install() still needs to
be split up.
Change-Id: I5b5b6a9678b458affa86800afb1ec726e66eed88
Diffstat (limited to 'src/libcommon')
-rw-r--r-- | src/libcommon/debug.c | 5 | ||||
-rw-r--r-- | src/libcommon/gsm_data.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/libcommon/debug.c b/src/libcommon/debug.c index dc79a843e..7dbbc6ac0 100644 --- a/src/libcommon/debug.c +++ b/src/libcommon/debug.c @@ -184,6 +184,11 @@ static const struct log_info_cat default_categories[] = { .description = "Visitor Location Register", .enabled = 1, .loglevel = LOGL_DEBUG, }, + [DIUCS] = { + .name = "DIUCS", + .description = "Iu-CS Protocol", + .enabled = 1, .loglevel = LOGL_DEBUG, + }, }; static int filter_fn(const struct log_context *ctx, struct log_target *tar) diff --git a/src/libcommon/gsm_data.c b/src/libcommon/gsm_data.c index f6fde37bd..b5bf0599e 100644 --- a/src/libcommon/gsm_data.c +++ b/src/libcommon/gsm_data.c @@ -449,3 +449,10 @@ bool classmark_is_r99(struct gsm_classmark *cm) rev_lev = (cm->classmark2[0] >> 5) & 0x3; return rev_lev >= 2; } + +const struct value_string ran_type_names[] = { + OSMO_VALUE_STRING(RAN_UNKNOWN), + OSMO_VALUE_STRING(RAN_GERAN_A), + OSMO_VALUE_STRING(RAN_UTRAN_IU), + { 0, NULL } +}; |