library/GSM_RR_Types: add receive templates for IMM ASS Reject

Change-Id: Icece9245f4a85dcf59021a76d51d419cf1c13990
This commit is contained in:
Vadim Yanitskiy 2020-05-22 03:32:00 +07:00
parent 7ef121d2d9
commit 16e24aa4e7
1 changed files with 32 additions and 0 deletions

View File

@ -1036,4 +1036,36 @@ module GSM_RR_Types {
}
};
template GsmRrMessage tr_IMM_ASS_REJ(template FeatureIndicator feature_ind := ?,
template ReqRefWaitInd4 rr_wi_list := ?,
template IARRestOctets rest_octets := ?) := {
header := t_RrHeader(IMMEDIATE_ASSIGNMENT_REJECT, ?),
payload := {
imm_ass_rej := {
feature_ind := feature_ind,
page_mode := ?,
payload := rr_wi_list,
rest_octets := rest_octets
}
}
};
template ReqRefWaitInd tr_ReqRefWaitInd(template RequestReference ref := ?,
template WaitIndication wi := ?) := {
req_ref := ref,
wait_ind := wi
};
template IARRestOctets tr_IARRestOctets(template ExtRAList ext_ra_list := ?,
template uint3_t rcc := ?) := {
ext_ra_list := ext_ra_list,
rel13_ind := ?,
rcc := rcc ifpresent
};
template ExtRAOpt tr_ExtRAOpt(template BIT5 ext_ra := ?) := {
presence := '1'B, // L/H
ext_ra := ext_ra
};
} with { encode "RAW" ; variant "FIELDORDER(msb)" }