diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-24 17:13:10 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 20:57:24 +0100 |
commit | e358ff8fa4865be81cd0fbf46ddd6baee3856e9b (patch) | |
tree | 2bbe02ec2668d41a850131bd9d818c74748fc9ae /src/rlc.h | |
parent | df6b4f52e05e699b9a96a920973bff6241b5a853 (diff) |
tbf/rlc: Move the moving of V(A) into the V_B code
Move the code that moves the V_B to the first not acked frame. Return
how many indexes the V_B was moved and update the V_A in the caller.
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,8 @@ struct gprs_rlc_v_b { void update(BTS *bts, char *show_rbb, uint8_t ssn, const uint16_t v_a, const uint16_t mod_sns, const uint16_t mod_sns_half, uint16_t *lost, uint16_t *received); + int move_window(const uint16_t v_a, const uint16_t v_s, + const uint16_t mod_sns, const uint16_t mod_sns_half); /* Check for an individual frame */ bool is_unacked(int index) const; |