path: root/src/tbf.h
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-25 20:22:35 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-15 10:34:09 +0100
commit8f399de135ae93a5f0841836846a7c54a600d5f0 (patch)
treeafb5940f370e9204deb8ae8875ced36d8747763a /src/tbf.h
parentba263680400d5d22baee765f84783c8ba294dbd2 (diff)
tbf: Kill the tsc member as it duplicates data
We can just use first_ts and the trx/pdch to extract this information. Avoid duplication of data.
Diffstat (limited to 'src/tbf.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 414bc63..de2543c 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -112,6 +112,7 @@ struct gprs_rlcmac_tbf {
const uint32_t tlli, const char *imsi, const uint8_t ms_class,
const uint16_t delay_csec, const uint8_t *data, const uint16_t len);
+ uint8_t tsc() const;
int rlcmac_diag();
@@ -142,7 +143,6 @@ struct gprs_rlcmac_tbf {
uint32_t state_flags;
enum gprs_rlcmac_tbf_direction direction;
struct gprs_rlcmac_trx *trx;
- uint8_t tsc;
uint8_t first_ts; /* first TS used by TBF */
uint8_t first_common_ts; /* first TS that the phone can send and
reveive simultaniously */