<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11954">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc: timeslot_fsm: ts_is_pchan_switching: Set correct target pchan for IPA dynts<br><br>For IPA dynamic TS, we never go to NONE but deactivating PDCH<br>automatically sets it as TCH/F, as can also be seen in<br>ts_fsm_wait_pdch_deact.<br><br>Change-Id: Ib03e5a91438a5b74a04e69f81fab565842b02b66<br>---<br>M src/osmo-bsc/timeslot_fsm.c<br>1 file changed, 10 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/54/11954/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/timeslot_fsm.c b/src/osmo-bsc/timeslot_fsm.c</span><br><span>index fc25460..011b810 100644</span><br><span>--- a/src/osmo-bsc/timeslot_fsm.c</span><br><span>+++ b/src/osmo-bsc/timeslot_fsm.c</span><br><span>@@ -897,8 +897,17 @@</span><br><span>       case TS_ST_WAIT_PDCH_DEACT:</span><br><span>          /* If we were switching to a specific pchan kind, an lchan would be waiting. So this must</span><br><span>             * be NONE then. */</span><br><span style="color: hsl(0, 100%, 40%);">-             if (target_pchan)</span><br><span style="color: hsl(120, 100%, 40%);">+             if (target_pchan) {</span><br><span>                  *target_pchan = GSM_PCHAN_NONE;</span><br><span style="color: hsl(120, 100%, 40%);">+                       switch (ts->pchan_on_init) {</span><br><span style="color: hsl(120, 100%, 40%);">+                       case GSM_PCHAN_TCH_F_TCH_H_PDCH:</span><br><span style="color: hsl(120, 100%, 40%);">+                              *target_pchan = GSM_PCHAN_NONE;</span><br><span style="color: hsl(120, 100%, 40%);">+                               break;</span><br><span style="color: hsl(120, 100%, 40%);">+                        case GSM_PCHAN_TCH_F_PDCH:</span><br><span style="color: hsl(120, 100%, 40%);">+                            *target_pchan = GSM_PCHAN_TCH_F;</span><br><span style="color: hsl(120, 100%, 40%);">+                              break;</span><br><span style="color: hsl(120, 100%, 40%);">+                        }</span><br><span style="color: hsl(120, 100%, 40%);">+             }</span><br><span>            return true;</span><br><span> </span><br><span>     default:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11954">change 11954</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/11954"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ib03e5a91438a5b74a04e69f81fab565842b02b66 </div>
<div style="display:none"> Gerrit-Change-Number: 11954 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>