diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-08 15:14:05 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-16 19:36:09 +0100 |
commit | 4abc686d76b1d74ba07939f5e586842c68c37e25 (patch) | |
tree | a73951c8ca663a7878d24f0369faae7ff9953553 /tests/edge/EdgeTest.ok | |
parent | 392a5453361d639abe3eb50ec5ea7ace1595af04 (diff) |
edge: Add unified decoder methods for GPRS/EGPRS
This commit adds new RLC block decoder functions that support both
GPRS and EGPRS. The code path is selected based on the value of the
GprsCodingScheme cs object.
- rlc_parse_ul_data_header
parses the header of an RLC data block including the E and FBI/TI
flags (currently supported CS-1 - CS-4, MCS-1 - MCS-4).
- rlc_copy_to_aligned_buffer
copies an RLC data unit to a byte aligned buffer and returns
the unit's length.
- rlc_get_data_aligned
is a convenience wrapper around rlc_copy_to_aligned_buffer
that avoids copying if the data unit is already byte aligned.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/edge/EdgeTest.ok')
0 files changed, 0 insertions, 0 deletions