423 Commits (1c015aab62a2958d5af5bed36cc859a4290d17e0)

Author SHA1 Message Date
Andre Puschmann 15d439761a log build info in eNB/EPC logs 6 years ago
Pedro Alvarez 3cddad79cc Adding ability to configure names of TUN interfaces. (#277)
* added config option for tun dev names vs fixed names added config option for M1-U interface addr

* Added options to sgi_mb tun name.

* Added some comments to mbms.conf.example

* Added some comments to example configs to explain the new values.
6 years ago
Pedro Alvarez 35ca9ffd34 Adding TTL option 6 years ago
Pedro Alvarez 3ecacdf3a6 Adding selection of local interface at the MBMS-GW. 6 years ago
Pedro Alvarez d443604661 Merge next into gtp_cleanup_sn. Fixed some conflicts. 6 years ago
Andre Puschmann 0deda67930 print build-info during epc startup 6 years ago
Pedro Alvarez c1f633c5c7 Dropping bitfields for now. Using #defines and uint8_t for the flags. 6 years ago
Pedro Alvarez e320c33aef Fixed last compilation issues. 6 years ago
Pedro Alvarez ee04639337 Changed gtpu header flags to use a bitfield. Fixing compilation issues. 6 years ago
Andre Puschmann b27ff06e79 Merge remote-tracking branch 'origin/issue_178' into next 6 years ago
Pedro Alvarez b4f9fb06dd Changing EPC to use uint32_to_uint8 function 6 years ago
Andre Puschmann 860d8af911 Merge branch 'master' into next 6 years ago
Zhe Huang 8b526e1c20 Fix SQN incrementation arithmetic (#212)
* 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
Andre Puschmann a9d46cbad3 Merge branch 'master' into next_test_after_merge 6 years ago
Zhe Huang cd1fb0d81e Set AMF to all zeros during resync (#213)
During the resync procedure, the security_milenage_f1_star generates a
MAC_S value that does not match the MAC_S value reported in AUTS. This
posts a security risk.

According to 3GPP TS 33.102 version 11.5.1 section 6.3.3, the AMF used
to calculate MAC-S assumes a dummy value of all zeros so that it does
not need to be transmitted in the clear in the re-synch message.

This patch corrects this problem. MAC_S reported by AUTS matches the
MAC_S calculated using f1_star function after the fix.
6 years ago
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 6 years ago
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 6 years ago
Pedro Alvarez 39c5c49189 Fixing coding style of some if statements. 6 years ago
Ismael Gomez 7d324306b3 Default RLC to UM 6 years ago
Pedro Alvarez 55a6c3d808 Changed the epc.conf to have some instructions how to configure wireshark to decode the S1AP packets from the epc.pcap file. 6 years ago
Pedro Alvarez 151efc61d5 Added s1ap_tx_pdu function. This function will record to pcap if PCAP is enabled. 6 years ago
Pedro Alvarez b89ad628e2 Added config option to enable pcap. 6 years ago
Pedro Alvarez ba5708dc60 Starting to add S1AP pcap to EPC. 6 years ago
Pedro Alvarez 304510ea31 Whitespaces fix. 6 years ago
Pedro Alvarez d00662708f Added srslte_debug_handle_crash to EPC. 6 years ago
Ismael Gomez 67d4096e9e Default RLC to UM 6 years ago
Pedro Alvarez 3d24094829 Merge branch 'next' into epc_sigpipe 6 years ago
Pedro Alvarez a74d1905b4 Fix command line parsing in mbms-gw 6 years ago
Pedro Alvarez 712a1b7639 Fix compiling bug 6 years ago
Pedro Alvarez 1dc5836365 Adding SGi-mb mask to config 6 years ago
Pedro Alvarez ec0d7b0c7b Making sure that MME updates the eNB SCTP info when it receives GUTI attach from attached user. 6 years ago
Pedro Alvarez ced47af7ba Chenging the MBMS-Gw to pass the log to the gtpu_write_header. 6 years ago
Pedro Alvarez dc3cc43e02 Changing SPGW to pass log to lib function. 6 years ago
Pedro Alvarez e2e82cc464 Removing broadcats hack. Returning to a simple TUN insterface on the MBMS-GW. 6 years ago
Pedro Alvarez badbb1de77 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Pedro Alvarez aee66c3624 Merge branch 'ip_check' into next 6 years ago
Pedro Alvarez 66757573c1 Making sure that QCI helper comments in user_dg.csv stay when file is overwritten. 6 years ago
Pedro Alvarez 99715dc6e2 Adding check for total length as well. 6 years ago
Pedro Alvarez 1826684372 Fixing a compile issue. 6 years ago
Pedro Alvarez 3d2f7d2adf Adding some checks to IP packets at SPGW. 6 years ago
Pedro Alvarez c07de1d9e1 Remove debug print. 6 years ago
Pedro Alvarez 0a6540d8bf Saving QCI into ESM context. Different QCIs should be working now. 6 years ago
Pedro Alvarez 66db3deeb4 Starting to add Bearer QoS parameter to create session request. 6 years ago
Pedro Alvarez f9e3d3a1f7 Added mechanisms to read and write QCI from/to user_db.csv. 6 years ago
Pedro Alvarez fecdbcff4f Starting to add support to different QCI in EPC. 6 years ago
Pedro Alvarez e57797b786 Cosmetic change. 6 years ago
Pedro Alvarez b8bb270ac7 Cosmetic fix. 6 years ago
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 6 years ago
Pedro Alvarez ad1d32333b Fixing up user_db.csv comments and default values. 6 years ago
Pedro Alvarez 80f7f955ce Making sure that the Security Mode command uses the correct eKSI. 6 years ago