diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-29 23:06:22 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-12-30 17:11:46 +0100 |
commit | d2a28026c152985e571ee157ac8f3dafd18649f4 (patch) | |
tree | 11fc4e3c2195a0389c046084863a9b99b92434ad /openbsc/src/rest_octets.c | |
parent | 2c1a26adb55d6c0f7e2203b186873ba73fb03425 (diff) |
smscb: Prepare to fill in the info for CBCH in SI4laforge/27c3
Pass the number of bytes the rest octet for si4 should
fill. We will need to include info for CBCH in our SI4.
WIP: SMSCB... this should reuse the lchan2desc if it works...
smscb: Add vty command for experimentation...
Diffstat (limited to 'openbsc/src/rest_octets.c')
-rw-r--r-- | openbsc/src/rest_octets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/rest_octets.c b/openbsc/src/rest_octets.c index d9f5da568..0d037b840 100644 --- a/openbsc/src/rest_octets.c +++ b/openbsc/src/rest_octets.c @@ -137,13 +137,13 @@ static int append_lsa_params(struct bitvec *bv, } /* Generate SI4 Rest Octets (Chapter 10.5.2.35) */ -int rest_octets_si4(u_int8_t *data, const struct gsm48_si_ro_info *si4) +int rest_octets_si4(u_int8_t *data, const struct gsm48_si_ro_info *si4, int len) { struct bitvec bv; memset(&bv, 0, sizeof(bv)); bv.data = data; - bv.data_len = 10; /* FIXME: up to ? */ + bv.data_len = len; /* SI4 Rest Octets O */ append_selection_params(&bv, &si4->selection_params); |