diff options
author | Max <msuraev@sysmocom.de> | 2017-12-21 12:11:33 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-01-04 16:35:55 +0000 |
commit | b3a17d6074b2575a599863766b9826a7bd3369b9 (patch) | |
tree | b70ed9dfaa6159220ed07c762dc2e05993966495 /src/gprs_ms.h | |
parent | a4f570fe7a9e511d04ba3aade4a144b4cb74deb8 (diff) |
cosmetic: clarify coding scheme and puncturing
* use appropriate types for coding scheme parameters
* add comment regarding possible number of RLCMAC blocks
The code in create_dl_acked_block() has underlying assumption that
rlc.num_data_blocks can never be more than 2, which is true and is
enforced by appropriate asserts but is not obvious when looking at the
function code alone. It's equally hard for Coverity which leads to false
positives in scan.
Lets' make this assumption explicit by putting it into for(;;) condition
alongside with corresponding comment.
Fixes: CID143070
Change-Id: If599a6c8a6ef56d847604fcf41bb71decccd8a78
Diffstat (limited to 'src/gprs_ms.h')
0 files changed, 0 insertions, 0 deletions