aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/femtobts.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-04-18 20:03:18 +0200
committerHarald Welte <laforge@gnumonks.org>2012-04-18 20:03:18 +0200
commitb34faf6f8ceedcafdb10523a39fe2bcd3d7c1faf (patch)
treef136850bee9e768d931086a3adbedd7d07e674e5 /src/osmo-bts-sysmo/femtobts.h
parentbc74b7f432811c1f4acb3d18827d4fa8673527f6 (diff)
TCH: Add support for the L1 RTP mode
In L1 RTP mode, the L1 already does all the bit-shifting and re-ordering required for the RTP formats (which have different bit/nibble order than the ETSI/3GPP encodings, for some odd reason). We don't enable it by default yet, as only HR/FR/EFR work with it, but AMR has some yet to be debugged problem. Enabling USE_L1_RTP_MODE would save some CPU cycles on the ARM side.
Diffstat (limited to 'src/osmo-bts-sysmo/femtobts.h')
-rw-r--r--src/osmo-bts-sysmo/femtobts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.h b/src/osmo-bts-sysmo/femtobts.h
index 3a8d448f..b99be693 100644
--- a/src/osmo-bts-sysmo/femtobts.h
+++ b/src/osmo-bts-sysmo/femtobts.h
@@ -7,6 +7,11 @@
#include <sysmocom/femtobts/superfemto.h>
#include <sysmocom/femtobts/gsml1const.h>
+#ifdef L1_HAS_RTP_MODE
+/* This is temporarily disabled, as AMR has some bugs in RTP mode */
+//#define USE_L1_RTP_MODE /* Tell L1 to use RTP mode */
+#endif
+
enum l1prim_type {
L1P_T_REQ,
L1P_T_CONF,