Commit Graph

4151 Commits

Author SHA1 Message Date
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
Ismael Gomez c7bafdd46c Fix BSR-reTX timer handling causing blocking when bad UL channel 2019-06-26 18:14:54 +02:00
Ismael Gomez 9e6a9e0d03 Fix reestablishment mutex lock when called from RLC max retx 2019-06-26 18:14:54 +02:00
Ismael Gomez 63794aa2dc Fix invalid memory access in PHY measurements 2019-06-26 18:14:54 +02:00
Ismael Gomez ebe97221da Do not check periodic-BSR during retx-BSR expiration 2019-06-26 18:14:54 +02:00
Pedro Alvarez 8f5ad55c4a Added attach request as a UL info trasnfer in the UE. Added interface to remove eps bearer map when going idle. Fixed bug in GW in assignment of IPv4 addresses. UE seems to rebound from the service reject now. 2019-06-26 18:04:41 +02:00
Andre Puschmann 8a6c1ea826 explicitly destruct stack components before cleaning up buffer pool 2019-06-26 17:57:25 +02:00
Andre Puschmann 23c8fc89c5 rrc: fix PBR and BSD default values 2019-06-26 17:57:25 +02:00
Andre Puschmann bb836488ef mux: do not print priority info if the LC config is only updated 2019-06-26 17:57:25 +02:00
Andre Puschmann 34d2eb761f mux: use updated SDU length when adding new SDUs 2019-06-26 17:57:25 +02:00
Andre Puschmann 59355e79ff remove newline in log when starting UE 2019-06-26 17:57:25 +02:00
Andre Puschmann 82a69fb51c mux: fix packing of short MAC PDUs 2019-06-26 17:57:25 +02:00
Andre Puschmann dffbc4404f add three more MAC tests for short PDUs 2019-06-26 17:57:25 +02:00
Andre Puschmann 0012868e91 rlc_am: reduce log level when provided PDU size is too small 2019-06-26 17:57:25 +02:00
Andre Puschmann a3d95c8370 simplify SDU allocation and remove unneeded checks 2019-06-26 17:57:25 +02:00
Andre Puschmann 69e948bd5e mux: improve logging during SDU allocation 2019-06-26 17:57:25 +02:00
Andre Puschmann a4dab1081e mux: fix code formatting and simplify UL-CCCH packing 2019-06-26 17:57:25 +02:00
Andre Puschmann 4aaa0473b9 pdu: remove unused variable total_sdu_len 2019-06-26 17:57:25 +02:00
Andre Puschmann 7145cd2358 fix padding BSR generation and add test for it 2019-06-26 17:57:25 +02:00