Commit Graph

935 Commits

Author SHA1 Message Date
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 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
Pedro Alvarez 129c892d35 Fix SRB PDCP SN len initialization. 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 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 7145cd2358 fix padding BSR generation and add test for it 2019-06-26 17:57:25 +02:00
Andre Puschmann 2599b1824d reorder stack members and their loggers for correct destruction 2019-06-26 17:57:25 +02:00
Andre Puschmann 19bc65012b nas: remove EPS bearer before adding updating params 2019-06-26 17:57:25 +02:00
Andre Puschmann 46a239fc61 remove patching of PBR in RRC 2019-06-26 17:57:25 +02:00
Andre Puschmann 8333a9be57 fix dtor of PHY when stack init fails 2019-06-26 17:57:25 +02:00
Andre Puschmann db224335a7 add MUX step function for PBR counting 2019-06-26 17:57:25 +02:00
Andre Puschmann da35f41dd5 rework MAC logical channel prioritization 2019-06-26 17:57:25 +02:00
Andre Puschmann 2dfc6698eb add MAC tests 2019-06-26 17:57:25 +02:00
Ismael Gomez 81067750a7 Use RV from stack, fixes issue decoding Format1C with SI-RNTI 2019-06-25 15:15:56 +02:00
Andre Puschmann e0a28cf4c0 simplify PDCP init and also bypass it for SRB0 on eNB 2019-06-21 15:49:46 +02:00
Andre Puschmann 0ef96f789b bypass PDCP for SRB0 processing chain 2019-06-21 15:49:46 +02:00
Francisco Paisana 8f8d9f3f30 applied changes in the stack internal method naming 2019-06-21 13:01:41 +02:00
Francisco Paisana ce29ed545d moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks 2019-06-21 13:01:41 +02:00
Francisco Paisana 46d298fd9a formatting 2019-06-20 15:26:52 +02:00
Francisco Paisana 62eb96366c moved gw metrics out of stack_metrics_t 2019-06-20 15:26:52 +02:00
Andre Puschmann 9b985ab6ea stop data plane traffic before sending detach request 2019-06-20 15:26:52 +02:00
Francisco Paisana 10a56e2a84 moved GW out of the UE stack. This is important to keep concurrency out of the stack once it becomes single-threaded 2019-06-20 15:26:52 +02:00
Xavier Arteaga c7be984819 sync.h uses lock_guard for mutex 2019-06-19 11:49:55 +02:00
Xavier Arteaga 81de38e43c Fixed SRSUE initiation SEGFAULT 2019-06-19 11:49:55 +02:00
Xavier Arteaga cd036d8760 SRSUE: proc_ra.h/.cc use C++11 mutex 2019-06-19 11:49:55 +02:00
Xavier Arteaga 5d87aece0f SRSUE: mac.h/.cc mutexes changed to C++11 and set initial values 2019-06-19 11:49:55 +02:00
Xavier Arteaga 9068280896 SRSUE: Sync.h/.cc mutexes changed to C++11 std::mutex and fixed attributes initialisation 2019-06-19 11:49:55 +02:00