<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15918">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/osmo-bts/+/15918/1/src/common/l1sap.c">File src/common/l1sap.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/osmo-bts/+/15918/1/src/common/l1sap.c@67">Patch Set #1, Line 67:</a> <code style="font-family:monospace,monospace"> * indication for itsself that is passed up in parallel to the payload data</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">itself</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15918/1/src/common/l1sap.c@74">Patch Set #1, Line 74:</a> <code style="font-family:monospace,monospace">static bool tch_data_meas_present = true;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm not liking that much the idea behind this variable. IIUC, some BTS models send this while some other don't. Let's then better please add a per-bts-model API which tells us whether the BTS being used is expected to receive it or not instead of detecting it at runtime.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15918/1/src/common/l1sap.c@646">Patch Set #1, Line 646:</a> <code style="font-family:monospace,monospace">  struct info_meas_ind_param *info_meas_ind = &l1sap->u.info.u.meas_ind;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Let's rather move these assignments under each switch case.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15918/1/src/common/l1sap.c@695">Patch Set #1, Line 695:</a> <code style="font-family:monospace,monospace">            "%s MPH_INFO meas ind, ta_offs_256bits=%d, ber10k=%d, inv_rssi=%u\n",</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">MPH_INFO only on some case right? maybe add a string pointing to the name in the switch case.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15918/1/src/common/l1sap.c@740">Patch Set #1, Line 740:</a> <code style="font-family:monospace,monospace">          rc = 0;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">rc is already zero here, it can be dropped.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15918">change 15918</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-bts/+/15918"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I710d0b7cf193afa8515807836ee69b8b7db84a84 </div>
<div style="display:none"> Gerrit-Change-Number: 15918 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 31 Oct 2019 11:47:30 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>