aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-01-15 18:07:34 +0100
committerHarald Welte <laforge@gnumonks.org>2011-03-04 13:45:03 +0100
commit388cbbfc41a5c2741f1959cd9ad9ea20933bb7e7 (patch)
treeed25c9493cf9912993817f7f6cea245779707305 /openbsc/src/libbsc
parent17a7634043508d1c29e1f6d912e1ea6010a0f331 (diff)
Some more SR1.0.1 related fixes
somehow all the 0x81 in OML became 0x80, and the 0x80 of RSL became 0x80.
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r--openbsc/src/libbsc/bts_hsl_femtocell.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bts_hsl_femtocell.c b/openbsc/src/libbsc/bts_hsl_femtocell.c
index d5834ef7..e01634c3 100644
--- a/openbsc/src/libbsc/bts_hsl_femtocell.c
+++ b/openbsc/src/libbsc/bts_hsl_femtocell.c
@@ -42,19 +42,31 @@ static struct gsm_bts_model model_hslfemto = {
static const uint8_t l1_msg[] = {
+#ifdef HSL_SR_1_0
0x80, 0x8a,
+#else
+ 0x81, 0x8a,
+#endif
0xC4, 0x0b,
};
static const uint8_t conn_trau_msg[] = {
+#ifdef HSL_SR_1_0
0x80, 0x81,
+#else
+ 0x81, 0x81,
+#endif
0xC1, 16,
0x02, 0x00, 0x00, 0x00, 0xC0, 0xA8, 0xEA, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
static const uint8_t conn_trau_msg2[] = {
+#ifdef HSL_SR_1_0
0x80, 0x81,
+#else
+ 0x81, 0x81,
+#endif
0xC1, 16,
0x02, 0x00, 0xd4, 0x07, 0xC0, 0xA8, 0xEA, 0x01,
0x38, 0xA4, 0x45, 0x00, 0x04, 0x59, 0x40, 0x00