hnbap: Use protocolExtensions := * in tr and omit in ts templates

Change-Id: Ic8f9afc9d74507f7d73f52cefc92ed1c2dc4b1bc
This commit is contained in:
Daniel Willmann 2022-08-24 09:58:07 +02:00
parent c79679a2de
commit 28209ecdac
2 changed files with 62 additions and 2 deletions

View File

@ -638,7 +638,7 @@ function f_hnbap_register(integer hnb_idx := 0, integer cell_id := 0, boolean ex
{
timer T := 2.0;
HNBAP[hnb_idx].send(tr_HNBAP_HNBRegisterRequest(char2oct("TTCN3 HNodeB"),
HNBAP[hnb_idx].send(ts_HNBAP_HNBRegisterRequest(char2oct("TTCN3 HNodeB"),
'00F110'O,
int2bit(1 + cell_id, 28),
int2oct(2, 2),

View File

@ -36,6 +36,66 @@ tr_HNBAP_HNBRegisterRequest(template (present) octetstring hNB_Identity_Info :=
template (present) OCT2 lac := ?,
template (present) OCT1 rac := ?,
template (present) OCT2 sac := ?) := {
initiatingMessage := {
procedureCode := id_HNBRegister,
criticality := reject,
value_ := {
hNBRegisterRequest := {
protocolIEs := {
{
id := HNBAP_Constants.id_HNB_Identity,
criticality := reject,
value_ := {
hNB_Identity := {
hNB_Identity_Info := hNB_Identity_Info,
iE_Extensions := omit
}
}
}, {
id := 8,
criticality := reject,
value_ := {
hNB_Location_Information := {
macroCoverageInfo := omit,
geographicalCoordinates := omit,
iE_Extensions := omit
}
}
}, {
id := 9,
criticality := reject,
value_ := { pLMNidentity := plmnid }
}, {
id := 11,
criticality := reject,
value_ := { cellIdentity := cell_identity }
}, {
id := 6,
criticality := reject,
value_ := { lAC := lac }
}, {
id := 7,
criticality := reject,
value_ := { rAC := rac }
}, {
id := 10,
criticality := reject,
value_ := { sAC := sac }
}
},
protocolExtensions := *
}
}
}
}
template (value) HNBAP_PDU
ts_HNBAP_HNBRegisterRequest(template (value) octetstring hNB_Identity_Info,
template (value) OCT3 plmnid,
template (value) BIT28 cell_identity,
template (value) OCT2 lac,
template (value) OCT1 rac,
template (value) OCT2 sac) := {
initiatingMessage := {
procedureCode := id_HNBRegister,
criticality := reject,
@ -105,7 +165,7 @@ tr_HNBAP_HNBRegisterAccept(template (present) uint16_t rnc_id := ?) := {
value_ := { RNC_ID := rnc_id }
}
},
protocolExtensions := omit /* TODO: Mux Port Number (optional) 9.2.29 */
protocolExtensions := * /* TODO: Mux Port Number (optional) 9.2.29 */
}
}
}