Change in osmo-ttcn3-hacks[master]: hlr: add TC_gsup_sai_num_auth_vectors

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Jan 11 22:22:37 UTC 2020


fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16790 )

Change subject: hlr: add TC_gsup_sai_num_auth_vectors
......................................................................


Patch Set 2:

Hi lynxis!

> @fixeria Is there a way how I can add an IE? I could also add 2nd template for EPS.

I would either make the existing templates more flexible by introducing a helper function (like f_gen_ts_ss_ies()), or do it like this:

  var template GSUP_PDU sai_msg;

  if (is_eps) {
    sai_msg := ts_GSUP_SAI_REQ_EPS(imsi);
  } else {
    sai_msg := ts_GSUP_SAI_REQ(imsi);
  }

  if (not istemplatekind(num_auth_tuple, "omit") {
    sai_msg.ies := sai_msg.ies & { valueof(ts_GSUP_IE_NUM_VECTORS_REQ(valueof(num_auth_tuple))) };
  }

  GSUP.send(sai_msg);


-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16790
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: I10a523cbaf08fe42924ffd0dc498496fdc76395f
Gerrit-Change-Number: 16790
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-CC: fixeria <axilirator at gmail.com>
Gerrit-Comment-Date: Sat, 11 Jan 2020 22:22:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200111/0b4011ba/attachment.htm>


More information about the gerrit-log mailing list