<p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16536">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/osmo-pcu/+/16536/4/src/encoding.cpp">File src/encoding.cpp:</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/osmo-pcu/+/16536/4/src/encoding.cpp@747">Patch Set #4, Line 747:</a> <code style="font-family:monospace,monospace">bitvec_write_field</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Can we use bitvec_set_bytes() here?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Indeed. AFAIU it should looke like:<br>bitvec_write_field(dest, &wp, mi_len, 8);  // Mobile Identity length<br>bitvec_set_bytes(dest, mi, mi_len);   // Mobile Identity</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16536/4/src/gprs_bssgp_pcu.cpp">File src/gprs_bssgp_pcu.cpp:</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/osmo-pcu/+/16536/4/src/gprs_bssgp_pcu.cpp@21">Patch Set #4, Line 21:</a> <code style="font-family:monospace,monospace">#include "inttypes.h"</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Do we really need this include?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Looks like we don't, probably it's a leftover from an older version when I was working on it.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16536/4/src/gprs_bssgp_pcu.cpp@186">Patch Set #4, Line 186:</a> <code style="font-family:monospace,monospace">BSSGP_CAUSE_COND_IE_ERR</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Unrelated change, and is it really CONDitional IE? Looks more like mandatory.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Indeed, I should use BSSGP_CAUSE_MISSING_MAND_IE instead. I'm improving all this function / code path, so I think it makes sense to keep it in the same patch.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16536/4/src/gprs_bssgp_pcu.cpp@191">Patch Set #4, Line 191:</a> <code style="font-family:monospace,monospace">TLVP_LEN(tp, BSSGP_IE_IMSI));</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Looks like unrelated change.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Again, I'm really reworking the full function here, despite gerrit doesn't show that.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16536">change 16536</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-pcu/+/16536"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4dbf8db04e81f98352a42ce34a5d91326be9bfd1 </div>
<div style="display:none"> Gerrit-Change-Number: 16536 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </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: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 03 Jan 2020 15:33:18 +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>