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
This commit is contained in:
Vadim Yanitskiy 2017-07-26 19:46:47 +06:00
parent 17481e2b88
commit 4fa6694006
1 changed files with 2 additions and 5 deletions

View File

@ -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()