diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-12-12 19:22:44 +0100 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2022-12-16 11:05:46 +0000 |
commit | 345d9ad1b3895e6ca28e978c933df37a28106132 (patch) | |
tree | 69c151837ffea7b4c0a006fb5435f066bfdbeb51 /src/tbf.h | |
parent | 44347efacd83049ee7cb6ba7e2fcddfe68173280 (diff) |
Move first_common_ts from gprs_rlcmac_tbf to GprsMs
The field contains a common value between the 2 active TBFs of the MS,
so it makes no sense to have them duplicated on each TBF. It can be
sanely stored in the MS object.
Change-Id: I8df01a99ccbfaf7a442ade5000ee282bd638fbba
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -134,7 +134,6 @@ struct GprsMs *tbf_ms(const struct gprs_rlcmac_tbf *tbf); bool tbf_timers_pending(struct gprs_rlcmac_tbf *tbf, enum tbf_timers t); void tbf_free(struct gprs_rlcmac_tbf *tbf); struct gprs_llc *tbf_llc(struct gprs_rlcmac_tbf *tbf); -uint8_t tbf_first_common_ts(const struct gprs_rlcmac_tbf *tbf); uint8_t tbf_dl_slots(const struct gprs_rlcmac_tbf *tbf); uint8_t tbf_ul_slots(const struct gprs_rlcmac_tbf *tbf); bool tbf_is_tfi_assigned(const struct gprs_rlcmac_tbf *tbf); @@ -220,8 +219,6 @@ struct gprs_rlcmac_tbf { enum gprs_rlcmac_tbf_direction direction; struct gprs_rlcmac_trx *trx; uint8_t first_ts; /* first TS used by TBF */ - uint8_t first_common_ts; /* first TS where the phone can send and - receive simultaniously */ uint8_t control_ts; /* timeslot control messages and polling */ struct gprs_rlcmac_pdch *pdch[8]; /* list of PDCHs allocated to TBF */ |