diff options
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -85,13 +85,19 @@ enum gprs_rlcmac_tbf_direction { #define GPRS_RLCMAC_FLAG_TO_DL_ASS 7 #define GPRS_RLCMAC_FLAG_TO_MASK 0xf0 /* timeout bits */ +struct gprs_rlc_data { + /* block history */ + uint8_t block[RLC_MAX_LEN]; + /* block len of history */ + uint8_t len; +}; + /* * I hold the currently transferred blocks and will provide * the routines to manipulate these arrays. */ struct gprs_rlc { - uint8_t block[RLC_MAX_SNS/2][RLC_MAX_LEN]; /* block history */ - uint8_t block_len[RLC_MAX_SNS/2]; /* block len of history */ + gprs_rlc_data blocks[RLC_MAX_SNS/2]; }; struct gprs_rlcmac_tbf { |