diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-14 11:43:04 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-16 19:37:08 +0100 |
commit | d87e1d6ab747423d3668c74d16201a5d967accf0 (patch) | |
tree | 6b37bcee7b3e4f0f9d2069cc12321887e971559b /src/rlc.h | |
parent | 61679251472391bf1746eb277b5027caa1ac14ad (diff) |
rlc: Do not raise_v_q in receive_bsn
Currently gprs_rlc_ul_window::receive_bsn calls raise_v_q and returns
the number of RLC data blocks that can be taken from the queue. This
does not fit the EGPRS feature to put 2 independant data blocks in a
single RLC block.
This commit removes raise_v_q from receive_bsn, hence it must be
called explicitely to get the number of processable data blocks.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -202,7 +202,7 @@ struct gprs_rlc_ul_window { void raise_v_q(int); - uint16_t receive_bsn(const uint16_t bsn); + void receive_bsn(const uint16_t bsn); uint16_t m_v_r; /* receive state */ uint16_t m_v_q; /* receive window state */ |