summaryrefslogtreecommitdiffstats
path: root/tests/utils
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-03 03:17:51 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-04 14:46:19 +0000
commit94e04604fc131a65cf8d08f2a3c60ecccb4bc19a (patch)
treea964a898640511f28464f33ace4c089a58ac045f /tests/utils
parent08177d324a67b9ef633d2487773db61ad81bb165 (diff)
osmo-auc-gen: cosmetic: clarify output upon AUTS
When calculating a re-sync vector using AUTS, osmo-gen-vec used to print SQN.MS + 2, the new SQN after vector generation, labeled 'SEQ.MS'. Firstly, s/SEQ/SQN. Secondly, print SQN.MS as umts.sqn - 2, which is the actual SQN recovered from the AUTS. As explained in the comment, SQN.MS + 1 is used to generate the vector, and then umts.sqn is increased a second time to indicate the next SQN. With AUTS calculated from SQN.MS == 23, the output was: AUTS success: SEQ.MS = 25 Output now: AUTS success: SQN.MS = 23, generated vector with SQN = 24, next SQN = 25 Change-Id: I881bbe8246a5e7d3a5065b4b5b533255723b1a9e
Diffstat (limited to 'tests/utils')
0 files changed, 0 insertions, 0 deletions