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/.
daniel gerrit-no-reply at lists.osmocom.orgdaniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/25078 ) Change subject: gpproxy: Route BSSGP STATUS with PDU_IN_ERROR containing a TMSI ...................................................................... gpproxy: Route BSSGP STATUS with PDU_IN_ERROR containing a TMSI Derive a foreign TLLI from a TMSI and route the message according to it Related: OS#4892 Change-Id: Iebda9e9fd433cd28c0f657adc4d475d4e6e247ba --- M src/gb_proxy.c 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/78/25078/1 diff --git a/src/gb_proxy.c b/src/gb_proxy.c index f473c39..0815041 100644 --- a/src/gb_proxy.c +++ b/src/gb_proxy.c @@ -1003,6 +1003,11 @@ if (TLVP_PRESENT(tp, BSSGP_IE_TLLI)) { *tlli = osmo_load32be(TLVP_VAL(tp, BSSGP_IE_TLLI)); + } else if (TLVP_PRESENT(tp, BSSGP_IE_TMSI)) { + /* we treat the TMSI like a TLLI and extract the NRI from it */ + *tlli = osmo_load32be(TLVP_VAL(tp, BSSGP_IE_TMSI)); + /* Convert the TMSI into a FOREIGN TLLI so it is routed appropriately */ + *tlli = gprs_tmsi2tlli(*tlli, TLLI_FOREIGN); } else { return -ENOENT; } -- To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/25078 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gbproxy Gerrit-Branch: master Gerrit-Change-Id: Iebda9e9fd433cd28c0f657adc4d475d4e6e247ba Gerrit-Change-Number: 25078 Gerrit-PatchSet: 1 Gerrit-Owner: daniel <dwillmann at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210728/717eca02/attachment.htm>