aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/femtobts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-03-17 14:08:51 +0100
committerHarald Welte <laforge@gnumonks.org>2012-03-17 14:08:51 +0100
commitb81c5d46999c4c403c9bbb5c8af8c4a196241f92 (patch)
tree7764a670333524a2116ad92ff8d9f37c15252685 /src/osmo-bts-sysmo/femtobts.c
parentfe0c13f8bd58603fbe0c82ace29f8ed6b1b199cb (diff)
introduce a command that permits setting the clock source via vty
the default source is the OCXO
Diffstat (limited to 'src/osmo-bts-sysmo/femtobts.c')
-rw-r--r--src/osmo-bts-sysmo/femtobts.c11
1 files changed, 11 insertions, 0 deletions
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 }
+};