aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/rest_octets.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-07-28 11:55:37 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-17 10:00:58 +0000
commit292ec58e6730c013026f20578a40e1ff48b35688 (patch)
tree8643d479b752e190a7a27212c0507cfbc399b58b /openbsc/src/libbsc/rest_octets.c
parent2867f883a11388bb04c1a5177b279c1cc74eafe4 (diff)
Modify SI 13 field for control_ack_type
Add vty function to explicitly set use of 4xRACH type of ack message for PACKET CONTROL ACKNOWLEDGMENT. Previous hardcoded value (use RLC/MAC control block) is used as a default. This is handy for debugging issues related to Timing Advance in context of GPRS. Change-Id: Ie869ac0a82055110f1e3b875e246750c4e113336 Related: OS#1526
Diffstat (limited to 'openbsc/src/libbsc/rest_octets.c')
-rw-r--r--openbsc/src/libbsc/rest_octets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/rest_octets.c b/openbsc/src/libbsc/rest_octets.c
index cd7bfd552..1a5e43525 100644
--- a/openbsc/src/libbsc/rest_octets.c
+++ b/openbsc/src/libbsc/rest_octets.c
@@ -618,8 +618,8 @@ static int append_gprs_cell_opt(struct bitvec *bv,
bitvec_set_uint(bv, drx_timer_max, 3);
/* ACCESS_BURST_TYPE: Hard-code 8bit */
bitvec_set_bit(bv, 0);
- /* CONTROL_ACK_TYPE: Hard-code to RLC/MAC control block */
- bitvec_set_bit(bv, 1);
+ /* CONTROL_ACK_TYPE: */
+ bitvec_set_bit(bv, gco->ctrl_ack_type_use_block);
bitvec_set_uint(bv, gco->bs_cv_max, 4);
if (0) {