pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmocom-bb/+/34030 )
Change subject: layer23: modem: gmm: Log allocated TLLI on Attach Success
......................................................................
layer23: modem: gmm: Log allocated TLLI on Attach Success
Change-Id: I29242873ebec173c430e6d413e6c533ec1e2b97a
---
M src/host/layer23/src/modem/gmm.c
1 file changed, 12 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/src/host/layer23/src/modem/gmm.c b/src/host/layer23/src/modem/gmm.c
index 17cc228..b8df38b 100644
--- a/src/host/layer23/src/modem/gmm.c
+++ b/src/host/layer23/src/modem/gmm.c
@@ -60,8 +60,9 @@
switch (OSMO_PRIM_HDR(&gmm_prim->oph)) {
case OSMO_PRIM(OSMO_GPRS_GMM_GMMREG_ATTACH, PRIM_OP_CONFIRM):
if (gmm_prim->gmmreg.attach_cnf.accepted) {
- LOGP(DGMM, LOGL_NOTICE, "%s(): Rx %s: Attach
success P-TMSI=0x%08x\n",
- __func__, pdu_name,
gmm_prim->gmmreg.attach_cnf.acc.allocated_ptmsi);
+ LOGP(DGMM, LOGL_NOTICE, "%s(): Rx %s: Attach
success P-TMSI=0x%08x TLLI=0x%08x\n",
+ __func__, pdu_name,
gmm_prim->gmmreg.attach_cnf.acc.allocated_ptmsi,
+
gmm_prim->gmmreg.attach_cnf.acc.allocated_tlli);
ms->subscr.gprs.ptmsi =
gmm_prim->gmmreg.attach_cnf.acc.allocated_ptmsi;
ms->gmmlayer.tlli =
gmm_prim->gmmreg.attach_cnf.acc.allocated_tlli;
app_data.modem_state = MODEM_ST_ATTACHED;
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/34030
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I29242873ebec173c430e6d413e6c533ec1e2b97a
Gerrit-Change-Number: 34030
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged