<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/18868">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sgsn_libgtp: Improve ps-paging logging<br><br>Change-Id: I0c3d48d54295824c3ba5b0fa9e3c035983556326<br>---<br>M src/sgsn/sgsn_libgtp.c<br>1 file changed, 7 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/68/18868/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/sgsn/sgsn_libgtp.c b/src/sgsn/sgsn_libgtp.c</span><br><span>index 7b46476..717df4a 100644</span><br><span>--- a/src/sgsn/sgsn_libgtp.c</span><br><span>+++ b/src/sgsn/sgsn_libgtp.c</span><br><span>@@ -661,13 +661,19 @@</span><br><span>       switch (mm->gmm_fsm->state) {</span><br><span>  case ST_GMM_REGISTERED_SUSPENDED:</span><br><span>            /* initiate PS PAGING procedure */</span><br><span style="color: hsl(120, 100%, 40%);">+            LOGMMCTXP(LOGL_INFO, mm, "Paging MS in GMM state %s\n",</span><br><span style="color: hsl(120, 100%, 40%);">+                       osmo_fsm_inst_state_name(mm->gmm_fsm));</span><br><span>                 gprs_gb_page_ps_ra(mm);</span><br><span>              /* FIXME: queue the packet we received from GTP */</span><br><span>           break;</span><br><span>       case ST_GMM_REGISTERED_NORMAL:</span><br><span>               OSMO_ASSERT(mm->gb.mm_state_fsm->state != ST_MM_IDLE);</span><br><span style="color: hsl(0, 100%, 40%);">-            if (mm->gb.mm_state_fsm->state == ST_MM_STANDBY)</span><br><span style="color: hsl(120, 100%, 40%);">+                if (mm->gb.mm_state_fsm->state == ST_MM_STANDBY) {</span><br><span style="color: hsl(120, 100%, 40%);">+                      LOGMMCTXP(LOGL_INFO, mm, "Paging MS in GMM state %s, MM state %s\n",</span><br><span style="color: hsl(120, 100%, 40%);">+                                  osmo_fsm_inst_state_name(mm->gmm_fsm),</span><br><span style="color: hsl(120, 100%, 40%);">+                             osmo_fsm_inst_state_name(mm->gb.mm_state_fsm));</span><br><span>                         gprs_gb_page_ps_ra(mm);</span><br><span style="color: hsl(120, 100%, 40%);">+               }</span><br><span> </span><br><span>                /* FIXME: queue the packet we received from GTP */</span><br><span>           break;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/18868">change 18868</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-sgsn/+/18868"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0c3d48d54295824c3ba5b0fa9e3c035983556326 </div>
<div style="display:none"> Gerrit-Change-Number: 18868 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>