path: root/src
diff options
authorVadim Yanitskiy <>2018-12-06 05:29:32 +0700
committerVadim Yanitskiy <>2018-12-07 03:06:54 +0700
commit6c4d9b628498277756b646c9b1a44039d2485f2d (patch)
tree93a563b95c61d61eaa333a396fead7872f99533f /src
parentcadbce066bb35c4eb01eb77c22001439bd476ce3 (diff)
trx_toolkit/ also pass-filter UL bursts by time-slot
For some reason, the time-slot pass-filtering was only done for DL bursts, but not for UL bursts. BurstForwarder shall not pass UL bursts for unconfigured time-slots too. Let's also print a warning if an UL burst is sent on a not configured time-slot, i.e. before sending SETSLOT command. Change-Id: Idb7f5b212e5814aeff8ca8bc875ad066674267cd
Diffstat (limited to 'src')
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/trx_toolkit/ b/src/target/trx_toolkit/
index 746b281..6e79d44 100644
--- a/src/target/trx_toolkit/
+++ b/src/target/trx_toolkit/
@@ -326,6 +326,11 @@ class BurstForwarder:
if msg is None:
return None
+ # Timeslot filter
+ if not in self.ts_pass_list:
+ print("[!] TS %u is not configured, dropping UL burst..." %
+ return None
# Path loss simulation
msg = self.path_loss_sim_ul(msg)
if msg is None: