rlcmac: introduce initial support for NACC related messages
Change-Id: I4d2f123479c34e6afffe0bc8d91409e6b0529a62
diff --git a/library/RLCMAC_CSN1_Templates.ttcn b/library/RLCMAC_CSN1_Templates.ttcn
index 64c709a..1becddd 100644
--- a/library/RLCMAC_CSN1_Templates.ttcn
+++ b/library/RLCMAC_CSN1_Templates.ttcn
@@ -108,6 +108,77 @@
}
};
+ const CCNMesurementReport ccn_meas_rep_def := {
+ rxlev_servig_cell := 0,
+ zero := '0'B,
+ num_meas := 0,
+ meas := { }
+ }
+
+ /* TS 44.060 sec 11.2.3a */
+ template (value) RlcmacUlCtrlMsg ts_RlcMacUlCtrl_PKT_CELL_CHG_NOTIF(uint5_t tfi,
+ GsmArfcn arfcn,
+ uint6_t bsic,
+ template (value) CCNMesurementReport ccn_meas_rep := ccn_meas_rep_def)
+ := {
+ msg_type := PACKET_CELL_CHANGE_NOTIFICATION,
+ u := {
+ cell_chg_notif := {
+ gtfi := {
+ is_dl_tfi := false,
+ tfi := tfi
+ },
+ arfcn_bsic_presence := '0'B,
+ arfcn := arfcn,
+ bsic := bsic,
+ ba_psi3_presence := '0'B,
+ ba_used := '0'B,
+ psi3_change_mark := omit,
+ pmo_used := '0'B,
+ pccn_sending := '0'B,
+ ccn_meas_rep := ccn_meas_rep
+ }
+ }
+ };
+
+ /* TS 44.060 sec 11.2.2a */
+ template RlcmacDlCtrlMsg tr_RlcMacDlCtrl_PKT_CELL_CHG_CONTINUE(template GlobalTfi tfi := ?)
+ := {
+ msg_type := PACKET_CELL_CHANGE_CONTINUE,
+ u := {
+ cell_chg_continue := {
+ page_mode := ?,
+ zero := '0'B,
+ gtfi := tfi,
+ arfcn_bsic_presence := ?,
+ arfcn := *,
+ bsic := *,
+ container_id := *
+ }
+ }
+ };
+
+ /* TS 44.060 sec 11.2.9e */
+ template RlcmacDlCtrlMsg tr_RlcMacDlCtrl_PKT_NEIGH_CELL_DATA(template (present) GlobalTfi tfi := ?,
+ template (present) uint5_t container_index := ?)
+ := {
+ msg_type := PACKET_NEIGHBOUR_CELL_DATA,
+ u := {
+ neighbour_cell_data := {
+ page_mode := ?,
+ zero := '0'B,
+ gtfi := tfi,
+ container_id := ?,
+ spare := '0'B,
+ container_index := container_index,
+ arfcn_bsic_presence := ?,
+ arfcn := *,
+ bsic := *,
+ container_list := ?
+ }
+ }
+ };
+
private function f_presence_bit_tfi(template uint5_t tfi) return BIT1 {
if (istemplatekind(tfi, "omit")) {
return '0'B;