diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-03-17 14:08:51 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-03-17 14:08:51 +0100 |
commit | b81c5d46999c4c403c9bbb5c8af8c4a196241f92 (patch) | |
tree | 7764a670333524a2116ad92ff8d9f37c15252685 /src/osmo-bts-sysmo/femtobts.h | |
parent | fe0c13f8bd58603fbe0c82ace29f8ed6b1b199cb (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.h')
-rw-r--r-- | src/osmo-bts-sysmo/femtobts.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.h b/src/osmo-bts-sysmo/femtobts.h index c4f1af6b..1664d28f 100644 --- a/src/osmo-bts-sysmo/femtobts.h +++ b/src/osmo-bts-sysmo/femtobts.h @@ -13,6 +13,16 @@ enum l1prim_type { L1P_T_IND, }; +/* this should actually be part of the header files */ +enum superfemto_clk_src { + SF_CLKSRC_NONE = 0, + SF_CLKSRC_OCXO = 1, + SF_CLKSRC_TCXO = 2, + SF_CLKSRC_EXT = 3, + SF_CLKSRC_GPS = 4, + SF_CLKSRC_TRX = 5, + SF_CLKSRC_RX = 6, +}; const enum l1prim_type femtobts_l1prim_type[GsmL1_PrimId_NUM]; const struct value_string femtobts_l1prim_names[GsmL1_PrimId_NUM+1]; @@ -29,4 +39,6 @@ const struct value_string femtobts_tracef_names[29]; const struct value_string femtobts_tch_pl_names[15]; +const struct value_string femtobts_clksrc_names[7]; + #endif /* FEMTOBTS_H */ |