From b81c5d46999c4c403c9bbb5c8af8c4a196241f92 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 17 Mar 2012 14:08:51 +0100 Subject: introduce a command that permits setting the clock source via vty the default source is the OCXO --- src/osmo-bts-sysmo/femtobts.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/osmo-bts-sysmo/femtobts.c') diff --git a/src/osmo-bts-sysmo/femtobts.c b/src/osmo-bts-sysmo/femtobts.c index 116d865b..be14b429 100644 --- a/src/osmo-bts-sysmo/femtobts.c +++ b/src/osmo-bts-sysmo/femtobts.c @@ -237,3 +237,14 @@ const struct value_string femtobts_tch_pl_names[] = { { GsmL1_TchPlType_Amr_RatscchData, "AMR(RATSCCH DATA)" }, { 0, NULL } }; + +const struct value_string femtobts_clksrc_names[] = { + { SF_CLKSRC_NONE, "None" }, + { SF_CLKSRC_OCXO, "OCXO" }, + { SF_CLKSRC_TCXO, "TCXO" }, + { SF_CLKSRC_EXT, "EXT" }, + { SF_CLKSRC_GPS, "GPS" }, + { SF_CLKSRC_TRX, "TRX" }, + { SF_CLKSRC_RX, "RX" }, + { 0, NULL } +}; -- cgit v1.2.3