aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-05-10 17:10:37 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-05-11 11:32:38 +0200
commitc6571b55814cf08f5df6ba5dc3423598845b0cb3 (patch)
treea8035b058b73932bf48d4d8aee0ec1383e7a472f
parent50272a477673c98a98da9f2e9d5f555830112dc7 (diff)
Rename function s/tbf_alloc_ul/tbf_alloc_ul_pacch/
-rw-r--r--src/pdch.cpp4
-rw-r--r--src/tbf_ul.cpp2
-rw-r--r--src/tbf_ul.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/pdch.cpp b/src/pdch.cpp
index 5389763b..c69c45ce 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -119,7 +119,7 @@ static inline void sched_ul_ass_or_rej(struct gprs_rlcmac_bts *bts, struct gprs_
bts_do_rate_ctr_inc(bts, CTR_CHANNEL_REQUEST_DESCRIPTION);
/* This call will register the new TBF with the MS on success */
- gprs_rlcmac_ul_tbf *ul_tbf = tbf_alloc_ul(bts, tbf->ms(), tbf->trx->trx_no, tbf->tlli());
+ gprs_rlcmac_ul_tbf *ul_tbf = tbf_alloc_ul_pacch(bts, tbf->ms(), tbf->trx->trx_no, tbf->tlli());
/* schedule uplink assignment or reject */
if (ul_tbf) {
@@ -683,7 +683,7 @@ void gprs_rlcmac_pdch::rcv_resource_request(Packet_Resource_Request_t *request,
tbf_free(ul_tbf);
}
- ul_tbf = tbf_alloc_ul(bts(), ms, trx_no(), tlli);
+ ul_tbf = tbf_alloc_ul_pacch(bts(), ms, trx_no(), tlli);
if (!ul_tbf) {
handle_tbf_reject(bts(), ms, trx_no(), ts_no);
goto return_unref;
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index c41793df..cf8c75c5 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -141,7 +141,7 @@ struct gprs_rlcmac_ul_tbf *tbf_alloc_ul_tbf(struct gprs_rlcmac_bts *bts, GprsMs
}
/* Alloc a UL TBF to be assigned over PACCH */
-gprs_rlcmac_ul_tbf *tbf_alloc_ul(struct gprs_rlcmac_bts *bts, GprsMs *ms, int8_t use_trx,
+gprs_rlcmac_ul_tbf *tbf_alloc_ul_pacch(struct gprs_rlcmac_bts *bts, GprsMs *ms, int8_t use_trx,
uint32_t tlli)
{
struct gprs_rlcmac_ul_tbf *tbf;
diff --git a/src/tbf_ul.h b/src/tbf_ul.h
index 53c7ad86..4207deb7 100644
--- a/src/tbf_ul.h
+++ b/src/tbf_ul.h
@@ -118,8 +118,8 @@ inline uint16_t gprs_rlcmac_ul_tbf::window_size() const
}
struct gprs_rlcmac_ul_tbf *tbf_alloc_ul_tbf(struct gprs_rlcmac_bts *bts, GprsMs *ms, int8_t use_trx, bool single_slot);
-struct gprs_rlcmac_ul_tbf *tbf_alloc_ul(struct gprs_rlcmac_bts *bts, GprsMs *ms,
- int8_t use_trx, uint32_t tlli);
+struct gprs_rlcmac_ul_tbf *tbf_alloc_ul_pacch(struct gprs_rlcmac_bts *bts, GprsMs *ms,
+ int8_t use_trx, uint32_t tlli);
struct gprs_rlcmac_ul_tbf *handle_tbf_reject(struct gprs_rlcmac_bts *bts,
GprsMs *ms, uint8_t trx_no, uint8_t ts_no);