aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlc.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-25 23:26:06 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-26 21:00:51 +0100
commitcbb00ebd04c11aade8503e407ab97ee8b632e99f (patch)
tree0ed727d825e1ac410910575746fe8f787fcc928c /src/rlc.h
parent423dd2286befbaa29f63c65e739bbe894daa65e1 (diff)
rlc/tbf: Move the code to raise V(R) into the ul_window handling
Diffstat (limited to 'src/rlc.h')
-rw-r--r--src/rlc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rlc.h b/src/rlc.h
index 9d782803..328af6cc 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -26,6 +26,7 @@
#define RLC_MAX_LEN 54 /* CS-4 including spare bits */
class BTS;
+struct gprs_rlc_v_n;
struct gprs_rlc_data {
uint8_t *prepare(size_t block_data_length);
@@ -87,6 +88,8 @@ struct gprs_rlc_ul_window {
bool is_in_window(uint8_t bsn) const;
void raise(int moves);
+ void raise(const uint16_t bsn, gprs_rlc_v_n *v_n);
+
void increment_q(int);
uint16_t m_v_r; /* receive state */