diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2024-04-19 01:17:48 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2024-04-19 09:56:44 +0000 |
commit | 95fb629544967726fa725b05c50fdd697f62a729 (patch) | |
tree | a9fabc4eb41cd662e3910db76448eb28369f2cbd | |
parent | 061c36d22bf7f803a933aa0464c2e78d826eb2c6 (diff) |
library: GTPv1C: fix ts_MM_Context{GSM,UMTS} templates
Set the values according to 3GPP TS 29.060 version 17.4.0 Release 17.
* Field 'spare' is defined as 'Spare 1111' in Table 40 (missing '1').
* Field 'spare1' is defined as 'Spare 111' in Table 41.
* Field 'security' must be set as per Table 47.
Change-Id: Ic8abb048f7c1fa795ee472820c5b88de0073dc66
Fixes: f95460b55 "GTP_Templates: Add templates for some GTPv1C IEs"
Fixes: fdde16846 "library: GTPv1C add ts_MM_ContextGSM"
-rw-r--r-- | library/GTPv1C_Templates.ttcn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/GTPv1C_Templates.ttcn b/library/GTPv1C_Templates.ttcn index 0dc30be6..e9cf7972 100644 --- a/library/GTPv1C_Templates.ttcn +++ b/library/GTPv1C_Templates.ttcn @@ -346,10 +346,10 @@ module GTPv1C_Templates { mmcontGSM := { lengthf := 0, /* overwritten */ cksn := cksn, - spare := '00000'B, + spare := '11111'B, usedCipher := gea, - noofVectors := 0, - security := '00'B, /* XXX */ + noofVectors := 0, /* overwritten */ + security := '01'B, /* GSM key and triplets */ kc := kc, triplet := ''O, drx_par := '0000'O, @@ -372,9 +372,9 @@ module GTPv1C_Templates { usedGPRSIntegrityAlgorithm := '000'B, ugipai := '1'B, /* Integrity Protection not required */ gupii := '1'B, /* Ignore "Used GPRS integrity protection algorithm" field" */ - spare1 := '000'B, + spare1 := '111'B, noofVectors := 0, /* TODO: fill quintpuplets*/ - security := '01'B, /* UMTS key and quintuplets */ + security := '10'B, /* UMTS key and quintuplets */ ck := ck, ik := ik, quintupletlength := 0, /* overwritten */ |