pcu: Fix RLCMAC template naming
There's also DL_ACK_NACK message for which a template will be introduced soon, so let's rename and fix typos/wrong descriptions to avoid confusion later. Change-Id: I4a2025ad282006953fcfadf429c980b77cb94371
This commit is contained in:
parent
d16bb27306
commit
216596340a
|
@ -328,8 +328,8 @@ uint3_t usf) := {
|
|||
}
|
||||
}
|
||||
|
||||
/* Receive Template for Downlink ACK/NACK */
|
||||
template RlcmacDlBlock tr_RLCMAC_ACK_NACK(template uint5_t ul_tfi, template GprsTlli tlli := ?) := {
|
||||
/* Receive Template for Uplink ACK/NACK */
|
||||
template RlcmacDlBlock tr_RLCMAC_UL_ACK_NACK(template uint5_t ul_tfi, template GprsTlli tlli := ?) := {
|
||||
ctrl := {
|
||||
mac_hdr := {
|
||||
payload_type := (MAC_PT_RLCMAC_NO_OPT, MAC_PT_RLCMAC_OPT),
|
||||
|
@ -384,7 +384,7 @@ uint3_t usf) := {
|
|||
retry := retry
|
||||
}
|
||||
|
||||
/* Template for Uplink Conntrol ACK */
|
||||
/* Template for Uplink Control ACK */
|
||||
template RlcmacUlBlock ts_RLCMAC_CTRL_ACK(GprsTlli tlli, CtrlAck ack := MS_RCVD_TWO_RLC_SAME_RTI_DIFF_RBSN) := {
|
||||
ctrl := {
|
||||
mac_hdr := t_RLCMAC_UlMacCtrlH(MAC_PT_RLCMAC_NO_OPT),
|
||||
|
|
|
@ -358,7 +358,7 @@ function f_ul_tbf(inout UlTbfState us) runs on dummy_CT {
|
|||
}
|
||||
|
||||
alt {
|
||||
[] L1.receive(RLCMAC_ph_data_ind:{cs:=?, ts_nr:=?, fn:=?, block:=tr_RLCMAC_ACK_NACK(0, g_mmctx.tlli)}) -> value dl {
|
||||
[] L1.receive(RLCMAC_ph_data_ind:{cs:=?, ts_nr:=?, fn:=?, block:=tr_RLCMAC_UL_ACK_NACK(0, g_mmctx.tlli)}) -> value dl {
|
||||
log("found matching ACK/NACK");
|
||||
/* send CTRL ACK in uplink */
|
||||
var GsmFrameNumber ul_fn := f_rrbp_fn(dl.fn, dl.block.ctrl.mac_hdr.rrbp);
|
||||
|
|
|
@ -738,7 +738,7 @@ runs on RAW_PCU_Test_CT {
|
|||
private function f_rx_rlcmac_dl_block_exp_ack_nack(out RlcmacDlBlock dl_block)
|
||||
runs on RAW_PCU_Test_CT {
|
||||
f_rx_rlcmac_dl_block(dl_block);
|
||||
if (not match(dl_block, tr_RLCMAC_ACK_NACK(ul_tfi := ?, tlli := ?))) {
|
||||
if (not match(dl_block, tr_RLCMAC_UL_ACK_NACK(ul_tfi := ?, tlli := ?))) {
|
||||
setverdict(fail, "Failed to match Packet Uplink ACK / NACK");
|
||||
mtc.stop;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue