commit | 58db60c68ebf137ae2a886ec3bd1188431c84721 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Nov 13 20:45:40 2013 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Nov 19 21:26:43 2013 +0100 |
tree | 7f7ad8e152d20fdd338e6ccf0ebeb2df8096d9ee | |
parent | c3d5325fc85eba3110f229546bc2b4fe91e3e1c2 [diff] [blame] |
rlc: Start to move things out of the tbf into the rlc Add remarks of possible broken behavior inside the tbf routines. Move the preparation (and init) into the new rlc.cpp file.
diff --git a/src/tbf.h b/src/tbf.h index bf5f32d..e95ed20 100644 --- a/src/tbf.h +++ b/src/tbf.h
@@ -86,6 +86,8 @@ #define GPRS_RLCMAC_FLAG_TO_MASK 0xf0 /* timeout bits */ struct gprs_rlc_data { + uint8_t *prepare(size_t block_data_length); + /* block history */ uint8_t block[RLC_MAX_LEN]; /* block len of history */