osmo-bts/src/osmo-bts-trx
Pau Espin 4b4c2ec4b3 bts-trx: Avoid enqueueing consecutive duplicate messages to TRX
While debugging other protocol/timing issues between osmobts-trx and osmo-trx,
I found that sometimes two consecutives "POWER OFF" commands are
enqueued and sent to osmo-trx.
There's no point in doing so, as the write queue already maintains state
and retries the command until a RSP is received, then goes for the next
one.

With this change we hence improve timing response as we don't need to
wait for the second command to be processed, and on top we get cleaner
logs and simplified states which are easier to debug.

Change-Id: Ib6a5e7bfac8bc5e1b372da6a1f801c07a3d5ebb7
2017-12-10 14:05:57 +00:00
..
Makefile.am Remove build dependency on legacy OpenBSC 2017-10-08 18:40:09 +02:00
l1_if.c trx: avoid deactivating lchan on LCHAN_REL_ACT_REACT 2017-09-02 19:44:54 +00:00
l1_if.h TRX: merge/simplify l1_if and trx_if code 2017-07-01 07:38:01 +00:00
loops.c osmo-bts-trx: remove global variables from loops 2017-08-24 19:06:48 +00:00
loops.h osmo-bts-trx: remove global variables from loops 2017-08-24 19:06:48 +00:00
main.c osmo-bts-trx: remove global variables from loops 2017-08-24 19:06:48 +00:00
scheduler_trx.c osmo-bts-trx: Fix reported frame number during PRIM_INFO_MEAS 2017-12-04 13:25:34 +00:00
trx_if.c bts-trx: Avoid enqueueing consecutive duplicate messages to TRX 2017-12-10 14:05:57 +00:00
trx_if.h TRX: Remove global variables, move SETBSIC/SETTSC handling into phy_link 2017-08-09 13:03:33 +00:00
trx_vty.c osmo-bts-trx: vty: various fixes of 'write file' and doc 2017-10-18 14:02:30 +00:00