From fe6c75d24a1751341bcee91cb45c7ac7f5d07da3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 24 Jun 2017 18:42:00 +0200 Subject: TRX: Remove global variables, move SETBSIC/SETTSC handling into phy_link Whether or not we are talking to an OpenBTS (SETBSIC) or OsmoTRX (SETTSC) transceiver is a property of the phy_link, and not a property of the BTS. Also, we *really, really* should never use global variables. I'm very happy this is being cleaned up, finally. Change-Id: I51aeb17661dfd63ff347f7b2c0d7ffa383ec814c --- include/osmo-bts/phy_link.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h index 3d4bf913..7011622e 100644 --- a/include/osmo-bts/phy_link.h +++ b/include/osmo-bts/phy_link.h @@ -47,6 +47,7 @@ struct phy_link { uint32_t clock_advance; uint32_t rts_advance; + bool use_legacy_setbsic; } osmotrx; struct { char *mcast_dev; /* Network device for multicast */ -- cgit v1.2.3