summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-26 19:46:47 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-10-23 22:05:49 +0330
commit8b8ebf6d79e53ae247d8dfaca94e1c2f7710d355 (patch)
tree6a2d310029043cae831cb899253be27feb883887
parent324a3aa395ec155689027388d6f4492979244513 (diff)
fake_trx: don't send clock indications to mobile stations
Clock indications are only required for BTS, while MS can obtain current frame number from messages on DATA interface. Change-Id: Id2993847a3581cac0d355850ad09ceabc6116d3f
-rwxr-xr-xsrc/target/fake_trx/fake_trx.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/target/fake_trx/fake_trx.py b/src/target/fake_trx/fake_trx.py
index b186071..4772701 100755
--- a/src/target/fake_trx/fake_trx.py
+++ b/src/target/fake_trx/fake_trx.py
@@ -85,12 +85,10 @@ class Application:
self.bts_ctrl.burst_fwd = self.burst_fwd
self.bb_ctrl.burst_fwd = self.burst_fwd
- # Share clock between BTS and BB
+ # Provide clock to BTS
self.bts_clck = UDPLink(self.bts_addr,
self.bts_base_port + 100, self.bts_base_port)
- self.bb_clck = UDPLink(self.bb_addr,
- self.bb_base_port + 100, self.bb_base_port)
- self.clck_gen = CLCKGen([self.bts_clck, self.bb_clck])
+ self.clck_gen = CLCKGen([self.bts_clck])
self.clck_gen.start()
print("[i] Init complete")
@@ -129,7 +127,6 @@ class Application:
# Close CLCK interfaces
self.bts_clck.shutdown()
- self.bb_clck.shutdown()
# Close CTRL interfaces
self.bts_ctrl.shutdown()