diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-12-13 17:35:04 +0100 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2022-12-16 11:05:46 +0000 |
commit | a621d59ea825bbfc2423ce03bd4b8773af53e522 (patch) | |
tree | 9a92d0a6947b541d3c1658d9fba19be2c00dd0f4 /src/tbf_ul.h | |
parent | 57b2589041dc986ac6ab445f98618a898ad25cd7 (diff) |
Refactor code rejecting UL-TBF upon rx of PktResourceReq
* Make it similar to the already existing TBF allocation procedures
* Pass pdch pointer instead of trx and ts numbers
Change-Id: I04b3b65942732cc652adeaa507529b849292ff61
Diffstat (limited to 'src/tbf_ul.h')
-rw-r--r-- | src/tbf_ul.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf_ul.h b/src/tbf_ul.h index c5c55f7a..aa54c8fb 100644 --- a/src/tbf_ul.h +++ b/src/tbf_ul.h @@ -123,8 +123,6 @@ inline uint16_t gprs_rlcmac_ul_tbf::window_size() const return m_window.ws(); } -struct gprs_rlcmac_ul_tbf *handle_tbf_reject(struct gprs_rlcmac_bts *bts, - GprsMs *ms, uint8_t trx_no, uint8_t ts_no); #else /* ifdef __cplusplus */ struct gprs_rlcmac_ul_tbf; @@ -135,6 +133,8 @@ struct gprs_rlcmac_ul_tbf; extern "C" { #endif struct gprs_rlcmac_ul_tbf *ul_tbf_alloc(struct gprs_rlcmac_bts *bts, struct GprsMs *ms, int8_t use_trx, bool single_slot); +struct gprs_rlcmac_ul_tbf *ul_tbf_alloc_rejected(struct gprs_rlcmac_bts *bts, struct GprsMs *ms, + struct gprs_rlcmac_pdch *pdch); void update_tbf_ta(struct gprs_rlcmac_ul_tbf *tbf, int8_t ta_delta); void set_tbf_ta(struct gprs_rlcmac_ul_tbf *tbf, uint8_t ta); struct gprs_rlcmac_ul_tbf *tbf_as_ul_tbf(struct gprs_rlcmac_tbf *tbf); |