aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-06-24 18:42:00 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-09 13:03:33 +0000
commitfe6c75d24a1751341bcee91cb45c7ac7f5d07da3 (patch)
tree2933e2de8bab066c11d4e602b886f5a92f8a9939 /include
parentbd65b72f91f195dd9b6ea2df67d6d1b36b1e9864 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/phy_link.h1
1 files changed, 1 insertions, 0 deletions
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 */