<p><a href="https://gerrit.osmocom.org/9666">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9666/3/include/osmocom/bsc/gsm_data.h">File include/osmocom/bsc/gsm_data.h:</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/9666/3/include/osmocom/bsc/gsm_data.h@755">Patch Set #3, Line 755:</a> <code style="font-family:monospace,monospace">struct gsm_bts_ref {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">not a request to change, just a general reminder: We also have the "vector" of libosmovty, which is sort of a dynamically-sized array of pointers to other objects which one might have used rather than a linked list.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9666/3/include/osmocom/bsc/neighbor_ident.h">File include/osmocom/bsc/neighbor_ident.h:</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/9666/3/include/osmocom/bsc/neighbor_ident.h@18">Patch Set #3, Line 18:</a> <code style="font-family:monospace,monospace">        BSIC_9BIT,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">huh, where's that 9 bit BSIC coming from? Do you have a spec reference for me?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9666/3/src/osmo-bsc/gsm_data.c">File src/osmo-bsc/gsm_data.c:</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/9666/3/src/osmo-bsc/gsm_data.c@567">Patch Set #3, Line 567:</a> <code style="font-family:monospace,monospace">bool gsm_bts_matches_cell_id(struct gsm_bts *bts, const struct gsm0808_cell_id *ci)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">not important, but I'd expect 'bts' could also be a const pointer, as we're just reading/comparing/matching?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9666/3/src/osmo-bsc/neighbor_ident_vty.c">File src/osmo-bsc/neighbor_ident_vty.c:</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/9666/3/src/osmo-bsc/neighbor_ident_vty.c@560">Patch Set #3, Line 560:</a> <code style="font-family:monospace,monospace">     install_element(BTS_NODE, &cfg_neighbor_resolve_cmd);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">the BTS_NODE is a sub-node of the CONFIG NODE. Inside "configure terminal" we should only permit configuration commands, but not any query-type commands.  I think the proper place for a query command is the VIEW+ENABLE node. So you can do something like "bts 0 neighbor resolve ...".  If you still want to do it while in the CONFIG/BTS node, you can execute any VIEW/ENABLE command by prefixing it with "do".</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9666/3/tests/handover/neighbor_ident_test.c">File tests/handover/neighbor_ident_test.c:</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/9666/3/tests/handover/neighbor_ident_test.c@33">Patch Set #3, Line 33:</a> <code style="font-family:monospace,monospace">arfcn</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">it might be interesting to have test cases for ARFCNs in different bands.  Particularly take into consideration PCS band neighbor cells, where the PCS/DCS is indicated as 0x8000 bit of the uint16_t arfcn.  This gets easily missed in a lot of code.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't understand your current changes sufficiently to state if it's needed exactly here.  Just in general we need to consider neighbor cells in different bands, including PCS neigbors.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9666">change 9666</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/9666"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I0153d7069817fba9146ddc11214de2757d7d37bf </div>
<div style="display:none"> Gerrit-Change-Number: 9666 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 20 Jun 2018 08:09:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>