diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-04-18 22:41:01 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-04-18 22:48:41 +0200 |
commit | 5fda90816f0623b32ddb60f1cf4d9d67119de811 (patch) | |
tree | 056265e7792c96afb6dfc0b820fddfd9a4eeb115 /openbsc | |
parent | 18038180927c9ffd3f8f1da18bada698e6afcefb (diff) |
GPRS: Indicate the SGSN is Release 99 as this is the first with EDGE
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/rest_octets.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/rest_octets.c b/openbsc/src/rest_octets.c index 0aac8d51f..fd56caf81 100644 --- a/openbsc/src/rest_octets.c +++ b/openbsc/src/rest_octets.c @@ -358,7 +358,7 @@ static void append_gprs_pwr_ctrl_pars(struct bitvec *bv, bitvec_set_uint(bv, pcp->n_avg_i, 4); } -/* Generate SI13 Rest Octests (Chapter 10.5.2.37b) */ +/* Generate SI13 Rest Octests (04.08 Chapter 10.5.2.37b) */ int rest_octets_si13(u_int8_t *data, const struct gsm48_si13_info *si13) { struct bitvec bv; @@ -414,6 +414,11 @@ int rest_octets_si13(u_int8_t *data, const struct gsm48_si13_info *si13) break; } } + /* 3GPP TS 44.018 Release 6 / 10.5.2.37b */ + bitvec_set_bit(&bv, H); /* added Release 99 */ + /* claim our SGSN is compatible with Release 99, as EDGE and EGPRS + * was only added in this Release */ + bitvec_set_bit(&bv, 1); } bitvec_spare_padding(&bv, (bv.data_len*8)-1); return bv.data_len; |