<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24429">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rsl_lchan_lookup(): add comment explaining ts_is_capable_of_pchan()<br><br>Change-Id: Ie3699db496cfb690ac9302ccd177cdd77dc57ebb<br>---<br>M src/osmo-bsc/bts_trx.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/29/24429/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/bts_trx.c b/src/osmo-bsc/bts_trx.c</span><br><span>index 81fd174..57b6ccc 100644</span><br><span>--- a/src/osmo-bsc/bts_trx.c</span><br><span>+++ b/src/osmo-bsc/bts_trx.c</span><br><span>@@ -156,6 +156,10 @@</span><br><span>     if (rc)</span><br><span>              *rc = -EINVAL;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    /* Why call ts_is_capable_of_pchan() here? Dynamic timeslots may receive RSL Channel Activation ACK on a</span><br><span style="color: hsl(120, 100%, 40%);">+       * timeslot that is in transition between pchan modes. That ACK actually confirms the pchan switch, so instead</span><br><span style="color: hsl(120, 100%, 40%);">+         * of checking the current pchan mode, we must allow any pchans that a dyn TS is capable of. */</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>    switch (cbits) {</span><br><span>     case ABIS_RSL_CHAN_NR_CBITS_Bm_ACCHs:</span><br><span>                lch_idx = 0;    /* TCH/F */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24429">change 24429</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/+/24429"/><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: Ie3699db496cfb690ac9302ccd177cdd77dc57ebb </div>
<div style="display:none"> Gerrit-Change-Number: 24429 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>