diff options
author | Pravin Kumarvel <pmanohar@radisys.com> | 2016-12-29 20:09:32 +0530 |
---|---|---|
committer | Pravin Kumarvel <pmanohar@radisys.com> | 2016-12-29 20:09:32 +0530 |
commit | 22529354e1037d5e5cf265661a0738c874390c32 (patch) | |
tree | c5cd345652cdce9c96f726d6d39a5ef72ed2ba26 /src | |
parent | 17ee61703200271cfe86486c007b1d2d03ba24ee (diff) |
Add test case for testing PUAN
This test case is for testing generation of
EGPRS PUAN. Corresponding log files .ok and .err
are modified.
Diffstat (limited to 'src')
-rw-r--r-- | src/rlc.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -341,6 +341,9 @@ struct gprs_rlc_ul_window: public gprs_rlc_window { const uint16_t v_r() const; const uint16_t v_q() const; + const void set_v_r(int); + const void set_v_q(int); + const uint16_t ssn() const; bool is_in_window(uint16_t bsn) const; @@ -571,6 +574,16 @@ inline bool gprs_rlc_ul_window::is_received(uint16_t bsn) const return is_in_window(bsn) && m_v_n.is_received(bsn) && offset_v_r < ws(); } +inline const void gprs_rlc_ul_window::set_v_r(int v_r) +{ + m_v_r = v_r; +} + +inline const void gprs_rlc_ul_window::set_v_q(int v_q) +{ + m_v_q = v_q; +} + inline const uint16_t gprs_rlc_ul_window::v_r() const { return m_v_r; |