This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16789 ) Change subject: library/GSUP_Types: add support for OSMO_GSUP_NUM_VECTORS_REQ_IE ...................................................................... library/GSUP_Types: add support for OSMO_GSUP_NUM_VECTORS_REQ_IE OSMO_GSUP_NUM_VECTORS_REQ_IE allows the GSUP client to ask for a specific amount of auth tuples. Change-Id: I1be95c6a06610744b81ba043d236fce108598b79 --- M library/GSUP_Types.ttcn 1 file changed, 25 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/89/16789/1 diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn index d4b1db1..880a6ad 100644 --- a/library/GSUP_Types.ttcn +++ b/library/GSUP_Types.ttcn @@ -61,6 +61,7 @@ OSMO_GSUP_IMEI_IE ('50'O), OSMO_GSUP_IMEI_RESULT_IE ('51'O), + OSMO_GSUP_NUM_VECTORS_REQ_IE ('52'O), OSMO_GSUP_MESSAGE_CLASS_IE ('0a'O), @@ -227,6 +228,7 @@ sm_alert_rsn, tag = OSMO_GSUP_SM_ALERT_RSN_IE; imei, tag = OSMO_GSUP_IMEI_IE; imei_result, tag = OSMO_GSUP_IMEI_RESULT_IE; + num_auth_vectors, tag = OSMO_GSUP_NUM_VECTORS_REQ_IE; message_class, tag = OSMO_GSUP_MESSAGE_CLASS_IE; source_name, tag = OSMO_GSUP_SOURCE_NAME_IE; destination_name, tag = OSMO_GSUP_DESTINATION_NAME_IE; @@ -290,6 +292,7 @@ GSUP_IMEI imei, GSUP_IMEIResult imei_result, + OCT1 num_auth_vectors, GSUP_Message_Class message_class, @@ -455,6 +458,12 @@ valueof(ts_GSUP_IE_CURRENT_RAT_TYPE(RAT_TYPE_EUTRAN_SGs)) }); +template (value) GSUP_PDU ts_GSUP_SAI_REQ_NUM_AUTH(hexstring imsi, OCT1 num_auth_vectors) := + ts_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { + valueof(ts_GSUP_IE_IMSI(imsi)), + valueof(ts_GSUP_IE_NUM_VECTORS_REQ(num_auth_vectors)) + }); + template GSUP_PDU tr_GSUP_SAI_REQ(template hexstring imsi) := tr_GSUP_IMSI(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, imsi); @@ -859,6 +868,22 @@ } } +template (value) GSUP_IE ts_GSUP_IE_NUM_VECTORS_REQ(OCT1 num) := { + tag := OSMO_GSUP_NUM_VECTORS_REQ_IE, + len := 0, /* overwritten */ + val := { + num_auth_vectors := num + } +} +template GSUP_IE tr_GSUP_IE_NUM_VECTORS_REQ(template OCT1 num) := { + tag := OSMO_GSUP_NUM_VECTORS_REQ_IE, + len := ?, + val := { + num_auth_vectors := num + } +} + + /* Possible identity types for SM-RP-{OA|DA} IEs */ type enumerated GSUP_SM_RP_ODA_IdType { OSMO_GSUP_SM_RP_ODA_ID_NONE ('00'O), -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16789 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: I1be95c6a06610744b81ba043d236fce108598b79 Gerrit-Change-Number: 16789 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200110/437b58b9/attachment.htm>