Commit Graph

4169 Commits

Author SHA1 Message Date
Ismael Gomez f6a5d28283 Addressed @andrepuschmann comments 2019-07-08 17:14:25 +02:00
Ismael Gomez 773c2a9721 Fixed multiple issues in Random Access procedure and extended MAC test 2019-07-08 17:14:25 +02:00
Xavier Arteaga 5dcf3b3563 Fix phy memory leaks 2019-07-08 17:13:32 +02:00
Andre Puschmann 5faa819dcd fixing uninitialized class members found by coverity 2019-07-08 11:12:46 +01:00
Andre Puschmann 6b2961fcee add MAC DL-SCH unpacking test 2019-07-05 17:24:06 +02:00
Andre Puschmann 92f0d58856 mac: move further init/config into ctor to allow early logging, etc. 2019-07-05 17:24:06 +02:00
Pedro Alvarez a868a13409 Fix compilation error when PCSC is enabled. 2019-07-05 16:53:17 +02:00
Andre Puschmann 6a11030ae1 enb: fix race condition in workers overwriting the DL tx buffer
this adds a own tx buffer for each HARQ PID
2019-07-05 10:48:30 +02:00
Francisco Paisana 92b4b168fe added default rlc um and am in the interface as factories 2019-07-05 10:44:15 +02:00
Francisco Paisana b903c1a52c made default init for rlc um test 2019-07-05 10:44:15 +02:00
Francisco Paisana 58e2e51044 removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC. 2019-07-05 10:44:15 +02:00
Francisco Paisana c5509caece added extra operators and remove rrc_asn1 in some cmake targets 2019-07-05 10:44:15 +02:00
Francisco Paisana b936629221 removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests 2019-07-05 10:44:15 +02:00
Francisco Paisana bb0dbf0f1c created a asn1 utils with helper functions and types related to the asn1. These types/functions will help isolate the rrc_asn1 lib from most of the layers, reducing this way the compile times, and leading to better isolation. This will also make the transition to NR smoother. I removed the asn1 types from the NAS and USIM interface so far. 2019-07-05 10:44:15 +02:00
Francisco Paisana 416f9896ec fixes to include the findings from PR #550 2019-07-05 10:38:28 +02:00
Andre Puschmann 62a4fa1c93 fix various potential buffer overruns
this is based on suggested fixes by Dirk Grabinski and David who
have fuzzed various parts of srsLTE using afl
2019-07-04 14:43:59 +02:00
Andre Puschmann 701db61fde rlc: extend stress tester to simulate MAC PDU corruption 2019-07-04 14:43:20 +02:00
Andre Puschmann ecb6a0f99b fixing RLC AM bug where corrupted PDU causes segfault
the underlaying issue is that a corrupted PDU is passed to RLC
which claims to have segments whose total size exceed the size
of the entire PDU. Those PDUs are not ignored.
2019-07-04 14:43:20 +02:00
Pedro Alvarez de4d459e5f Fix issue of IMSI context already present when receiving a GUTI attach with bad integrity. This could cause a sigpipe in the EPC when the eNB was re-started. 2019-07-03 17:24:40 +02:00
Pedro Alvarez b617f76bdc S1AP Debug message. 2019-07-03 17:24:40 +02:00
Joseph Giovatto 69e9066c76 use time in usec for rand seed
removed extra call to srand in sesue process
2019-07-02 17:28:24 +02:00
Xavier Arteaga 4a0ebe0cca SRSUE: reviewed UE capabilities for 64QAM according to 3GPP 36.306 2019-07-02 16:36:06 +02:00
Xavier Arteaga a417d3a70a Added DCI trace if cqi is requested 2019-07-02 16:36:06 +02:00
Xavier Arteaga 87433c83da SRSUE: 64QAM R8 compatible 2019-07-02 16:36:06 +02:00
Xavier Arteaga ca12b2353c SRSUE: Added 64QAM for SCell 2019-07-02 16:36:06 +02:00
Xavier Arteaga 01e3cc3c9c SRSUE: Added 64QAM support to UE Capabilities 2019-07-02 16:36:06 +02:00
Ismael Gomez 833ce5224a Disable 256QAM tests failing in CentOS 2019-07-01 18:22:49 +02:00
Francisco Paisana 34fde16b40 change scheduler mutex to std::mutex (#546)
* change scheduler mutex to std::mutex

* rename lck to lock
2019-07-01 11:38:37 +02:00
Pedro Alvarez 498f1b8e4b Small PDCP fixes:
- Moved most the initialization of the pdcp_entity to the header.
  - Initilize some variables in gtpu_ntoa.
  - Removed debug print.
  - Format eNB GTP-u debugging code.
2019-06-27 17:09:52 +02:00
Pedro Alvarez 1c51d2ca9a Small clang format changes. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 129c892d35 Fix SRB PDCP SN len initialization. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 5d8dcbe4cb Make sure that PDCP SN is initialized properly in the eNB. UE attaches again when using encription. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 53d2220aab Resolved conflicts with unique pointers after rebase in PDCP entity. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 2643b9070f Fixing mistake in setting PDCP last_submitted_pdcp_rx_sn 2019-06-27 17:09:52 +02:00
Pedro Alvarez 6d5dbdedfa Fixed mistake in comparison in pdcp_entity. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 693338da07 Added TX HFN print to make it easier to debug HFN mis-match 2019-06-27 17:09:52 +02:00
Pedro Alvarez 6b59cc0760 Debug print for PDCP Reestablish. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 5ca6238877 Adding encription debug prints. 2019-06-27 17:09:52 +02:00
Pedro Alvarez b97d1191f4 Added more debug info at eNB GTP-U. Changed the pdcp_entity to follow the standard more strictly for RLC AM DRBs. 2019-06-27 17:09:52 +02:00
Pedro Alvarez f4fd6034ba Starting to add separate functions for PDCP handling for UM DRBs and AM DRBs 2019-06-27 17:09:52 +02:00
Pedro Alvarez 6578cf1d01 Making sure that next_pdcp_rx_sn is reset at reestablish. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 6cbcc5154d Starting to use received SN to do user plane decription. 2019-06-27 17:09:52 +02:00
Pedro Alvarez 09144a2c5f Added check of IP version to the eNB GTP-u. Helpfull for debug. 2019-06-27 17:09:52 +02:00
Ismael Gomez fe04a83269 Fix BSR trigger cancellation 2019-06-27 16:13:22 +02:00
Andre Puschmann 0094fbd191 mux/bsr: fix issue with corrupted UL-SCH PDU
BSR was triggered although there was not enough space in MAC PDU
2019-06-27 16:13:22 +02:00
Andre Puschmann 1dea4add2a stack: fix issue where stack thread was exited before stop_impl was called 2019-06-27 14:51:33 +02:00
Andre Puschmann 58763fb714 stack: move initialization of log object into ctor
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
2019-06-27 14:51:33 +02:00
Ismael Gomez 000c9c87b4 Fix UE blocking when detaching while disconnected 2019-06-27 11:43:03 +02:00
Ismael Gomez 80887891d2 Fix UE reattaching after Release 2019-06-27 10:02:47 +02:00
Ismael Gomez 27552a1d72 Set correct default values for SRB PRB 2019-06-26 22:55:04 +02:00