This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgNeels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/12457 Change subject: mncc socket: add field ran ...................................................................... mncc socket: add field ran Send the currently used RAT type via MNCC socket. Patch-by: lynxis Tweaked-by: neels Change-Id: I6f28dbca1b515f9eaa6a8708a7ccfa1eb6f6b6cc --- M include/osmocom/msc/mncc.h M src/libmsc/gsm_04_08_cc.c 2 files changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/57/12457/1 diff --git a/include/osmocom/msc/mncc.h b/include/osmocom/msc/mncc.h index d2f0541..d01c180 100644 --- a/include/osmocom/msc/mncc.h +++ b/include/osmocom/msc/mncc.h @@ -155,6 +155,7 @@ int notify; /* 0..127 */ int emergency; char imsi[16]; + uint8_t ran; /*< enum osmo_rat_type */ unsigned char lchan_type; unsigned char lchan_mode; diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c index be9a451..6d41414 100644 --- a/src/libmsc/gsm_04_08_cc.c +++ b/src/libmsc/gsm_04_08_cc.c @@ -252,6 +252,8 @@ #endif mncc->msg_type = msg_type; + if (trans && trans->conn) + mncc->ran = (uint8_t)trans->conn->via_ran; msg = msgb_alloc(sizeof(struct gsm_mncc), "MNCC"); if (!msg) @@ -590,6 +592,8 @@ TLVP_VAL(&tp, GSM48_IE_CC_CAP)-1); } + setup.ran = (uint8_t)trans->conn->via_ran; + new_cc_state(trans, GSM_CSTATE_INITIATED); LOGP(DCC, setup.emergency ? LOGL_NOTICE : LOGL_INFO, "Subscriber %s (%s) sends %sSETUP to %s\n", -- To view, visit https://gerrit.osmocom.org/12457 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I6f28dbca1b515f9eaa6a8708a7ccfa1eb6f6b6cc Gerrit-Change-Number: 12457 Gerrit-PatchSet: 1 Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190103/492021ad/attachment.htm>