<p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24352">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-bsc/+/24352/2/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_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/osmo-bsc/+/24352/2/src/osmo-bsc/bsc_vty.c@6085">Patch Set #2, Line 6085:</a> <code style="font-family:monospace,monospace">chan_t_to_chan_rate</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">It shall always be CH_RATE_FULL for EFR, because EFR does not work on TCH/H.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24352/2/src/osmo-bsc/bsc_vty.c@6086">Patch Set #2, Line 6086:</a> <code style="font-family:monospace,monospace">amr_modes[amr_mode],</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Unrelated: below the 'amr_mode' is compared to -1. Should we check it here too?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24352/2/src/osmo-bsc/bsc_vty.c@6109">Patch Set #2, Line 6109:</a> <code style="font-family:monospace,monospace">CH_RATE_SDCCH</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Are you sure about this one? Both CH_RATE_HALF and CH_RATE_FULL can operate in signalling mode too.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24352/2/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/osmo-bsc/+/24352/2/src/osmo-bsc/gsm_data.c@691">Patch Set #2, Line 691:</a> <code style="font-family:monospace,monospace">  default:</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Cosmetic: it's unusual to see 'default' before the other 'case's.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24352/2/src/osmo-bsc/gsm_data.c@692">Patch Set #2, Line 692:</a> <code style="font-family:monospace,monospace">             return -1;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Callers of this function do not check the returned value, so I would rather add OSMO_ASSERT(0) here.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24352">change 24352</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/+/24352"/><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: Ie0da36124d73efc28a8809b63d7c96e2167fc412 </div>
<div style="display:none"> Gerrit-Change-Number: 24352 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 23 May 2021 17:37:33 +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>