aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-05-17 10:04:44 +0200
committerHarald Welte <laforge@gnumonks.org>2014-05-17 10:04:44 +0200
commit73d9d3af6cd79e674cb326d814dbb50134f76f64 (patch)
treef410ed910cae147c02396011f91be67d04e00574
parentd75c648871d1cae1d2cf4f74f60eaf07fb97ba73 (diff)
sysmobts: Support DSP API >= 3.8.1 (u8MaxCellSize)
-rw-r--r--src/osmo-bts-sysmo/l1_if.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 6834240..bef3d27 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -1145,6 +1145,10 @@ int l1if_activate_rf(struct femtol1_hdl *hdl, int on)
sysmobts_get_nominal_power(trx);
}
#endif /* 2.2.0 */
+#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(3,8,1)
+ /* maximum cell size in quarter-bits, 90 == 12.456 km */
+ sysp->u.activateRfReq.u8MaxCellSize = 90;
+#endif
#endif /* !HW_SYSMOBTS_V1 */
} else {
sysp->id = SuperFemto_PrimId_DeactivateRfReq;