Actions
Bug #1968
closedupon auth resync with osmo_auth_gen_vec_auts(), use MS.SQN + (2 ^ IND)
Start date:
03/07/2017
Due date:
% Done:
100%
Spec Reference:
Description
USIMs have an IND value denoting the lower number of bits that are "below" the synchronized SQN significance,
i.e. we need to flip at least the (IND+1)th bit when doing AUTS resync.
For example, receiving an AUTS from a USIM showing MS.SQN = 0, an IND = 5 means
that the next auth vector should be produced for MS.SQN = 2^5 = 32.
So far we are using MS.SQN + 1, which causes the USIM to ask for resync again and again.
Add ind argument to osmo_auth_gen_vec_auts() so that the caller can communicate the USIM's IND setting,
and increment SQN by (1 << IND).
Related issues
Actions