From 29aca17ed0f33aa0f8ce646425425b6b57892025 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 15 Jun 2010 16:45:51 +0200 Subject: [BSC] Hopping: Add MA IE to ASS CMD, IMM ASS CMD and HO CMD Also, make sure the bit ordering in the pre-computed MA is correct, as well as the cell channel description of the target cell being present in the HO CMD. --- openbsc/src/abis_rsl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openbsc/src/abis_rsl.c') diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index f38735480..e47900d4b 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -1203,7 +1203,10 @@ static int rsl_rx_chan_rqd(struct msgb *msg) if (!lchan->ts->hopping.enabled) { ia.mob_alloc_len = 0; } else { - /* FIXME: Mobile Allocation in case of hopping */ + uint8_t *ma; + ia.mob_alloc_len = lchan->ts->hopping.ma_len; + ma = msgb_put(msg, ia.mob_alloc_len); + memcpy(ma, lchan->ts->hopping.ma_data, ia.mob_alloc_len); } DEBUGP(DRSL, "%s Activating ARFCN(%u) SS(%u) lctype %s " -- cgit v1.2.3