aboutsummaryrefslogtreecommitdiffstats
path: root/tests/edge/EdgeTest.ok
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-01-11 11:15:45 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-05 13:26:34 +0100
commit6e9f9c20e94e09fad5fa96ee233476b3ff16b045 (patch)
tree01323f9eca9fd5776034e68237d98bc2478e3aa3 /tests/edge/EdgeTest.ok
parentcc34a5b43f5542f2cc3866a0487915049d39df91 (diff)
edge: Add init functions for gprs_rlc_data_info
Add the functions gprs_rlc_data_info_init_dl/ul which initialise a gprs_rlc_data_info structure depending on the coding scheme. The fields num_data_blocks, data_offs_bits, cs, and the data_blocks are valid after this call. The other fields are set to 0. The data blocks are initialised to the correct data_len, e == 1 (no extension header field), cv == 15 (not a final block). The other data block fields are set to 0. The gprs_rlc_data_block_info can also be initialised separately by using the gprs_rlc_data_block_info_init function. Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/edge/EdgeTest.ok')
-rw-r--r--tests/edge/EdgeTest.ok2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/edge/EdgeTest.ok b/tests/edge/EdgeTest.ok
index 791f0d5e..95ec2b3a 100644
--- a/tests/edge/EdgeTest.ok
+++ b/tests/edge/EdgeTest.ok
@@ -1,4 +1,6 @@
=== start test_coding_scheme ===
=== end test_coding_scheme ===
+=== start test_rlc_info_init ===
+=== end test_rlc_info_init ===
=== start test_rlc_unit_decoder ===
=== end test_rlc_unit_decoder ===