PCU: s/f_establish_tbf/f_pcuif_tx_rach_rx_imm_ass/g
Fix confusion: f_ms_establish_ul_tbf() vs f_establish_tbf(). The
new name precisely describes what the function does. Sending a
RACH.ind and receiving a DATA.req with RR Immediate Assignment
is just a part of the TBF establishment process.
Change-Id: I1e22b9936bf68ebcaf70cefbc57345995ebbbaed
diff --git a/pcu/GPRS_Components.ttcn b/pcu/GPRS_Components.ttcn
index 2628938..392440c 100644
--- a/pcu/GPRS_Components.ttcn
+++ b/pcu/GPRS_Components.ttcn
@@ -308,7 +308,7 @@
runs on MS_BTS_IFACE_CT {
var GsmRrMessage rr_imm_ass;
- rr_imm_ass := f_establish_tbf(ms.ra, ms.ra_is_11bit, ms.burst_type, ms.ta);
+ rr_imm_ass := f_pcuif_tx_rach_rx_imm_ass(ms.ra, ms.ra_is_11bit, ms.burst_type, ms.ta);
ms.ul_tbf := f_ultbf_new_from_rr_imm_ass(rr_imm_ass);
}
@@ -523,10 +523,10 @@
const BIT8 chan_req_def := '01111000'B;
/* Establish an Uplink TBF by sending RACH.ind towards the PCU */
-function f_establish_tbf(uint16_t ra := bit2int(chan_req_def),
- uint8_t is_11bit := 0,
- PCUIF_BurstType burst_type := BURST_TYPE_0,
- TimingAdvance ta := 0)
+function f_pcuif_tx_rach_rx_imm_ass(uint16_t ra := bit2int(chan_req_def),
+ uint8_t is_11bit := 0,
+ PCUIF_BurstType burst_type := BURST_TYPE_0,
+ TimingAdvance ta := 0)
runs on MS_BTS_IFACE_CT return GsmRrMessage {
var uint32_t fn;