aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/femtobts.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-12-07 11:16:00 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-12-07 11:30:54 +0100
commitdce6c09b30dd709467216d325bf38845a98fe75b (patch)
treeb567d5859be7054771f6dcedf59d6f6664033d95 /src/osmo-bts-sysmo/femtobts.c
parent809ff95fb6b8cf23367e311ac89d8064444765e3 (diff)
sysmobts: Catch up with the API changes and specify the version
API revision 5.1 allows us to pass a version number for the rx/tx calibration and the DSP/FPGA will inform us about clock errors.
Diffstat (limited to 'src/osmo-bts-sysmo/femtobts.c')
-rw-r--r--src/osmo-bts-sysmo/femtobts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.c b/src/osmo-bts-sysmo/femtobts.c
index da165c5..480fe06 100644
--- a/src/osmo-bts-sysmo/femtobts.c
+++ b/src/osmo-bts-sysmo/femtobts.c
@@ -224,6 +224,9 @@ const struct value_string femtobts_l1status_names[GSML1_STATUS_NUM+1] = {
{ GsmL1_Status_TxBurstFifoUndr, "FIFO underrun" },
{ GsmL1_Status_NotSynchronized, "Not synchronized" },
{ GsmL1_Status_Unsupported, "Unsupported feature" },
+#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(5,1,0)
+ { GsmL1_Status_ClockError, "Clock error" },
+#endif
{ 0, NULL }
};