BSSMAP_Templates: Add parameters to tr_BSSMAP_ComplL3 for better matching

This commit is contained in:
Harald Welte 2017-12-09 00:53:17 +01:00
parent 140714d89d
commit f8a0bdaad5
3 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1 @@
../msc_tests/BSSAP_CodecPort.ttcn

View File

@ -156,6 +156,13 @@ template BSSMAP_IE_Layer3Information ts_BSSMAP_IE_L3Info(octetstring l3info) :=
layer3info := l3info
}
template BSSMAP_IE_Layer3Information tr_BSSMAP_IE_L3Info(template octetstring l3info) := {
elementIdentifier := '17'O,
lengthIndicator := ?,
layer3info := l3info
}
template PDU_BSSAP ts_BSSMAP_ComplL3(BSSMAP_IE_CellIdentifier cell_id, octetstring l3_info)
modifies ts_BSSAP_BSSMAP := {
pdu := {
@ -176,10 +183,23 @@ modifies ts_BSSAP_BSSMAP := {
}
}
template PDU_BSSAP tr_BSSMAP_ComplL3 modifies tr_BSSAP_BSSMAP := {
template PDU_BSSAP tr_BSSMAP_ComplL3(template octetstring l3_info := ?,
template BSSMAP_IE_CellIdentifier cell_id := ?)
modifies tr_BSSAP_BSSMAP := {
pdu := {
bssmap := {
completeLayer3Information := ?
completeLayer3Information := {
messageType := '57'O,
cellIdentifier := cell_id,
layer3Information := tr_BSSMAP_IE_L3Info(l3_info),
chosenChannel := *,
lSAIdentifier := *,
aPDU := *,
codecList := *,
redirectAttemptFlag := *,
sendSequenceNumber := *,
iMSI := *
}
}
}
}