lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38919?usp=email )
Change subject: L3_Templates: correct set a5 bits to A1 + A5 ......................................................................
L3_Templates: correct set a5 bits to A1 + A5
The MS Radio Capabilities must include A5 bits to inform the network of supported encryption capabilities. The a5bits of the first access network must be present, later ones can be omited, meaning the ones of the first one also applies.
Change-Id: I5256c1a2c57761589ec51de4fba47fa48b1f3fbb --- M library/L3_Templates.ttcn 1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/19/38919/1
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index 181fde4..9551845 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -2414,6 +2414,17 @@ } return '1'B; } + +template (value) A5BITS ts_a5bits_a51a53 := { + a51 := '1'B, + a52 := '0'B, + a53 := '1'B, + a54 := '0'B, + a55 := '0'B, + a56 := '0'B, + a57 := '0'B +}; + template (value) MSRACapabilityValuesRecord ts_RaCapRec(BIT4 att := '0001'B /* E-GSM */, template (omit) MultislotCap_GPRS mscap_gprs := omit, template (omit) MultislotCap_EGPRS mscap_egprs := omit) := { mSRACapabilityValues := { mSRACapabilityValuesExclude1111 := { @@ -2423,7 +2434,7 @@ accessCapabilities := { rfPowerCapability := '001'B, /* FIXME */ presenceBitA5 := '0'B, - a5bits := omit, + a5bits := ts_a5bits_a51a53, esind := '1'B, psbit := '0'B, vgcs := '0'B,