aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-20 18:01:55 +0100
committerMax <msuraev@sysmocom.de>2017-12-20 18:01:55 +0100
commit59e4a4fee11a966d2c72209a0e23087e20d5103d (patch)
tree780e30b8edd7e5a1c7cbe406a449a55096b2d71a /src/tbf.h
parentee5be3a0095b4bae430032d35e3ad0716eff34ab (diff)
TBF: add N3101 counter
Properly reset the counter when receiving valid RLCMAC block and update it when no data is received as per 3GPP TS 44.060 ยง8.1.1.1 Change-Id: I2f79c6153dc4073c9d293b2824979e6381576682 Fixes: OS#2407
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 06c9f60..4489695 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -296,6 +296,8 @@ struct gprs_rlcmac_tbf {
/* store the BTS this TBF belongs to */
BTS *bts;
+ uint8_t m_n3101; /* N3101 counter */
+
/*
* private fields. We can't make it private as it is breaking the
* llist macros.