diff options
author | Keith Whyte <keith@rhizomatica.org> | 2020-11-22 23:53:23 +0100 |
---|---|---|
committer | Keith Whyte <keith@rhizomatica.org> | 2020-11-22 23:53:23 +0100 |
commit | 17d225492c8235010a1a866ad0291a1e5163125a (patch) | |
tree | 254c9401db3c43ce1169eff892a465370fa48da0 /src/libmsc/ran_msg_a.c | |
parent | 8be9f364f8d2a1b8edc647984d4c877ebca49aba (diff) |
Current WIP in broken progresskeith/lcls_nonsense
A bunch of nonsense that will probably crash
Includes, compilation errors, strange comments.
Trying to track down how to pass something from call leg A to leg B in CC
Change-Id: Ib206fcbe5e7f2b6d512927482ea9e160aca510a8
Diffstat (limited to 'src/libmsc/ran_msg_a.c')
-rw-r--r-- | src/libmsc/ran_msg_a.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libmsc/ran_msg_a.c b/src/libmsc/ran_msg_a.c index 87e0a8b39..05966b28f 100644 --- a/src/libmsc/ran_msg_a.c +++ b/src/libmsc/ran_msg_a.c @@ -1251,11 +1251,21 @@ static struct msgb *_ran_a_encode(struct osmo_fsm_inst *caller_fi, const struct struct msgb *ran_a_encode(struct osmo_fsm_inst *caller_fi, const struct ran_msg *ran_enc_msg) { + /* This msgb is what will end up down stream in CC */ + if (ran_enc_msg->assignment_command.lcls) { + LOG_RAN_A_ENC(caller_fi, LOGL_ERROR, "Have got LCLS info to put into msgb......"); + } + + /* this is going to call the ass2() thing */ + struct msgb *msg = _ran_a_encode(caller_fi, ran_enc_msg); if (!msg) return NULL; + + /* msg should contain our lcls! */ + msg->l2h = msg->data; /* some consistency checks to ensure we don't send invalid length */ |