<p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24850">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24850/4/include/osmocom/bsc/meas_rep.h">File include/osmocom/bsc/meas_rep.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/osmo-bsc/+/24850/4/include/osmocom/bsc/meas_rep.h@55">Patch Set #4, Line 55:</a> <code style="font-family:monospace,monospace">   TDMA_MEAS_FIELD_RXLEV = 0,</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Not sure what do you win with last version change. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">well in that MUX macro, I compose the switch() value using '<< 1' and '<< 2'.<br>That only works when the values used are exactly 1-bit in range.<br>The AUTO one never gets used in the MUX so i don't care about its value.</p><p style="white-space: pre-wrap; word-wrap: break-word;">(I should prolly add an osmo_static_assert() for this too)</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24850/4/src/osmo-bsc/meas_rep.c">File src/osmo-bsc/meas_rep.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-bsc/+/24850/4/src/osmo-bsc/meas_rep.c@86">Patch Set #4, Line 86:</a> <code style="font-family:monospace,monospace">#define MUX(FIELD, DIR, SET) ((FIELD) + ((DIR) << 1) + ((SET) << 2))</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">... this MUX here</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24850">change 24850</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-bsc/+/24850"/><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-Change-Id: I283e03126a6bc1f5f1b35f9801e841053edd2947 </div>
<div style="display:none"> Gerrit-Change-Number: 24850 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </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: Wed, 07 Jul 2021 21:36:36 +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: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>