From 55844795be21e2e59ab6bcede2037f8c74d76505 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Sat, 28 Dec 2013 14:41:00 +0100 Subject: rlc/tbf: Add function receive_bsn that updates v_r, v_q, v_n We don't need to expose the mecanics of updating the variables to the outside. --- src/rlc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rlc.h') diff --git a/src/rlc.h b/src/rlc.h index 42ec6edd..158ec3de 100644 --- a/src/rlc.h +++ b/src/rlc.h @@ -115,6 +115,8 @@ struct gprs_rlc_ul_window { void raise_v_q(int); + uint16_t receive_bsn(const uint16_t bsn); + uint16_t m_v_r; /* receive state */ uint16_t m_v_q; /* receive window state */ -- cgit v1.2.3