pespin has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/30/34030/1
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 change 34030. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I29242873ebec173c430e6d413e6c533ec1e2b97a
Gerrit-Change-Number: 34030
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange