diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-23 16:40:56 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-01 13:58:12 +0100 |
commit | e1ca87f0570674526e6586c697e06a1c83b8071b (patch) | |
tree | 150b34d8f5a9273021e4611f7bb39aefc0540a86 /src/rlc.cpp | |
parent | 93c55d04e5917aa54ce37a9e997d0af87cc8be85 (diff) |
rlc/edge: Consistently use uint16_t for BSNs and SSNs
Currently in some places uint8_t is being used to encode BSNs and
SSNs. This is inconsistent and (even worse) not enough for EPGRS
which uses an SNS of 2014.
This commit changes these to uint16_t.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/rlc.cpp')
-rw-r--r-- | src/rlc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlc.cpp b/src/rlc.cpp index c7336670..f6d6f4aa 100644 --- a/src/rlc.cpp +++ b/src/rlc.cpp @@ -98,7 +98,7 @@ static uint16_t bitnum_to_bsn(int bitnum, uint16_t ssn) return (ssn - 1 - bitnum); } -void gprs_rlc_dl_window::update(BTS *bts, char *show_rbb, uint8_t ssn, +void gprs_rlc_dl_window::update(BTS *bts, char *show_rbb, uint16_t ssn, uint16_t *lost, uint16_t *received) { /* SSN - 1 is in range V(A)..V(S)-1 */ |