summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-07-12 18:20:53 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-12 18:20:53 +0200
commit9edd1d9b9e642f11423eb7882a30e456442c2acd (patch)
treea2d4880081b43b8f05d8a24c7ba4b9fdfb06cb6a
parentfba93ac5565dd665b233040e8c61438b736dff34 (diff)
ganc: announce < R99 MSC to avoid sequence number in msg_type
>= R99 MSCs expect sequence numbers in the opper 2 bits of the message type of MS-originated >L3 messages. Our MSC code doesn't really deal with this yet, so don't announce R99 :)
-rw-r--r--openbsc/src/osmo-ganc/ganc_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/osmo-ganc/ganc_server.c b/openbsc/src/osmo-ganc/ganc_server.c
index e3205ce..08cdbae 100644
--- a/openbsc/src/osmo-ganc/ganc_server.c
+++ b/openbsc/src/osmo-ganc/ganc_server.c
@@ -90,7 +90,11 @@ static void build_gan_cch_desc(struct gan_cch_desc_ie *ie, struct ganc_bts *bts)
ie->gprs = 1; /* No GPRS */
ie->dtm = 0; /* No Dual Transfer Mode */
ie->att = 1; /* IMSI attach/detach shall be used */
+#if 0
ie->mscr = 1; /* Release 99 onwards */
+#else
+ ie->mscr = 0; /* To avoid problems with 2-bit sequence number */
+#endif
ie->t3212 = net->timer[T3212];
ie->rac = bts->routing_area_code;
ie->sgsnr = 1; /* Release 99 onwards */