Add templates for FLUSH_LL
Change-Id: Id432022fdd7f96bc014f0fd81658fa4aa796a688 Related: SYS#5210
This commit is contained in:
parent
3191d73f6c
commit
379fc250de
|
@ -768,7 +768,15 @@ octetstring sdu) := {
|
||||||
} with { variant "FIELDLENGTH(8)" };
|
} with { variant "FIELDLENGTH(8)" };
|
||||||
|
|
||||||
|
|
||||||
template BVCI t_BSSGP_BVCI(template BssgpBvci bvci) := {
|
private function t_BSSGP_BVCI(template BssgpBvci bvci)
|
||||||
|
return template BVCI {
|
||||||
|
var template BVCI r;
|
||||||
|
if (istemplatekind(bvci, "omit")) {
|
||||||
|
return omit;
|
||||||
|
} else if (istemplatekind(bvci, "*")) {
|
||||||
|
return *;
|
||||||
|
} else {
|
||||||
|
r := {
|
||||||
iEI := '04'O,
|
iEI := '04'O,
|
||||||
ext := '1'B,
|
ext := '1'B,
|
||||||
lengthIndicator := {
|
lengthIndicator := {
|
||||||
|
@ -776,6 +784,28 @@ octetstring sdu) := {
|
||||||
},
|
},
|
||||||
unstructured_value := f_oct_or_wc(bvci, 2)
|
unstructured_value := f_oct_or_wc(bvci, 2)
|
||||||
}
|
}
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private function t_BSSGP_NSEI(template Nsei nsei)
|
||||||
|
return template NSEI_BSSGP {
|
||||||
|
var template NSEI_BSSGP r;
|
||||||
|
if (istemplatekind(nsei, "omit")) {
|
||||||
|
return omit;
|
||||||
|
} else if (istemplatekind(nsei, "*")) {
|
||||||
|
return *;
|
||||||
|
} else {
|
||||||
|
r := {
|
||||||
|
iEI:= '3E'O,
|
||||||
|
ext := '1'B,
|
||||||
|
lengthIndicator := {
|
||||||
|
length1 := 2
|
||||||
|
},
|
||||||
|
nSEI := f_oct_or_wc(nsei, 2)
|
||||||
|
}
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
template (value) TLLI_BSSGP ts_BSSGP_TLLI(template (value) GprsTlli tlli) := {
|
template (value) TLLI_BSSGP ts_BSSGP_TLLI(template (value) GprsTlli tlli) := {
|
||||||
iEI := '1F'O,
|
iEI := '1F'O,
|
||||||
|
@ -1728,6 +1758,30 @@ octetstring sdu) := {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 10.4.1 */
|
||||||
|
template (value) PDU_BSSGP ts_BSSGP_FLUSH_LL(GprsTlli tlli, template (value) BssgpBvci bvci_old,
|
||||||
|
template (omit) BssgpBvci bvci_new := omit,
|
||||||
|
template (omit) Nsei nsei := omit) := {
|
||||||
|
pDU_BSSGP_FLUSH_LL := {
|
||||||
|
bssgpPduType := '2A'O,
|
||||||
|
tLLI := ts_BSSGP_TLLI(tlli),
|
||||||
|
bVCI_old := t_BSSGP_BVCI(bvci_old),
|
||||||
|
bVCI_new := t_BSSGP_BVCI(bvci_new),
|
||||||
|
nSEI := t_BSSGP_NSEI(nsei)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
template PDU_BSSGP tr_BSSGP_FLUSH_LL(template GprsTlli tlli, template BssgpBvci bvci_old,
|
||||||
|
template (omit) BssgpBvci bvci_new := omit,
|
||||||
|
template (omit) Nsei nsei := omit) := {
|
||||||
|
pDU_BSSGP_FLUSH_LL := {
|
||||||
|
bssgpPduType := '2A'O,
|
||||||
|
tLLI := tr_BSSGP_TLLI(tlli),
|
||||||
|
bVCI_old := t_BSSGP_BVCI(bvci_old),
|
||||||
|
bVCI_new := t_BSSGP_BVCI(bvci_new),
|
||||||
|
nSEI := t_BSSGP_NSEI(nsei)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* 10.2.3 */
|
/* 10.2.3 */
|
||||||
template (value) PDU_BSSGP ts_BSSGP_RA_CAP(GprsTlli tlli,
|
template (value) PDU_BSSGP ts_BSSGP_RA_CAP(GprsTlli tlli,
|
||||||
template (omit) MSRadioAccessCapabilityV_BSSGP racap := omit) := {
|
template (omit) MSRadioAccessCapabilityV_BSSGP racap := omit) := {
|
||||||
|
|
Loading…
Reference in New Issue