<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12183">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">trx_toolkit/burst_fwd.py: also pass-filter UL bursts by time-slot<br><br>For some reason, the time-slot pass-filtering was only done for<br>DL bursts, but not for UL bursts. BurstForwarder shall not pass<br>UL bursts for unconfigured time-slots too.<br><br>Let's also print a warning if an UL burst is sent on a not<br>configured time-slot, i.e. before sending SETSLOT command.<br><br>Change-Id: Idb7f5b212e5814aeff8ca8bc875ad066674267cd<br>---<br>M src/target/trx_toolkit/burst_fwd.py<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/83/12183/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/target/trx_toolkit/burst_fwd.py b/src/target/trx_toolkit/burst_fwd.py</span><br><span>index 746b281..6e79d44 100644</span><br><span>--- a/src/target/trx_toolkit/burst_fwd.py</span><br><span>+++ b/src/target/trx_toolkit/burst_fwd.py</span><br><span>@@ -326,6 +326,11 @@</span><br><span>                 if msg is None:</span><br><span>                      return None</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+               # Timeslot filter</span><br><span style="color: hsl(120, 100%, 40%);">+             if msg.tn not in self.ts_pass_list:</span><br><span style="color: hsl(120, 100%, 40%);">+                   print("[!] TS %u is not configured, dropping UL burst..." % msg.tn)</span><br><span style="color: hsl(120, 100%, 40%);">+                 return None</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>                # Path loss simulation</span><br><span>               msg = self.path_loss_sim_ul(msg)</span><br><span>             if msg is None:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12183">change 12183</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/12183"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idb7f5b212e5814aeff8ca8bc875ad066674267cd </div>
<div style="display:none"> Gerrit-Change-Number: 12183 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>