mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8b526e1c20
* Fix SQN incrementation arithmetic Current implementation of increment_sqn function increments the 48 bits SQN directly by 1 which is incorrect according to 3GPP TS 33.102 version 11.5.1 Annex C. This bug causes commercial UEs to report AUTHENTICATION FAILURE EMM cause #21 "synch failure" when SQN is out of sync. According to 3GPP TS 33.102 version 11.5.1 Annex C, 48 bits SQN consists of 43 bits SEQ and 5 bits IND parts where SEQ are incremented during generation of authentication vector or resync procedure. A new IND value is also assigned when an authentication vector is generated. However, resync procedure will use the same IND value. This patch implements the increment_sqn function according to 3GPP TS 33.102 version 11.5.1 Annex C. A new function increment_seq_after_resync is added to handle the special case of SQN arithmetic during SQN resynchronization. This patch is tested with two comercial UEs (Oneplus One and Oneplus 3T). * Fix the maximum value of SEQ value to be 2^43-1 The SEQ value is 43 bits long and previous maximum value has a typo (one extra F) which allows SEQ value to be 2^47-1. This patch corrects the typo. |
6 years ago | |
---|---|---|
.. | ||
hdr | 6 years ago | |
src | 6 years ago | |
CMakeLists.txt | 7 years ago | |
epc.conf.example | 7 years ago | |
mbms.conf.example | 6 years ago | |
srsepc_if_masq.sh | 7 years ago | |
user_db.csv.example | 6 years ago |