<p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14694">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14694/2/library/GSUP_Types.ttcn">File library/GSUP_Types.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14694/2/library/GSUP_Types.ttcn@544">Patch Set #2, Line 544:</a> <code style="font-family:monospace,monospace">) := tr_GSUP(</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Git friendly style itself deserves CR+1 ;)</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">:D</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14694/2/msc/BSC_ConnectionHandler.ttcn">File msc/BSC_ConnectionHandler.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14694/2/msc/BSC_ConnectionHandler.ttcn@440">Patch Set #2, Line 440:</a> <code style="font-family:monospace,monospace">function</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Is this function going to be called from other modules? If no, make it private.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yes, f_tc_lu_imsi_auth_tmsi_check_imei_nack() calls it directly. It can't use f_perform_lu(), because it expects a reject.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14694/2/msc/BSC_ConnectionHandler.ttcn@446">Patch Set #2, Line 446:</a> <code style="font-family:monospace,monospace">if (not g_pars.net.expect_imei)</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I would rather leave it up to the caller.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I chose to do it that way, because f_mm_auth() works the same way, and also lots of code above has "if (g_pars...)" conditions inside the functions, instead of letting the caller (f_perform_lu() and tests that simulate failing LU and call f_mm_* directly) decide if the function should be called at all, or which parts of it.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So I guess it was done in the other functions to have failing location update tests less verbose.</p><p style="white-space: pre-wrap; word-wrap: break-word;">But both is fine with me, if you insist on this, then I will change it.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14694/2/msc/BSC_ConnectionHandler.ttcn@478">Patch Set #2, Line 478:</a> <code style="font-family:monospace,monospace">function</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Same here.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">f_tc_lu_imsi_auth_tmsi_check_imei_early_nack() calls it directly.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14694">change 14694</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/+/14694"/><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: Ic34bb8dc8547cafb5a53df03884554dd4f72956d </div>
<div style="display:none"> Gerrit-Change-Number: 14694 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@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: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 08 Jul 2019 13:22:05 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>