aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoding.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-12-22 14:58:34 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-01 13:58:13 +0100
commit37005a165d487d1ffd5bfc6fde1f918a022b718d (patch)
tree2e22bc81ed15cac72f1b6accb8137e87a1a806d2 /src/encoding.h
parent580edbc326268f0c3f4d0cbffeac963d06ffe8ac (diff)
encoding: Add bitvec based write_packet_uplink_ack
The current write_packet_uplink_ack implementation is based on the CSN.1 encoder which makes it difficult to do the bitmap encoding for EGPRS. Add a new implementation based on bitvec functions to create the PACKET UPLINK ACK/NACK messages. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/encoding.h')
-rw-r--r--src/encoding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/encoding.h b/src/encoding.h
index ac66838d..e88ef22a 100644
--- a/src/encoding.h
+++ b/src/encoding.h
@@ -58,6 +58,9 @@ public:
static void write_packet_uplink_ack(struct gprs_rlcmac_bts *bts, RlcMacDownlink_t * block, struct gprs_rlcmac_ul_tbf *tbf,
uint8_t final);
+ static void write_packet_uplink_ack(
+ struct gprs_rlcmac_bts *bts, bitvec * dest,
+ struct gprs_rlcmac_ul_tbf *tbf, bool is_final);
static int write_paging_request(bitvec * dest, uint8_t *ptmsi, uint16_t ptmsi_len);