diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-01-13 13:09:09 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-05 18:27:10 +0100 |
commit | 70955c765cbd7d58f8e9fec134becfd53ea395e1 (patch) | |
tree | 1a0eac55436138b31a87b9299e5de104da80d138 /src/rlc.h | |
parent | a88d065606a29f5cd7d140fbacb49d78428ceb98 (diff) |
edge: Provide and use CS -> CPS conversion
The MS' RLC receiver needs a valid CPS field to decode the block.
Add the function gprs_rlc_mcs_cps to generate the CPS value based on
coding scheme, puncturing, and padding.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -105,6 +105,7 @@ void gprs_rlc_data_info_init_ul(struct gprs_rlc_data_info *rlc, GprsCodingScheme cs); void gprs_rlc_data_block_info_init(struct gprs_rlc_data_block_info *rdbi, GprsCodingScheme cs); +unsigned int gprs_rlc_mcs_cps(GprsCodingScheme cs, int punct, int with_padding); /* * I hold the currently transferred blocks and will provide |