BSSMAP_LE_IE_LcsCause: fix IEI value and len

Change-Id: I8ea9d91745dc7bcbfdb69779487a1e9fc6cc7fcd
This commit is contained in:
Neels Hofmeyr 2020-10-01 06:37:38 +02:00 committed by laforge
parent 269c73c674
commit 8a6863ccba
2 changed files with 4 additions and 4 deletions

View File

@ -260,7 +260,7 @@ type record BSSMAP_LE_IE_LcsCause {
BSSMAP_LE_LcsCause cause,
OCT1 diag_val optional
} with {
variant "PRESENCE(iei = BSSMAP_LE_IEI_IMSI)"
variant "PRESENCE(iei = BSSMAP_LE_IEI_LCS_CAUSE)"
variant (len) "LENGTHTO(cause,diag_val)"
}
type enumerated BSSMAP_LE_LcsCause {

View File

@ -26,8 +26,8 @@ return template (omit) BSSMAP_LE_IE_LcsCause {
return omit;
}
var template (omit) BSSMAP_LE_IE_LcsCause ie := {
iei := BSSMAP_LE_IEI_IMSI,
len := 0,
iei := BSSMAP_LE_IEI_LCS_CAUSE,
len := 1,
cause := cause,
diag_val := omit
}
@ -39,7 +39,7 @@ return template BSSMAP_LE_IE_LcsCause {
return omit;
}
var template BSSMAP_LE_IE_LcsCause ie := {
iei := BSSMAP_LE_IEI_IMSI,
iei := BSSMAP_LE_IEI_LCS_CAUSE,
len := ?,
cause := cause,
diag_val := *