diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-05 13:10:29 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-08 00:45:34 +0100 |
commit | 192bf33ffb14de601451343cae53838d8e7feeb7 (patch) | |
tree | 5a2338b1fd8fc3be438a04ac920f85e7db0b7851 /src/decoding.h | |
parent | 2bef4dbd431150dddadd52221d7e238ca49ea4a3 (diff) |
decode: Add bitvec based GPRS DL ACK/NACK decoder
Currently the RBB is used and passed directly to the window handling
methods. For EGPRS a more abstract bitvec is derived from the messages
and will passed around instead.
Add a similar function for GPRS so that the same window handling can
be used for GPRS and EGPRS.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/decoding.h')
-rw-r--r-- | src/decoding.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoding.h b/src/decoding.h index 99cb3187..af0bb13a 100644 --- a/src/decoding.h +++ b/src/decoding.h @@ -57,4 +57,8 @@ public: const EGPRS_AckNack_Desc_t *desc, struct bitvec *bits, int *bsn_begin, int *bsn_end, struct gprs_rlc_dl_window *window); + static int decode_gprs_acknack_bits( + const Ack_Nack_Description_t *desc, + bitvec *bits, int *bsn_begin, int *bsn_end, + gprs_rlc_dl_window *window); }; |