<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3:</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3:</p><p style="white-space: pre-wrap; word-wrap: break-word;">as a self reminder, I still need to check how to make the infra happy at the end regarding the new TLLI not registered. Any advise there is welcome.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">You would have to register that new e pe cited tlli with tyhre bssgp emulation. Its either a foreign tlli based on gthre old one, or igts derived from the ptmsi.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">It's indeed the one derived by the ptmsi, the problem is that in that scenario the ptmsi is never sent to the MS so it's impossible to register it. That's because during attach request, the imsi is received and llme layer is updated with the ptmsi info and tlli is updated, but GMM layers keeps using the initial one until attach accept is sent with the ptmsi used. In this case, the XID Reset message was using the newly allocated TLLI (despite the GMM reject message sent immediately afterwards still uses the initial TLLI). I changed it to use the initial TLLI used by both sides in here: https://gerrit.osmocom.org/c/osmo-sgsn/+/16151 gprs_gmm.c: Send XID reset with received TLLI</p><p style="white-space: pre-wrap; word-wrap: break-word;">After that patch is applied in osmo-sgsn, then test passes fine because the TLLI sent during XID reset is not different than the one in use by upper layers.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16016">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16016">change 16016</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-ttcn3-hacks/+/16016"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id5554a91a8bda712e282c5a3e9e30fb0ca1ec0e8 </div>
<div style="display:none"> Gerrit-Change-Number: 16016 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 21 Nov 2019 15:43:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>