lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

October 2023

  • 1 participants
  • 1843 discussions
[M] Change in osmo-ttcn3-hacks[master]: Introduce DIAMETER_rfc5447_Templates.ttcn
by pespin 23 Oct '23

23 Oct '23
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34874?usp=email ) Change subject: Introduce DIAMETER_rfc5447_Templates.ttcn ...................................................................... Introduce DIAMETER_rfc5447_Templates.ttcn Add templates for RFC 5447 MIP6-Feature-Vector. This AVP is a bitmask which as only a few bits defined in RFC 5447, with other interfaces using this AVP adding interface-specific bits in the spec of each interface. The templates are added in a new separate file with the aim of start splitting the tons of AVPs originating from different specs in order to be able to quickly identify them and avoid confusion. Change-Id: I0fc646e5354d78283a2f3e1b9bb9c4688cf744a1 --- M epdg/gen_links.sh A library/DIAMETER_rfc5447_Templates.ttcn M library/DIAMETER_ts29_273_Templates.ttcn 3 files changed, 67 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/74/34874/1 diff --git a/epdg/gen_links.sh b/epdg/gen_links.sh index b464203..bc9d90e 100755 --- a/epdg/gen_links.sh +++ b/epdg/gen_links.sh @@ -42,7 +42,7 @@ FILES+="Osmocom_CTRL_Types.ttcn " FILES+="L3_Common.ttcn " FILES+="DIAMETER_Types.ttcn DIAMETER_CodecPort.ttcn DIAMETER_CodecPort_CtrlFunct.ttcn DIAMETER_CodecPort_CtrlFunctDef.cc DIAMETER_Emulation.ttcn " -FILES+="DIAMETER_Templates.ttcn DIAMETER_ts29_273_Templates.ttcn " +FILES+="DIAMETER_Templates.ttcn DIAMETER_rfc5447_Templates.ttcn DIAMETER_ts29_273_Templates.ttcn " FILES+="IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcnpp " FILES+="GSUP_Types.ttcn GSUP_Emulation.ttcn " diff --git a/library/DIAMETER_rfc5447_Templates.ttcn b/library/DIAMETER_rfc5447_Templates.ttcn new file mode 100644 index 0000000..4c119c7 --- /dev/null +++ b/library/DIAMETER_rfc5447_Templates.ttcn @@ -0,0 +1,41 @@ +module DIAMETER_rfc5447_Templates { + +/* (C) 2023 by sysmocom s.f.m.c. GmbH <info(a)sysmocom.de + * All rights reserved. + * + * Released under the terms of GNU General Public License, Version 2 or + * (at your option) any later version. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +import from General_Types all; +import from DIAMETER_Types all; +import from DIAMETER_Templates all; +import from Osmocom_Types all; +import from Misc_Helpers all; + +/* 4.2.5. MIP6-Feature-Vector AVP */ +const uint64_t DIA_RFC5447_MIP6_Feature_Vector_MIP6_INTEGRATED := hex2int('0000000000000001'H); +const uint64_t DIA_RFC5447_MIP6_Feature_Vector_LOCAL_HOME_AGENT_ASSIGNMENT := hex2int('0000000000000002'H); + + +/* 4.2.5. MIP6-Feature-Vector AVP */ +template (value) GenericAVP ts_AVP_MIP6FeatureVector(template (value) MIPv6_NONE_MIP6_Feature_Vector inp) := { + avp := { + avp_header := ts_DIA_Hdr(c_AVP_Code_MIPv6_NONE_MIP6_Feature_Vector), + avp_data := { + avp_MIPv6_NONE_MIP6_Feature_Vector := inp + } + } +} +template (present) GenericAVP tr_AVP_MIP6FeatureVector(template (present) MIPv6_NONE_MIP6_Feature_Vector inp := ?) := { + avp := { + avp_header := tr_DIA_Hdr(c_AVP_Code_MIPv6_NONE_MIP6_Feature_Vector), + avp_data := { + avp_MIPv6_NONE_MIP6_Feature_Vector := inp + } + } +} + +} \ No newline at end of file diff --git a/library/DIAMETER_ts29_273_Templates.ttcn b/library/DIAMETER_ts29_273_Templates.ttcn index 5df1cf1..ee0cd89 100644 --- a/library/DIAMETER_ts29_273_Templates.ttcn +++ b/library/DIAMETER_ts29_273_Templates.ttcn @@ -14,6 +14,7 @@ import from General_Types all; import from DIAMETER_Types all; import from DIAMETER_Templates all; +import from DIAMETER_rfc5447_Templates all; import from Osmocom_Types all; import from Misc_Helpers all; @@ -22,6 +23,9 @@ /* 3GPP TS 29.273 Section 9 */ const uint32_t c_DIAMETER_3GPP_S6b_AID := 16777272; +/* 5.2.3.3 MIP6-Feature-Vector bits */ +const uint64_t MIP6_INTEGRATED := '0000000000000001'H; + /******************************* * SWx 3GPP TS 29.273 section 8 *******************************/ @@ -198,6 +202,7 @@ /* TS 29.273 9.2.2.5.1 AA-Request (AAR) */ template (value) PDU_DIAMETER ts_DIA_S6b_AAR(template (value) hexstring imsi, + template (value) MIPv6_NONE_MIP6_Feature_Vector feat_vec, template (value) octetstring sess_id := c_def_sess_id, template (value) charstring orig_host := "pgw.localdomain", template (value) charstring orig_realm := "localdomain", @@ -217,7 +222,8 @@ ts_AVP_OriginRealm(orig_realm), ts_AVP_DestinationRealm(dest_realm), ts_AVP_AuthRequestType(AUTHORIZE_ONLY), - ts_AVP_UserNameImsi(valueof(imsi)) + ts_AVP_UserNameImsi(valueof(imsi)), + ts_AVP_MIP6FeatureVector() /* TODO: Lots other optional */ }); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34874?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I0fc646e5354d78283a2f3e1b9bb9c4688cf744a1 Gerrit-Change-Number: 34874 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[L] Change in osmo-ttcn3-hacks[master]: library/DIAMETER: Split TS 29.273 templates into its own file
by pespin 23 Oct '23

23 Oct '23
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34872?usp=email ) Change subject: library/DIAMETER: Split TS 29.273 templates into its own file ...................................................................... library/DIAMETER: Split TS 29.273 templates into its own file The templates are added in a new separate file with the aim of starting splitting the tons of AVPs originating from different specs in order to be able to quickly identify them and avoid confusion. Change-Id: I77f917404dd70559b2b2cc62199ed70289ab0825 --- M epdg/EPDG_Tests.ttcn M epdg/gen_links.sh M library/DIAMETER_Templates.ttcn A library/DIAMETER_ts29_273_Templates.ttcn 4 files changed, 264 insertions(+), 228 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/72/34872/1 diff --git a/epdg/EPDG_Tests.ttcn b/epdg/EPDG_Tests.ttcn index 76fd45e..396ca0e 100644 --- a/epdg/EPDG_Tests.ttcn +++ b/epdg/EPDG_Tests.ttcn @@ -12,6 +12,7 @@ import from DIAMETER_Types all; import from DIAMETER_Templates all; +import from DIAMETER_ts29_273_Templates all; import from DIAMETER_Emulation all; import from GTPv2_Types all; diff --git a/epdg/gen_links.sh b/epdg/gen_links.sh index 326d82e..b464203 100755 --- a/epdg/gen_links.sh +++ b/epdg/gen_links.sh @@ -41,7 +41,8 @@ FILES="Misc_Helpers.ttcn General_Types.ttcn GSM_Types.ttcn Osmocom_Types.ttcn Native_Functions.ttcn Native_FunctionDefs.cc " FILES+="Osmocom_CTRL_Types.ttcn " FILES+="L3_Common.ttcn " -FILES+="DIAMETER_Types.ttcn DIAMETER_CodecPort.ttcn DIAMETER_CodecPort_CtrlFunct.ttcn DIAMETER_CodecPort_CtrlFunctDef.cc DIAMETER_Emulation.ttcn DIAMETER_Templates.ttcn " +FILES+="DIAMETER_Types.ttcn DIAMETER_CodecPort.ttcn DIAMETER_CodecPort_CtrlFunct.ttcn DIAMETER_CodecPort_CtrlFunctDef.cc DIAMETER_Emulation.ttcn " +FILES+="DIAMETER_Templates.ttcn DIAMETER_ts29_273_Templates.ttcn " FILES+="IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcnpp " FILES+="GSUP_Types.ttcn GSUP_Emulation.ttcn " diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn index f46bf37..3b4590e 100644 --- a/library/DIAMETER_Templates.ttcn +++ b/library/DIAMETER_Templates.ttcn @@ -125,10 +125,6 @@ const uint32_t c_DIAMETER_3GPP_S6_AID := 16777251; const uint32_t c_DIAMETER_3GPP_S13_AID := 16777252; const uint32_t c_DIAMETER_3GPP_S7_AID := 16777308; -/* 3GPP TS 29.273 Section 8.2 */ -const uint32_t c_DIAMETER_3GPP_SWx_AID := 16777265; -/* 3GPP TS 29.273 Section 9 */ -const uint32_t c_DIAMETER_3GPP_S6b_AID := 16777272; const octetstring c_def_sess_id := char2oct("ttcn3.session"); @@ -2306,227 +2302,4 @@ } } -/******************************* - * SWx 3GPP TS 29.273 section 8 - *******************************/ - -/* SIP-Auth-Data-Item , 3GPP TS 29.273 8.2.3.9 */ -template (present) GenericAVP tr_AVP_3GPP_SIPAuthDataItem(template (present) uint32_t num := ?) := { - avp := { - avp_header := tr_DIA_Hdr_3GPP(c_AVP_Code_CxDx_3GPP_SIP_Auth_Data_Item), - avp_data := { - avp_CxDx_3GPP_SIP_Auth_Data_Item := superset( - //tr_AVP_3GPP_SIPItemNumber(num), /* Optional */ - tr_AVP_3GPP_SIPAuthScheme(?)//, /* Optional */ - //tr_AVP_3GPP_SIPAuthenticate(?), /* Optional */ - //tr_AVP_3GPP_SIPAuthorization(?), /* Optional */ - //tr_AVP_3GPP_SIPAuthContext(?), /* Optional */ - //tr_AVP_3GPP_ConfidentialityKey(?), /* Optional */ - //tr_AVP_3GPP_IntegrityKey(?) /* Optional */ - /* TODO: - [ SIP-Digest-Authenticate ] - [ Framed-IP-Address ] - [ Framed-IPv6-Prefix ] - [ Framed-Interface-Id ] - [ Line-Identifier ] - *[AVP] - */ - ) - } - } -} -template (value) GenericAVP ts_AVP_3GPP_SIPAuthDataItem(uint32_t num, OCT16 rand, OCT16 ik, OCT16 ck, OCT16 autn, OCT14 auts) := { - avp := { - avp_header := ts_DIA_Hdr_3GPP(c_AVP_Code_CxDx_3GPP_SIP_Auth_Data_Item), - avp_data := { - avp_CxDx_3GPP_SIP_Auth_Data_Item := { - ts_AVP_3GPP_SIPItemNumber(num), - ts_AVP_3GPP_SIPAuthScheme(char2oct("Digest-AKAv1-MD5")), - ts_AVP_3GPP_SIPAuthenticate(rand & autn), - ts_AVP_3GPP_SIPAuthorization(rand & auts), - ts_AVP_3GPP_SIPAuthContext(char2oct("foobar")), - ts_AVP_3GPP_ConfidentialityKey(ck), - ts_AVP_3GPP_IntegrityKey(ik) - /* TODO: - [ SIP-Digest-Authenticate ] - [ Framed-IP-Address ] - [ Framed-IPv6-Prefix ] - [ Framed-Interface-Id ] - [ Line-Identifier ] - *[AVP] - */ - } - } - } -} - -/* Multimedia-Auth-Request, 3GPP TS 29.273 8.2.2.1 Authentication Procedure */ -template (present) PDU_DIAMETER -tr_DIA_SWx_MAR(template (present) hexstring imsi := ?, - template (present) octetstring sess_id := ?, - template (present) charstring orig_host := ?, - template (present) charstring orig_realm := ?, - template (present) charstring dest_realm := ?, - template (present) UINT32 hbh_id := ?, - template (present) UINT32 ete_id := ?) := - tr_DIAMETER(flags := '1???????'B, - cmd_code := Multimedia_Auth, - app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), - hbh_id := hbh_id, ete_id := ete_id, - avps := superset( - tr_AVP_SessionId(sess_id), - tr_AVP_VendorSpecAppId(?, ?), - tr_AVP_AuthSessionState(NO_STATE_MAINTAINED), - tr_AVP_OriginHost(orig_host), - tr_AVP_OriginRealm(orig_realm), - tr_AVP_DestinationRealm(dest_realm), - tr_AVP_UserNameImsi(imsi), - tr_AVP_3GPP_SIPAuthDataItem(?), - tr_AVP_3GPP_SIPNumAuthDataItems(?) - )); - -/* Multimedia-Auth-Answer, 3GPP TS 29.273 8.2.2.1 Authentication Procedure */ -template (value) PDU_DIAMETER -ts_DIA_SWx_MAA(template (value) hexstring imsi, - template (value) GenericAVP sip_auth_data_item, - template (value) uint32_t vendor_app_id := c_DIAMETER_3GPP_SWx_AID, - template (value) octetstring sess_id := c_def_sess_id, - template (value) charstring orig_host := "hss.localdomain", - template (value) charstring orig_realm := "localdomain", - template (value) UINT32 hbh_id := '00000000'O, - template (value) UINT32 ete_id := '00000000'O) := - ts_DIAMETER(flags := '01000000'B, - cmd_code := Multimedia_Auth, - app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), - hbh_id := hbh_id, - ete_id := ete_id, - avps := { - ts_AVP_SessionId(sess_id), - ts_AVP_VendorSpecAppId(vendor_id_3GPP, valueof(vendor_app_id)), - ts_AVP_ResultCode(DIAMETER_SUCCESS), - ts_AVP_AuthSessionState(NO_STATE_MAINTAINED), - ts_AVP_OriginHost(orig_host), - ts_AVP_OriginRealm(orig_realm), - ts_AVP_UserNameImsi(valueof(imsi)), - sip_auth_data_item, - ts_AVP_3GPP_SIPNumAuthDataItems(1) - }); - -/* Server-Assignment-Request, - * 3GPP TS 29.273 8.1.2.2.2 UE/PDN Registration/DeRegistration Notification - * 3GPP TS 29.273 8.2.2.3 Non-3GPP IP Access Registration Procedure */ -template (present) PDU_DIAMETER -tr_DIA_SWx_SAR(template (present) hexstring imsi := ?, - template (present) octetstring sess_id := ?, - template (present) charstring orig_host := ?, - template (present) charstring orig_realm := ?, - template (present) charstring dest_realm := ?, - template (present) UINT32 hbh_id := ?, - template (present) UINT32 ete_id := ?, - template (present) CxDx_3GPP_Server_Assignment_Type server_ass_type := ?, - template (present) charstring service_selection := ?) := - tr_DIAMETER(flags := '1???????'B, - cmd_code := Server_Assignment, - app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), - hbh_id := hbh_id, ete_id := ete_id, - avps := superset( - tr_AVP_SessionId(sess_id), - tr_AVP_VendorSpecAppId(?, ?), - tr_AVP_AuthSessionState(NO_STATE_MAINTAINED), - tr_AVP_OriginHost(orig_host), - tr_AVP_OriginRealm(orig_realm), - tr_AVP_DestinationRealm(dest_realm), - tr_AVP_UserNameImsi(imsi), - tr_AVP_3GPP_ServerAssignmentType(server_ass_type), - tr_AVP_ServiceSelection(service_selection) - )); - -/* Server-Assignment-Answer, - * 3GPP TS 29.273 8.1.2.2.2 UE/PDN Registration/DeRegistration Notification - * 3GPP TS 29.273 8.2.2.3 Non-3GPP IP Access Registration Procedure */ -template (value) PDU_DIAMETER -ts_DIA_SWx_SAA(template (value) hexstring imsi, - template (value) uint32_t vendor_app_id := c_DIAMETER_3GPP_SWx_AID, - template (value) octetstring sess_id := c_def_sess_id, - template (value) charstring orig_host := "hss.localdomain", - template (value) charstring orig_realm := "localdomain", - template (value) UINT32 hbh_id := '00000000'O, - template (value) UINT32 ete_id := '00000000'O) := - ts_DIAMETER(flags := '01000000'B, - cmd_code := Server_Assignment, - app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), - hbh_id := hbh_id, - ete_id := ete_id, - avps := { - ts_AVP_SessionId(sess_id), - ts_AVP_VendorSpecAppId(vendor_id_3GPP, valueof(vendor_app_id)), - ts_AVP_ResultCode(DIAMETER_SUCCESS), - ts_AVP_AuthSessionState(NO_STATE_MAINTAINED), - ts_AVP_OriginHost(orig_host), - ts_AVP_OriginRealm(orig_realm), - ts_AVP_UserNameImsi(valueof(imsi)) - /* TODO: - * [ Non-3GPP-User-Data ] - * [ 3GPP-AAA-Server-Name ] - * [ OC-Supported-Features ] - * [ OC-OLR ] ] - * *[ Load ] - * *[ Supported-Features ] - */ - }); - -/******************************* - * S6b 3GPP TS 29.273 section 9 - *******************************/ - - /* TS 29.273 9.2.2.5.1 AA-Request (AAR) */ -template (value) PDU_DIAMETER -ts_DIA_S6b_AAR(template (value) hexstring imsi, - template (value) octetstring sess_id := c_def_sess_id, - template (value) charstring orig_host := "pgw.localdomain", - template (value) charstring orig_realm := "localdomain", - template (value) charstring dest_realm := "localdomain", - template (value) UINT32 hbh_id := '00000000'O, - template (value) UINT32 ete_id := '00000000'O) := - ts_DIAMETER(flags := '11000000'B, - cmd_code := Authorize_Authenticate, - app_id := int2oct(c_DIAMETER_3GPP_S6b_AID, 4), - hbh_id := hbh_id, - ete_id := ete_id, - avps := { - ts_AVP_SessionId(sess_id), - /* Optional: DRMP, */ - ts_AVP_AuthAppId(int2oct(c_DIAMETER_3GPP_S6b_AID, 4)), - ts_AVP_OriginHost(orig_host), - ts_AVP_OriginRealm(orig_realm), - ts_AVP_DestinationRealm(dest_realm), - ts_AVP_AuthRequestType(AUTHORIZE_ONLY), - ts_AVP_UserNameImsi(valueof(imsi)) - /* TODO: Lots other optional */ - }); - -/* TS 29.273 9.2.2.2.2 AA-Answer (AAA) */ -template (present) PDU_DIAMETER -tr_DIA_S6b_AAA(template (present) octetstring sess_id := ?, - template (present) charstring orig_host := ?, - template (present) charstring orig_realm := ?, - template (present) charstring dest_realm := ?, - template (present) UINT32 hbh_id := ?, - template (present) UINT32 ete_id := ?, - template (present) CxDx_3GPP_Server_Assignment_Type server_ass_type := ?, - template (present) charstring service_selection := ?) := - tr_DIAMETER(flags := '0???????'B, - cmd_code := Authorize_Authenticate, - app_id := int2oct(c_DIAMETER_3GPP_S6b_AID, 4), - hbh_id := hbh_id, ete_id := ete_id, - avps := superset( - tr_AVP_SessionId(sess_id), - /* Optional: DRMP, */ - tr_AVP_AuthAppId(int2oct(c_DIAMETER_3GPP_S6b_AID, 4)), - tr_AVP_AuthRequestType(AUTHORIZE_ONLY), - tr_AVP_ResultCode(DIAMETER_SUCCESS), - tr_AVP_OriginHost(orig_host), - tr_AVP_OriginRealm(orig_realm) - )); - } diff --git a/library/DIAMETER_ts29_273_Templates.ttcn b/library/DIAMETER_ts29_273_Templates.ttcn new file mode 100644 index 0000000..5df1cf1 --- /dev/null +++ b/library/DIAMETER_ts29_273_Templates.ttcn @@ -0,0 +1,248 @@ +module DIAMETER_ts29_273_Templates { + +/* (C) 2023 by sysmocom s.f.m.c. GmbH <info(a)sysmocom.de + * All rights reserved. + * + * Released under the terms of GNU General Public License, Version 2 or + * (at your option) any later version. + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Templates for AVPs and messages for TS 29.273 + */ + +import from General_Types all; +import from DIAMETER_Types all; +import from DIAMETER_Templates all; +import from Osmocom_Types all; +import from Misc_Helpers all; + +/* 3GPP TS 29.273 Section 8.2 */ +const uint32_t c_DIAMETER_3GPP_SWx_AID := 16777265; +/* 3GPP TS 29.273 Section 9 */ +const uint32_t c_DIAMETER_3GPP_S6b_AID := 16777272; + +/******************************* + * SWx 3GPP TS 29.273 section 8 + *******************************/ + +/* SIP-Auth-Data-Item , 3GPP TS 29.273 8.2.3.9 */ +template (present) GenericAVP tr_AVP_3GPP_SIPAuthDataItem(template (present) uint32_t num := ?) := { + avp := { + avp_header := tr_DIA_Hdr_3GPP(c_AVP_Code_CxDx_3GPP_SIP_Auth_Data_Item), + avp_data := { + avp_CxDx_3GPP_SIP_Auth_Data_Item := superset( + //tr_AVP_3GPP_SIPItemNumber(num), /* Optional */ + tr_AVP_3GPP_SIPAuthScheme(?)//, /* Optional */ + //tr_AVP_3GPP_SIPAuthenticate(?), /* Optional */ + //tr_AVP_3GPP_SIPAuthorization(?), /* Optional */ + //tr_AVP_3GPP_SIPAuthContext(?), /* Optional */ + //tr_AVP_3GPP_ConfidentialityKey(?), /* Optional */ + //tr_AVP_3GPP_IntegrityKey(?) /* Optional */ + /* TODO: + [ SIP-Digest-Authenticate ] + [ Framed-IP-Address ] + [ Framed-IPv6-Prefix ] + [ Framed-Interface-Id ] + [ Line-Identifier ] + *[AVP] + */ + ) + } + } +} +template (value) GenericAVP ts_AVP_3GPP_SIPAuthDataItem(uint32_t num, OCT16 rand, OCT16 ik, OCT16 ck, OCT16 autn, OCT14 auts) := { + avp := { + avp_header := ts_DIA_Hdr_3GPP(c_AVP_Code_CxDx_3GPP_SIP_Auth_Data_Item), + avp_data := { + avp_CxDx_3GPP_SIP_Auth_Data_Item := { + ts_AVP_3GPP_SIPItemNumber(num), + ts_AVP_3GPP_SIPAuthScheme(char2oct("Digest-AKAv1-MD5")), + ts_AVP_3GPP_SIPAuthenticate(rand & autn), + ts_AVP_3GPP_SIPAuthorization(rand & auts), + ts_AVP_3GPP_SIPAuthContext(char2oct("foobar")), + ts_AVP_3GPP_ConfidentialityKey(ck), + ts_AVP_3GPP_IntegrityKey(ik) + /* TODO: + [ SIP-Digest-Authenticate ] + [ Framed-IP-Address ] + [ Framed-IPv6-Prefix ] + [ Framed-Interface-Id ] + [ Line-Identifier ] + *[AVP] + */ + } + } + } +} + +/* Multimedia-Auth-Request, 3GPP TS 29.273 8.2.2.1 Authentication Procedure */ +template (present) PDU_DIAMETER +tr_DIA_SWx_MAR(template (present) hexstring imsi := ?, + template (present) octetstring sess_id := ?, + template (present) charstring orig_host := ?, + template (present) charstring orig_realm := ?, + template (present) charstring dest_realm := ?, + template (present) UINT32 hbh_id := ?, + template (present) UINT32 ete_id := ?) := + tr_DIAMETER(flags := '1???????'B, + cmd_code := Multimedia_Auth, + app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), + hbh_id := hbh_id, ete_id := ete_id, + avps := superset( + tr_AVP_SessionId(sess_id), + tr_AVP_VendorSpecAppId(?, ?), + tr_AVP_AuthSessionState(NO_STATE_MAINTAINED), + tr_AVP_OriginHost(orig_host), + tr_AVP_OriginRealm(orig_realm), + tr_AVP_DestinationRealm(dest_realm), + tr_AVP_UserNameImsi(imsi), + tr_AVP_3GPP_SIPAuthDataItem(?), + tr_AVP_3GPP_SIPNumAuthDataItems(?) + )); + +/* Multimedia-Auth-Answer, 3GPP TS 29.273 8.2.2.1 Authentication Procedure */ +template (value) PDU_DIAMETER +ts_DIA_SWx_MAA(template (value) hexstring imsi, + template (value) GenericAVP sip_auth_data_item, + template (value) uint32_t vendor_app_id := c_DIAMETER_3GPP_SWx_AID, + template (value) octetstring sess_id := c_def_sess_id, + template (value) charstring orig_host := "hss.localdomain", + template (value) charstring orig_realm := "localdomain", + template (value) UINT32 hbh_id := '00000000'O, + template (value) UINT32 ete_id := '00000000'O) := + ts_DIAMETER(flags := '01000000'B, + cmd_code := Multimedia_Auth, + app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), + hbh_id := hbh_id, + ete_id := ete_id, + avps := { + ts_AVP_SessionId(sess_id), + ts_AVP_VendorSpecAppId(vendor_id_3GPP, valueof(vendor_app_id)), + ts_AVP_ResultCode(DIAMETER_SUCCESS), + ts_AVP_AuthSessionState(NO_STATE_MAINTAINED), + ts_AVP_OriginHost(orig_host), + ts_AVP_OriginRealm(orig_realm), + ts_AVP_UserNameImsi(valueof(imsi)), + sip_auth_data_item, + ts_AVP_3GPP_SIPNumAuthDataItems(1) + }); + +/* Server-Assignment-Request, + * 3GPP TS 29.273 8.1.2.2.2 UE/PDN Registration/DeRegistration Notification + * 3GPP TS 29.273 8.2.2.3 Non-3GPP IP Access Registration Procedure */ +template (present) PDU_DIAMETER +tr_DIA_SWx_SAR(template (present) hexstring imsi := ?, + template (present) octetstring sess_id := ?, + template (present) charstring orig_host := ?, + template (present) charstring orig_realm := ?, + template (present) charstring dest_realm := ?, + template (present) UINT32 hbh_id := ?, + template (present) UINT32 ete_id := ?, + template (present) CxDx_3GPP_Server_Assignment_Type server_ass_type := ?, + template (present) charstring service_selection := ?) := + tr_DIAMETER(flags := '1???????'B, + cmd_code := Server_Assignment, + app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), + hbh_id := hbh_id, ete_id := ete_id, + avps := superset( + tr_AVP_SessionId(sess_id), + tr_AVP_VendorSpecAppId(?, ?), + tr_AVP_AuthSessionState(NO_STATE_MAINTAINED), + tr_AVP_OriginHost(orig_host), + tr_AVP_OriginRealm(orig_realm), + tr_AVP_DestinationRealm(dest_realm), + tr_AVP_UserNameImsi(imsi), + tr_AVP_3GPP_ServerAssignmentType(server_ass_type), + tr_AVP_ServiceSelection(service_selection) + )); + +/* Server-Assignment-Answer, + * 3GPP TS 29.273 8.1.2.2.2 UE/PDN Registration/DeRegistration Notification + * 3GPP TS 29.273 8.2.2.3 Non-3GPP IP Access Registration Procedure */ +template (value) PDU_DIAMETER +ts_DIA_SWx_SAA(template (value) hexstring imsi, + template (value) uint32_t vendor_app_id := c_DIAMETER_3GPP_SWx_AID, + template (value) octetstring sess_id := c_def_sess_id, + template (value) charstring orig_host := "hss.localdomain", + template (value) charstring orig_realm := "localdomain", + template (value) UINT32 hbh_id := '00000000'O, + template (value) UINT32 ete_id := '00000000'O) := + ts_DIAMETER(flags := '01000000'B, + cmd_code := Server_Assignment, + app_id := int2oct(c_DIAMETER_3GPP_SWx_AID, 4), + hbh_id := hbh_id, + ete_id := ete_id, + avps := { + ts_AVP_SessionId(sess_id), + ts_AVP_VendorSpecAppId(vendor_id_3GPP, valueof(vendor_app_id)), + ts_AVP_ResultCode(DIAMETER_SUCCESS), + ts_AVP_AuthSessionState(NO_STATE_MAINTAINED), + ts_AVP_OriginHost(orig_host), + ts_AVP_OriginRealm(orig_realm), + ts_AVP_UserNameImsi(valueof(imsi)) + /* TODO: + * [ Non-3GPP-User-Data ] + * [ 3GPP-AAA-Server-Name ] + * [ OC-Supported-Features ] + * [ OC-OLR ] ] + * *[ Load ] + * *[ Supported-Features ] + */ + }); + +/******************************* + * S6b 3GPP TS 29.273 section 9 + *******************************/ + + /* TS 29.273 9.2.2.5.1 AA-Request (AAR) */ +template (value) PDU_DIAMETER +ts_DIA_S6b_AAR(template (value) hexstring imsi, + template (value) octetstring sess_id := c_def_sess_id, + template (value) charstring orig_host := "pgw.localdomain", + template (value) charstring orig_realm := "localdomain", + template (value) charstring dest_realm := "localdomain", + template (value) UINT32 hbh_id := '00000000'O, + template (value) UINT32 ete_id := '00000000'O) := + ts_DIAMETER(flags := '11000000'B, + cmd_code := Authorize_Authenticate, + app_id := int2oct(c_DIAMETER_3GPP_S6b_AID, 4), + hbh_id := hbh_id, + ete_id := ete_id, + avps := { + ts_AVP_SessionId(sess_id), + /* Optional: DRMP, */ + ts_AVP_AuthAppId(int2oct(c_DIAMETER_3GPP_S6b_AID, 4)), + ts_AVP_OriginHost(orig_host), + ts_AVP_OriginRealm(orig_realm), + ts_AVP_DestinationRealm(dest_realm), + ts_AVP_AuthRequestType(AUTHORIZE_ONLY), + ts_AVP_UserNameImsi(valueof(imsi)) + /* TODO: Lots other optional */ + }); + +/* TS 29.273 9.2.2.2.2 AA-Answer (AAA) */ +template (present) PDU_DIAMETER +tr_DIA_S6b_AAA(template (present) octetstring sess_id := ?, + template (present) charstring orig_host := ?, + template (present) charstring orig_realm := ?, + template (present) charstring dest_realm := ?, + template (present) UINT32 hbh_id := ?, + template (present) UINT32 ete_id := ?, + template (present) CxDx_3GPP_Server_Assignment_Type server_ass_type := ?, + template (present) charstring service_selection := ?) := + tr_DIAMETER(flags := '0???????'B, + cmd_code := Authorize_Authenticate, + app_id := int2oct(c_DIAMETER_3GPP_S6b_AID, 4), + hbh_id := hbh_id, ete_id := ete_id, + avps := superset( + tr_AVP_SessionId(sess_id), + /* Optional: DRMP, */ + tr_AVP_AuthAppId(int2oct(c_DIAMETER_3GPP_S6b_AID, 4)), + tr_AVP_AuthRequestType(AUTHORIZE_ONLY), + tr_AVP_ResultCode(DIAMETER_SUCCESS), + tr_AVP_OriginHost(orig_host), + tr_AVP_OriginRealm(orig_realm) + )); + +} -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34872?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I77f917404dd70559b2b2cc62199ed70289ab0825 Gerrit-Change-Number: 34872 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: DIAMETER_Types: Generate fields from RFC 5447
by pespin 23 Oct '23

23 Oct '23
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34873?usp=email ) Change subject: DIAMETER_Types: Generate fields from RFC 5447 ...................................................................... DIAMETER_Types: Generate fields from RFC 5447 S6b Diameter interface (TS 29.273 section 9) uses the MIP6-Feature-Vector, which according to TS 29.273 9.2.3.2.3 is defined in RFC 5447. Related: OS#6229 Change-Id: I478eff657d876d4ec9a5a1906cab48fbaaaae1b9 --- M library/DIAMETER_Types.ttcn M library/regen-DIAMETER_Types_ttcn.sh 2 files changed, 109 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/73/34873/1 diff --git a/library/DIAMETER_Types.ttcn b/library/DIAMETER_Types.ttcn index ee2910b..3a7b3b6 100644 --- a/library/DIAMETER_Types.ttcn +++ b/library/DIAMETER_Types.ttcn @@ -4,7 +4,7 @@ // // /////////////////////////////////////////////////// // Generated with command: -// AVP.sh Base_IETF_RFC3588.ddf BaseTypes_IETF_RFC3588.ddf AAAInterface_3GPP_TS29272_f10.ddf GxInterface_PCC_3GPP_TS29212_f10.ddf S6Interfaces_3GPP_TS29336_f00.ddf MobileIPv6_HA_IETF_RFC5778.ddf RxInterface_PCC_3GPP_TS29214_f20.ddf NetworkAccessServer_IETF_RFC4005.ddf CreditControl_IETF_RFC4006.ddf CxDxInterface_3GPP_TS29229_c30.ddf GiSGiInterface_3GPP_TS29061_d70.ddf ChargingApplications_3GPP_TS32299_d90.ddf +// AVP.sh Base_IETF_RFC3588.ddf BaseTypes_IETF_RFC3588.ddf AAAInterface_3GPP_TS29272_f10.ddf GxInterface_PCC_3GPP_TS29212_f10.ddf S6Interfaces_3GPP_TS29336_f00.ddf MobileIPv6_HA_IETF_RFC5778.ddf RxInterface_PCC_3GPP_TS29214_f20.ddf NetworkAccessServer_IETF_RFC4005.ddf CreditControl_IETF_RFC4006.ddf CxDxInterface_3GPP_TS29229_c30.ddf GiSGiInterface_3GPP_TS29061_d70.ddf ChargingApplications_3GPP_TS32299_d90.ddf MobileIPv6_NAS_IETF_RFC5447.ddf module DIAMETER_Types { /****************************************************************************** * Copyright (c) 2000-2019 Ericsson Telecom AB @@ -8294,8 +8294,73 @@ type AVP_Unsigned32 DCA_3GPP_Volume_Quota_Threshold -// STATISTICS: 1121 AVP descriptors found -// STATISTICS: 1121 AVP type definitions matching AVP descriptors found +/****************************************************************************** +* Copyright (c) 2000-2019 Ericsson Telecom AB +* All rights reserved. This program and the accompanying materials +* are made available under the terms of the Eclipse Public License v2.0 +* which accompanies this distribution, and is available at +* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html +* +* Contributors: +* Roland Gecse - initial implementation and initial documentation +* Akos Pernek +* Antal Wuh.Hen.Chang +* Attila Fulop +* Balazs Barcsik +* Bence Molnar +* Csaba Koppany +* David Juhasz +* Eduard Czimbalmos +* Elemer Lelik +* Endre Kiss +* Endre Kulcsar +* Gabor Szalai +* Gabor Tatarka +* Gergely Futo +* Istvan Sandor +* Krisztian Pandi +* Kulcsár Endre +* Laszlo Tamas Zeke +* Norbert Pinter +* Roland Gecse +* Tibor Bende +* Tibor Szabo +* Timea Moder +* Zoltan Medve +* Zsolt Nandor Torok +* Zsolt Szalai +******************************************************************************/ +// +// File: MobileIPv6_NAS_IETF_RFC5447.ddf +// Description: DDF for Mobile IPv6 according to RFC 5447 +// Rev: R55A +// Prodnr: CNL113462 +/////////////////////////////////////////////// + +// APPLICATION-NAME: MIPv6 +// APPLICATION-REVISION: RFC5447 + +// RFC 5447 4.2.1 +// AVP: MIP6-Agent-Info (486) +type AVP_Grouped MIPv6_NONE_MIP6_Agent_Info + +// RFC 5447 4.2.2 +// AVP: MIP6-Home-Agent-Address (334) +type AVP_Address MIPv6_NONE_MIP6_Home_Agent_Address + +// RFC 5447 4.2.3 +// AVP: MIP6-Home-Agent-Host (348) +type AVP_Grouped MIPv6_NONE_MIP6_Home_Agent_Host + +// RFC 5447 4.2.4 +// AVP: MIP6-Home-Link-Prefix (125) +type AVP_OctetString MIPv6_NONE_MIP6_Home_Link_Prefix + +// RFC 5447 4.2.5 +// AVP: MIP6-Feature-Vector (124) +type AVP_Unsigned64 MIPv6_NONE_MIP6_Feature_Vector +// STATISTICS: 1126 AVP descriptors found +// STATISTICS: 1126 AVP type definitions matching AVP descriptors found // STATISTICS: duplicate AVP definitions deleted type enumerated Command_Code { Abort_Session (274), Accounting (271), Capabilities_Exchange (257), Device_Watchdog (280), Disconnect_Peer (282), Re_Auth (258), Session_Termination (275), Experimental1 (16777214), Experimental2 (16777215) , Update_Location (316), Cancel_Location (317), Authentication_Information (318), Insert_Subscriber_Data (319), Delete_Subscriber_Data (320), Purge_UE (321), Reset (322), Notify (323), ME_Identity_Check (324), Update_VCSG_Location (8388638), Cancel_VCSG_Location (8388642), Credit_Control (272), TDF_Session (8388637), Subscriber_Information (8388641), Configuration_Information (8388718), Reporting_Information (8388719), NIDD_Information (8388726), Authorize_Authenticate (265), User_Authorization (300), Server_Assignment (301), Location_Info (302), Multimedia_Auth (303), Registration_Termination (304), Push_Profile (305) @@ -8339,6 +8404,7 @@ avp_code_MIPv6_NONE_MIP_MN_HA_MSA (492), avp_code_DNAS_NONE_Tunnel_Medium_Type (65), avp_code_DCC_NONE_User_Equipment_Info_Type (459), + avp_code_MIPv6_NONE_MIP6_Home_Agent_Address (334), avp_code_MIPv6_NONE_QoS_Resources (508), avp_code_DCC_NONE_Service_Parameter_Value (442), avp_code_MIPv6_NONE_MIP_Session_Key (343), @@ -8368,6 +8434,7 @@ avp_code_DNAS_NONE_Tunnel_Preference (83), avp_code_DCC_NONE_CC_Session_Failover (418), avp_code_BASE_NONE_Proxy_State (33), + avp_code_MIPv6_NONE_MIP6_Agent_Info (486), avp_code_DCC_NONE_Credit_Control_Failure_Handling (427), avp_code_BASE_NONE_Redirect_Max_Cache_Time (262), avp_code_DCC_NONE_Requested_Action (436), @@ -8454,6 +8521,7 @@ avp_code_DNAS_NONE_CHAP_Algorithm (403), avp_code_DCC_NONE_CC_Input_Octets (412), avp_code_BASE_NONE_Destination_Realm (283), + avp_code_MIPv6_NONE_MIP6_Home_Link_Prefix (125), avp_code_DNAS_NONE_Login_LAT_Port (63), avp_code_DCC_NONE_G_S_U_Pool_Reference (457), avp_code_MIPv6_NONE_Chargable_User_Identity (89), @@ -8502,8 +8570,10 @@ avp_code_DCC_NONE_Service_Context_Id (461), avp_code_DNAS_NONE_CHAP_Auth (402), avp_code_BASE_NONE_Inband_Security_Id (299), + avp_code_MIPv6_NONE_MIP6_Home_Agent_Host (348), avp_code_DCC_NONE_CC_Correlation_Id (411), avp_code_BASE_NONE_Route_Record (282), + avp_code_MIPv6_NONE_MIP6_Feature_Vector (124), avp_code_DNAS_NONE_Port_Limit (62), avp_code_DCC_NONE_Multiple_Services_Credit_Control (456), avp_code_BASE_NONE_Authorization_Lifetime (291), @@ -9577,6 +9647,7 @@ S6_3GPP_Loss_Of_Connectivity_Reason avp_S6_3GPP_Loss_Of_Connectivity_Reason, DCA_3GPP_Originator avp_DCA_3GPP_Originator, DCC_NONE_User_Equipment_Info_Type avp_DCC_NONE_User_Equipment_Info_Type, + MIPv6_NONE_MIP6_Home_Agent_Address avp_MIPv6_NONE_MIP6_Home_Agent_Address, RX_3GPP_Flow_Number avp_RX_3GPP_Flow_Number, PCC_3GPP_Resource_Allocation_Notification avp_PCC_3GPP_Resource_Allocation_Notification, DCA_3GPP_Basic_Service_Code avp_DCA_3GPP_Basic_Service_Code, @@ -9750,6 +9821,7 @@ DCA_3GPP_ProSe_Request_Timestamp avp_DCA_3GPP_ProSe_Request_Timestamp, DCA_3GPP_PoC_Session_Id avp_DCA_3GPP_PoC_Session_Id, BASE_NONE_Proxy_State avp_BASE_NONE_Proxy_State, + MIPv6_NONE_MIP6_Agent_Info avp_MIPv6_NONE_MIP6_Agent_Info, DCA_3GPP_PoC_Server_Role avp_DCA_3GPP_PoC_Server_Role, DCA_3GPP_Forwarding_Pending avp_DCA_3GPP_Forwarding_Pending, DCC_NONE_Credit_Control_Failure_Handling avp_DCC_NONE_Credit_Control_Failure_Handling, @@ -10243,6 +10315,7 @@ CxDx_3GPP_SIP_Item_Number avp_CxDx_3GPP_SIP_Item_Number, PCC_3GPP_Session_Release_Cause avp_PCC_3GPP_Session_Release_Cause, AAA_3GPP_MDT_User_Consent avp_AAA_3GPP_MDT_User_Consent, + MIPv6_NONE_MIP6_Home_Link_Prefix avp_MIPv6_NONE_MIP6_Home_Link_Prefix, DNAS_NONE_Login_LAT_Port avp_DNAS_NONE_Login_LAT_Port, S6_3GPP_HSS_Cause avp_S6_3GPP_HSS_Cause, DCC_NONE_G_S_U_Pool_Reference avp_DCC_NONE_G_S_U_Pool_Reference, @@ -10497,6 +10570,7 @@ CxDx_3GPP_User_Data_Already_Available avp_CxDx_3GPP_User_Data_Already_Available, AAA_3GPP_MME_Number_for_MT_SMS avp_AAA_3GPP_MME_Number_for_MT_SMS, PCC_3GPP_Security_Parameter_Index avp_PCC_3GPP_Security_Parameter_Index, + MIPv6_NONE_MIP6_Home_Agent_Host avp_MIPv6_NONE_MIP6_Home_Agent_Host, DCC_NONE_CC_Correlation_Id avp_DCC_NONE_CC_Correlation_Id, PCC_3GPP_Traffic_Steering_Policy_Identifier_UL avp_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL, BASE_NONE_Route_Record avp_BASE_NONE_Route_Record, @@ -10505,6 +10579,7 @@ DCA_3GPP_MMTel_Information avp_DCA_3GPP_MMTel_Information, CxDx_3GPP_Mandatory_Capability avp_CxDx_3GPP_Mandatory_Capability, AAA_3GPP_Trace_NE_Type_List avp_AAA_3GPP_Trace_NE_Type_List, + MIPv6_NONE_MIP6_Feature_Vector avp_MIPv6_NONE_MIP6_Feature_Vector, DCA_3GPP_Charging_Characteristics_Selection_Mode avp_DCA_3GPP_Charging_Characteristics_Selection_Mode, DNAS_NONE_Port_Limit avp_DNAS_NONE_Port_Limit, DCC_NONE_Multiple_Services_Credit_Control avp_DCC_NONE_Multiple_Services_Credit_Control, @@ -10729,6 +10804,7 @@ avp_S6_3GPP_Loss_Of_Connectivity_Reason, avp_header.avp_code.vendor_id_3GPP = avp_code_S6_3GPP_Loss_Of_Connectivity_Reason; avp_DCA_3GPP_Originator, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Originator; avp_DCC_NONE_User_Equipment_Info_Type, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_User_Equipment_Info_Type; + avp_MIPv6_NONE_MIP6_Home_Agent_Address, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Home_Agent_Address; avp_RX_3GPP_Flow_Number, avp_header.avp_code.vendor_id_3GPP = avp_code_RX_3GPP_Flow_Number; avp_PCC_3GPP_Resource_Allocation_Notification, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Resource_Allocation_Notification; avp_DCA_3GPP_Basic_Service_Code, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Basic_Service_Code; @@ -10902,6 +10978,7 @@ avp_DCA_3GPP_ProSe_Request_Timestamp, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_ProSe_Request_Timestamp; avp_DCA_3GPP_PoC_Session_Id, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_PoC_Session_Id; avp_BASE_NONE_Proxy_State, avp_header.avp_code.vendor_id_NONE = avp_code_BASE_NONE_Proxy_State; + avp_MIPv6_NONE_MIP6_Agent_Info, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Agent_Info; avp_DCA_3GPP_PoC_Server_Role, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_PoC_Server_Role; avp_DCA_3GPP_Forwarding_Pending, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Forwarding_Pending; avp_DCC_NONE_Credit_Control_Failure_Handling, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_Credit_Control_Failure_Handling; @@ -11395,6 +11472,7 @@ avp_CxDx_3GPP_SIP_Item_Number, avp_header.avp_code.vendor_id_3GPP = avp_code_CxDx_3GPP_SIP_Item_Number; avp_PCC_3GPP_Session_Release_Cause, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Session_Release_Cause; avp_AAA_3GPP_MDT_User_Consent, avp_header.avp_code.vendor_id_3GPP = avp_code_AAA_3GPP_MDT_User_Consent; + avp_MIPv6_NONE_MIP6_Home_Link_Prefix, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Home_Link_Prefix; avp_DNAS_NONE_Login_LAT_Port, avp_header.avp_code.vendor_id_NONE = avp_code_DNAS_NONE_Login_LAT_Port; avp_S6_3GPP_HSS_Cause, avp_header.avp_code.vendor_id_3GPP = avp_code_S6_3GPP_HSS_Cause; avp_DCC_NONE_G_S_U_Pool_Reference, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_G_S_U_Pool_Reference; @@ -11649,6 +11727,7 @@ avp_CxDx_3GPP_User_Data_Already_Available, avp_header.avp_code.vendor_id_3GPP = avp_code_CxDx_3GPP_User_Data_Already_Available; avp_AAA_3GPP_MME_Number_for_MT_SMS, avp_header.avp_code.vendor_id_3GPP = avp_code_AAA_3GPP_MME_Number_for_MT_SMS; avp_PCC_3GPP_Security_Parameter_Index, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Security_Parameter_Index; + avp_MIPv6_NONE_MIP6_Home_Agent_Host, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Home_Agent_Host; avp_DCC_NONE_CC_Correlation_Id, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_CC_Correlation_Id; avp_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL; avp_BASE_NONE_Route_Record, avp_header.avp_code.vendor_id_NONE = avp_code_BASE_NONE_Route_Record; @@ -11657,6 +11736,7 @@ avp_DCA_3GPP_MMTel_Information, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_MMTel_Information; avp_CxDx_3GPP_Mandatory_Capability, avp_header.avp_code.vendor_id_3GPP = avp_code_CxDx_3GPP_Mandatory_Capability; avp_AAA_3GPP_Trace_NE_Type_List, avp_header.avp_code.vendor_id_3GPP = avp_code_AAA_3GPP_Trace_NE_Type_List; + avp_MIPv6_NONE_MIP6_Feature_Vector, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Feature_Vector; avp_DCA_3GPP_Charging_Characteristics_Selection_Mode, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Charging_Characteristics_Selection_Mode; avp_DNAS_NONE_Port_Limit, avp_header.avp_code.vendor_id_NONE = avp_code_DNAS_NONE_Port_Limit; avp_DCC_NONE_Multiple_Services_Credit_Control, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_Multiple_Services_Credit_Control; @@ -11955,6 +12035,8 @@ vendor_id_3GPP := avp_code_DCA_3GPP_Originator }; const AVP_Code c_AVP_Code_DCC_NONE_User_Equipment_Info_Type := { vendor_id_NONE := avp_code_DCC_NONE_User_Equipment_Info_Type }; +const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Home_Agent_Address := { + vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Home_Agent_Address }; const AVP_Code c_AVP_Code_RX_3GPP_Flow_Number := { vendor_id_3GPP := avp_code_RX_3GPP_Flow_Number }; const AVP_Code c_AVP_Code_PCC_3GPP_Resource_Allocation_Notification := { @@ -12301,6 +12383,8 @@ vendor_id_3GPP := avp_code_DCA_3GPP_PoC_Session_Id }; const AVP_Code c_AVP_Code_BASE_NONE_Proxy_State := { vendor_id_NONE := avp_code_BASE_NONE_Proxy_State }; +const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Agent_Info := { + vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Agent_Info }; const AVP_Code c_AVP_Code_DCA_3GPP_PoC_Server_Role := { vendor_id_3GPP := avp_code_DCA_3GPP_PoC_Server_Role }; const AVP_Code c_AVP_Code_DCA_3GPP_Forwarding_Pending := { @@ -13287,6 +13371,8 @@ vendor_id_3GPP := avp_code_PCC_3GPP_Session_Release_Cause }; const AVP_Code c_AVP_Code_AAA_3GPP_MDT_User_Consent := { vendor_id_3GPP := avp_code_AAA_3GPP_MDT_User_Consent }; +const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Home_Link_Prefix := { + vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Home_Link_Prefix }; const AVP_Code c_AVP_Code_DNAS_NONE_Login_LAT_Port := { vendor_id_NONE := avp_code_DNAS_NONE_Login_LAT_Port }; const AVP_Code c_AVP_Code_S6_3GPP_HSS_Cause := { @@ -13795,6 +13881,8 @@ vendor_id_3GPP := avp_code_AAA_3GPP_MME_Number_for_MT_SMS }; const AVP_Code c_AVP_Code_PCC_3GPP_Security_Parameter_Index := { vendor_id_3GPP := avp_code_PCC_3GPP_Security_Parameter_Index }; +const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Home_Agent_Host := { + vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Home_Agent_Host }; const AVP_Code c_AVP_Code_DCC_NONE_CC_Correlation_Id := { vendor_id_NONE := avp_code_DCC_NONE_CC_Correlation_Id }; const AVP_Code c_AVP_Code_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL := { @@ -13811,6 +13899,8 @@ vendor_id_3GPP := avp_code_CxDx_3GPP_Mandatory_Capability }; const AVP_Code c_AVP_Code_AAA_3GPP_Trace_NE_Type_List := { vendor_id_3GPP := avp_code_AAA_3GPP_Trace_NE_Type_List }; +const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Feature_Vector := { + vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Feature_Vector }; const AVP_Code c_AVP_Code_DCA_3GPP_Charging_Characteristics_Selection_Mode := { vendor_id_3GPP := avp_code_DCA_3GPP_Charging_Characteristics_Selection_Mode }; const AVP_Code c_AVP_Code_DNAS_NONE_Port_Limit := { diff --git a/library/regen-DIAMETER_Types_ttcn.sh b/library/regen-DIAMETER_Types_ttcn.sh index cc8a9b7..49d8194 100755 --- a/library/regen-DIAMETER_Types_ttcn.sh +++ b/library/regen-DIAMETER_Types_ttcn.sh @@ -16,6 +16,7 @@ CreditControl_IETF_RFC4006.ddf \ CxDxInterface_3GPP_TS29229_c30.ddf \ GiSGiInterface_3GPP_TS29061_d70.ddf \ - ChargingApplications_3GPP_TS32299_d90.ddf + ChargingApplications_3GPP_TS32299_d90.ddf \ + MobileIPv6_NAS_IETF_RFC5447.ddf mv -v $AVP_SH_DIR/DIAMETER_Types.ttcn $SELF_DIR/ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34873?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I478eff657d876d4ec9a5a1906cab48fbaaaae1b9 Gerrit-Change-Number: 34873 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: epdg: Tx MIP6-Feature-Vector in s6b AAR msg
by pespin 23 Oct '23

23 Oct '23
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34875?usp=email ) Change subject: epdg: Tx MIP6-Feature-Vector in s6b AAR msg ...................................................................... epdg: Tx MIP6-Feature-Vector in s6b AAR msg This AVP is actually mandatory as per Table 9.1.2.2.1 in TS 29.273. Change-Id: I47e1f7ff583f60d0d16e151dbfe64fbd33fd7774 --- M epdg/EPDG_Tests.ttcn M library/DIAMETER_ts29_273_Templates.ttcn 2 files changed, 19 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/75/34875/1 diff --git a/epdg/EPDG_Tests.ttcn b/epdg/EPDG_Tests.ttcn index 396ca0e..5710d0c 100644 --- a/epdg/EPDG_Tests.ttcn +++ b/epdg/EPDG_Tests.ttcn @@ -375,7 +375,7 @@ */ f_epdg_connhldr_S6b_expect_eteid(ete_id); - S6b.send(ts_DIA_S6b_AAR(g_pars.imsi, hbh_id := hbh_id, ete_id := ete_id)); + S6b.send(ts_DIA_S6b_AAR(g_pars.imsi, int2oct(DIA_TS29_373_MIP6_Feature_Vector_GTPv2_SUPPORTED, 8), hbh_id := hbh_id, ete_id := ete_id)); alt { [] S6b.receive(tr_DIA_S6b_AAA) -> value rx_dia {} [] S6b.receive(PDU_DIAMETER:?) -> value rx_dia { diff --git a/library/DIAMETER_ts29_273_Templates.ttcn b/library/DIAMETER_ts29_273_Templates.ttcn index ee0cd89..3daf299 100644 --- a/library/DIAMETER_ts29_273_Templates.ttcn +++ b/library/DIAMETER_ts29_273_Templates.ttcn @@ -24,7 +24,11 @@ const uint32_t c_DIAMETER_3GPP_S6b_AID := 16777272; /* 5.2.3.3 MIP6-Feature-Vector bits */ -const uint64_t MIP6_INTEGRATED := '0000000000000001'H; +const uint64_t DIA_TS29_373_MIP6_Feature_Vector_PMIP6_SUPPORTED := hex2int('0000010000000000'H); +const uint64_t DIA_TS29_373_MIP6_Feature_Vector_ASSIGN_LOCAL_IP := hex2int('0000080000000000'H); +const uint64_t DIA_TS29_373_MIP6_Feature_Vector_MIP4_SUPPORTED := hex2int('0000100000000000'H); +const uint64_t DIA_TS29_373_MIP6_Feature_Vector_OPTIMIZED_IDLE_MODE_MOBILITY := hex2int('0000200000000000'H); +const uint64_t DIA_TS29_373_MIP6_Feature_Vector_GTPv2_SUPPORTED := hex2int('0000400000000000'H); /******************************* * SWx 3GPP TS 29.273 section 8 @@ -202,7 +206,7 @@ /* TS 29.273 9.2.2.5.1 AA-Request (AAR) */ template (value) PDU_DIAMETER ts_DIA_S6b_AAR(template (value) hexstring imsi, - template (value) MIPv6_NONE_MIP6_Feature_Vector feat_vec, + template (value) MIPv6_NONE_MIP6_Feature_Vector mip6_feat_vec, template (value) octetstring sess_id := c_def_sess_id, template (value) charstring orig_host := "pgw.localdomain", template (value) charstring orig_realm := "localdomain", @@ -223,7 +227,7 @@ ts_AVP_DestinationRealm(dest_realm), ts_AVP_AuthRequestType(AUTHORIZE_ONLY), ts_AVP_UserNameImsi(valueof(imsi)), - ts_AVP_MIP6FeatureVector() + ts_AVP_MIP6FeatureVector(mip6_feat_vec) /* TODO: Lots other optional */ }); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34875?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I47e1f7ff583f60d0d16e151dbfe64fbd33fd7774 Gerrit-Change-Number: 34875 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: epdg: Tx Service-Selection in s6b AAR msg
by pespin 23 Oct '23

23 Oct '23
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34876?usp=email ) Change subject: epdg: Tx Service-Selection in s6b AAR msg ...................................................................... epdg: Tx Service-Selection in s6b AAR msg This AVP is actually mandatory as per Table 9.1.2.2.1 in TS 29.273. Change-Id: I86d01a0f5148e98b7faebbe0e3d7617a6c90b559 --- M epdg/EPDG_Tests.ttcn M library/DIAMETER_ts29_273_Templates.ttcn 2 files changed, 19 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/76/34876/1 diff --git a/epdg/EPDG_Tests.ttcn b/epdg/EPDG_Tests.ttcn index 5710d0c..580d4d4 100644 --- a/epdg/EPDG_Tests.ttcn +++ b/epdg/EPDG_Tests.ttcn @@ -114,6 +114,7 @@ type record EPDG_ConnHdlrPars { hexstring imsi, + charstring apn, charstring ue_ip, /* TEI (Data) local side */ @@ -143,6 +144,7 @@ runs on MTC_CT return EPDG_ConnHdlrPars { var EPDG_ConnHdlrPars pars := { imsi := f_gen_imsi(imsi_suffix), + apn := "internet", ue_ip := "192.168.123.50", teid := '00000000'O, teic := '00000000'O, @@ -375,7 +377,9 @@ */ f_epdg_connhldr_S6b_expect_eteid(ete_id); - S6b.send(ts_DIA_S6b_AAR(g_pars.imsi, int2oct(DIA_TS29_373_MIP6_Feature_Vector_GTPv2_SUPPORTED, 8), hbh_id := hbh_id, ete_id := ete_id)); + S6b.send(ts_DIA_S6b_AAR(g_pars.imsi, + int2oct(DIA_TS29_373_MIP6_Feature_Vector_GTPv2_SUPPORTED, 8), + g_pars.apn, hbh_id := hbh_id, ete_id := ete_id)); alt { [] S6b.receive(tr_DIA_S6b_AAA) -> value rx_dia {} [] S6b.receive(PDU_DIAMETER:?) -> value rx_dia { diff --git a/library/DIAMETER_ts29_273_Templates.ttcn b/library/DIAMETER_ts29_273_Templates.ttcn index 3daf299..38355e7 100644 --- a/library/DIAMETER_ts29_273_Templates.ttcn +++ b/library/DIAMETER_ts29_273_Templates.ttcn @@ -207,6 +207,7 @@ template (value) PDU_DIAMETER ts_DIA_S6b_AAR(template (value) hexstring imsi, template (value) MIPv6_NONE_MIP6_Feature_Vector mip6_feat_vec, + template (value) charstring apn, template (value) octetstring sess_id := c_def_sess_id, template (value) charstring orig_host := "pgw.localdomain", template (value) charstring orig_realm := "localdomain", @@ -227,7 +228,8 @@ ts_AVP_DestinationRealm(dest_realm), ts_AVP_AuthRequestType(AUTHORIZE_ONLY), ts_AVP_UserNameImsi(valueof(imsi)), - ts_AVP_MIP6FeatureVector(mip6_feat_vec) + ts_AVP_MIP6FeatureVector(mip6_feat_vec), + ts_AVP_ServiceSelection(valueof(apn)) /* TODO: Lots other optional */ }); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34876?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I86d01a0f5148e98b7faebbe0e3d7617a6c90b559 Gerrit-Change-Number: 34876 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[M] Change in osmo-msc[master]: manuals: add section about the SGs interface.
by fixeria 23 Oct '23

23 Oct '23
Attention is currently required from: dexter, pespin. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/34870?usp=email ) Change subject: manuals: add section about the SGs interface. ...................................................................... Patch Set 1: (5 comments) File doc/manuals/chapters/running.adoc: https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/39c9ce3f_49db50ec PS1, Line 78: see section <<sgs>> missing dot at the end of sentence File doc/manuals/chapters/sgs.adoc: https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/197f15aa_7a614d0b PS1, Line 5: It's Its (not it is) https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/bf031fab_4426e89d PS1, Line 31: ts5, ts6-2, ts7, ts11, ts14, ts15 cosmetic: use \` text \` for `highlighting` https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/92ec4377_526ea070 PS1, Line 50: show sgs-connections cosmetic: use \` text \` for `highlighting` https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/cc441d2b_84506370 PS1, Line 51: OsmoMSC missing dot -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/34870?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Ic7c17511ee19cb7f6d5069b27beb661ecb4b0be8 Gerrit-Change-Number: 34870 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Mon, 23 Oct 2023 16:22:39 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
1 0
0 0
[S] Change in osmo-msc[master]: running: fix link to MNCC for External Call Control
by fixeria 23 Oct '23

23 Oct '23
Attention is currently required from: dexter, laforge, pespin. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/34869?usp=email ) Change subject: running: fix link to MNCC for External Call Control ...................................................................... Patch Set 1: Code-Review-1 (1 comment) Commit Message: https://gerrit.osmocom.org/c/osmo-msc/+/34869/comment/42055048_4edf411d PS1, Line 11: outdated Not sure what you mean by "outdated" here. Label `mncc` points to the MNCC chapter, explaining what MNCC is all about. Label `mncc-external` explains the aspects of using an external MNCC handler. I see no problem here. Maybe the chapter name is confusing? -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/34869?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I5b0fd848e6b28bf670d9994da8a56cb613158290 Gerrit-Change-Number: 34869 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Mon, 23 Oct 2023 16:08:15 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
[M] Change in osmo-msc[master]: manuals: add section about the SGs interface.
by laforge 23 Oct '23

23 Oct '23
Attention is currently required from: dexter, pespin. laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/34870?usp=email ) Change subject: manuals: add section about the SGs interface. ...................................................................... Patch Set 1: (3 comments) File doc/manuals/chapters/sgs.adoc: https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/f66de8d8_e1f96e55 PS1, Line 4: SGs/SGsAP The interface is called SGs. The application layer protocol for it is SGsAP. SO if you want to mention both and stay correct, you'd have to phrase it like "offers a SGs interface using the SGsAP protocol" or the like. https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/4794f557_2275e5d8 PS1, Line 5: LTE/EPC you used "2G (GERAN)" before, then here it would make sense to use the same format e.g. "4G (EUTRAN)" or if needed "4G (EUTRAN/LTE)" https://gerrit.osmocom.org/c/osmo-msc/+/34870/comment/861d2b51_9da779e3 PS1, Line 44: In case multiple instances of OsmoMSC run in parallel, it is advised to use a : different vlr-name for each instance you might want to add that they of course need to be bound to different IP addresses. btw: the vlr-name is usually the DNS name for the IP address of that VLR/MSC, so they should agree. -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/34870?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Ic7c17511ee19cb7f6d5069b27beb661ecb4b0be8 Gerrit-Change-Number: 34870 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Mon, 23 Oct 2023 16:07:01 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
1 0
0 0
[S] Change in osmo-msc[master]: vlr_sgs: fix VTY setting for SGs counter.
by dexter 23 Oct '23

23 Oct '23
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/34871?usp=email ) Change subject: vlr_sgs: fix VTY setting for SGs counter. ...................................................................... vlr_sgs: fix VTY setting for SGs counter. When trying to modify the value of an SGs counter (eg. ns11), then the setting is nevers stored. The reason for this is that OsmoMSC uses the wrong string table to compare the user input. Related: OS#6008 Change-Id: I0358c1ec0026c37fda6db1f3af3145393df25cfd --- M include/osmocom/msc/vlr_sgs.h 1 file changed, 15 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/71/34871/1 diff --git a/include/osmocom/msc/vlr_sgs.h b/include/osmocom/msc/vlr_sgs.h index 7231449..aade5d3 100644 --- a/include/osmocom/msc/vlr_sgs.h +++ b/include/osmocom/msc/vlr_sgs.h @@ -69,7 +69,7 @@ extern const struct value_string sgs_state_counter_names[]; static inline const char *vlr_sgs_state_counter_name(enum vlr_sgs_state_ctr Ns) { - return get_value_string(sgs_state_timer_names, Ns); + return get_value_string(sgs_state_counter_names, Ns); } /* This callback function is called when an SGs location update is complete */ -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/34871?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I0358c1ec0026c37fda6db1f3af3145393df25cfd Gerrit-Change-Number: 34871 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[S] Change in osmo-msc[master]: running: fix link to MNCC for External Call Control
by dexter 23 Oct '23

23 Oct '23
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/34869?usp=email ) Change subject: running: fix link to MNCC for External Call Control ...................................................................... running: fix link to MNCC for External Call Control The label of the section 18 "MNCC for External Call Control" is reachable under the label <<mncc>> and not under <<mncc-external>>, which seems to be outdated. Change-Id: I5b0fd848e6b28bf670d9994da8a56cb613158290 --- M doc/manuals/chapters/running.adoc 1 file changed, 14 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/69/34869/1 diff --git a/doc/manuals/chapters/running.adoc b/doc/manuals/chapters/running.adoc index d6e734b..0db5761 100644 --- a/doc/manuals/chapters/running.adoc +++ b/doc/manuals/chapters/running.adoc @@ -72,7 +72,7 @@ mncc external /tmp/mncc_socket ---- -More on MNCC in <<mncc-external>>. +More on MNCC in <<mncc>>. The SGs interface by default listens on 0.0.0.0:29118. Configure a different IP and/or port for each osmo-msc instance. You may also want to configure different VLR names: -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/34869?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I5b0fd848e6b28bf670d9994da8a56cb613158290 Gerrit-Change-Number: 34869 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • ...
  • 185
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.