Commit Graph

1088 Commits

Author SHA1 Message Date
Xavier Arteaga 3c25e2b16c SCell Search Test: Return success always if test is finished 2019-09-20 16:20:31 +02:00
Xavier Arteaga 9ee8cc0ad2 CRS SCell searcher: Fixed memory leaks 2019-09-20 16:20:31 +02:00
Xavier Arteaga 91a7bbf2b6 SCell search test: removed basic_string header 2019-09-20 16:20:31 +02:00
Xavier Arteaga 4c85b99ec5 SRSUE: Added intra frequency SCell search test 2019-09-20 16:20:31 +02:00
Xavier Arteaga 35f85c651c SRSUE: Added SCell synchronizer and measurements based on reference signals 2019-09-20 16:20:31 +02:00
Xavier Arteaga 8e17aba5d8 Improved SSS decoding and improved scell_search_test 2019-09-20 16:20:31 +02:00
Xavier Arteaga dedf0f2f78 Added initial time to delay channel simulator 2019-09-20 16:20:31 +02:00
Xavier Arteaga 368690ea6b SRSUE: Added intra frequency SCell search test 2019-09-20 16:20:31 +02:00
Xavier Arteaga 54974d935e SRSUE PHY: unitialised values and attributes clean-tidy up 2019-09-20 16:03:37 +02:00
Xavier Arteaga 78fcc11a30 Fixes minor unitialised/leaked memory 2019-09-20 16:03:37 +02:00
Ismael Gomez 0984debe1b
Fix issues with RLF in B210 and X300 (#669)
* Calling tx_end() from radio_reset() causes long execution time in B210. Using boolean to call later instead. Fixes RLF failing in B210. Checked in X300

* Fix issue #655
2019-09-20 15:41:16 +02:00
Francisco Paisana 0f166ce739 fixed mac_test 2019-09-19 10:19:46 +02:00
Francisco Paisana 946ead06e8 using an interface between the stack and lower mac to process demux pdus. 2019-09-19 10:19:46 +02:00
Andre Puschmann 57317fab7c expose debug_long to class log and use in RRC to log ASN1 structs 2019-09-18 16:12:24 +02:00
Andre Puschmann 7dde4f3b8a fix BCCH-BCH logging in RRC debug mode
also decode BCCH-BCH using ASN1 lib and write MIB to log
2019-09-18 16:12:24 +02:00
Andre Puschmann 99a6d49e78 only write MIB to PCAP if cell search was successful 2019-09-18 16:12:24 +02:00
Francisco Paisana 7e67aee839 resolved the uninit variable issue in the queue_test 2019-09-18 12:18:33 +02:00
Francisco Paisana 14267640ee implemented andre's PR review requests 2019-09-18 12:18:33 +02:00
Francisco Paisana 11ec5cdba6 added a maximum capacity to the pending task multiqueue, so that the buffer pool does not get depleted 2019-09-18 12:18:33 +02:00
Francisco Paisana 63457f195c extented queue test 2019-09-18 12:18:33 +02:00
Francisco Paisana a2d7b2320a placed GW packets in the same thread as UE stack thread 2019-09-18 12:18:33 +02:00
Francisco Paisana 647c624423 created a multiqueue handler, and started using it for the ue stack 2019-09-18 12:18:33 +02:00
Andre Puschmann 9e1c46dfb0 add initial TTCN3 code 2019-09-17 21:56:47 +02:00
Andre Puschmann 08ca9ebd4e write BCH to PCAP
this patch moves the BCH payload buffer into the UE sync object and
therefore allows to pass it to the MAC for PCAP logging
2019-09-17 21:56:06 +02:00
Ismael Gomez a3932f9bea Minor change to fix coverty issue 2019-09-17 14:22:38 +02:00
Francisco Paisana 94667beb00 added a bound checker to bit_ref packer, and other fixes 2019-09-17 14:15:43 +02:00
Ismael Gomez 6bb0790cf1
Fix coverty issues (#652) 2019-09-13 15:06:20 +02:00
Andre Puschmann bd1e367263 add missing mutex lock in mux 2019-09-12 09:51:03 +02:00
Andre Puschmann 761fda542d fix invalid neighbor cell addition
if phy measurements are received and processes before a serving cell
is selected, an invalid neighbor cell is added because the uninitlized
serving cell is used.

fix the issue by checking if the serving cell is valid
2019-09-12 09:51:03 +02:00
Andre Puschmann 8b015ee128 fix typos and extend cell (re-)selection logging 2019-09-12 09:51:03 +02:00
Xavier Arteaga 1a567a764e SRSUE: Call Radio tx-end when PHY is reseted and removed redundant attribute is_start_of_burst. 2019-09-12 09:49:56 +02:00
Pedro Alvarez 004db4a067 Applied clang-format to zuc_support PR. 2019-09-10 13:46:21 +02:00
Pedro Alvarez 1ae8ccda8c Added EIA3 and EEA3 to default UE capabilities to srsUE. Added parsers for EEA3/EIA3 config options in srsENB and srsEPC 2019-09-10 13:46:21 +02:00
David Rupprecht 4ff70b6008 reconfigured test case for eia sec matching 2019-09-10 13:46:21 +02:00
David Rupprecht 06ac8143a4 NAS test working again due to replayed sec caps mismatch 2019-09-10 13:46:21 +02:00
David Rupprecht 50332089ce Add EEA3 and EIA3 support for UE/enodeb and MME 2019-09-10 13:46:21 +02:00
Andre Puschmann 513c7b12e3 remove warning and replace with pragma message 2019-09-09 17:28:53 +02:00
Ismael Gomez 4f95822c06 Reestablish RLC before waiting for uplink 2019-09-07 22:59:57 +02:00
Ismael Gomez cbb1bbfaa1 Fix multiple PRACHs after SR fail and a minor issue in HO 2019-09-07 22:59:57 +02:00
Xavier Arteaga 4bd0d2da6d UE RRC: Fixed minor variable overlap and clang tidy warning in UE capabilities 2019-09-04 22:36:03 +02:00
Ismael Gomez bfddc55148
RRC-PHY interface (#639)
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1

Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
2019-09-04 16:59:10 +02:00
Francisco Paisana 67d6a25194 Moving mac timers to stack timers (#638)
* first step towards moving MAC timers to stack. Mac is still using its own timers. srslte::timers class can be restructured.

* moved timers out of the UE MAC
2019-09-04 15:28:09 +02:00
Ismael Gomez 69edee4e6c
Fix issues in uplink QoS (#636)
Fix bugs in Long BSR and Truncated BSR and added unit tests
2019-09-02 22:48:41 +02:00
Francisco Paisana 116dc0a57b fixed group extensions, removed extra presence flag for copy_ptr<T> types as it was just a source of bugs. 2019-09-02 20:21:54 +02:00
Paul Sutton 2f14b7a2a2 Fix for [gw] parameter names 2019-08-08 13:37:16 +01:00
Francisco Paisana c9d3b61038 added resumable procedures to make RRC and NAS non-blocking 2019-08-08 10:56:54 +02:00
Andre Puschmann fba1110c49 fix RRC to reflect new struct name 2019-07-30 15:01:50 +02:00
Pedro Alvarez 491695ab77 Clang-formated PDCP NR PR. 2019-07-30 15:01:50 +02:00
Pedro Alvarez d3b6828082 Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine. 2019-07-30 15:01:50 +02:00
Pedro Alvarez 73e30743d1 Added enum to PDCP config to replace two bools. 2019-07-30 15:01:50 +02:00
Pedro Alvarez 457f35699d Reverted back to a single config structure between PDCP NR and PDCP LTE. 2019-07-30 15:01:50 +02:00
Pedro Alvarez 1944bf9a80 Continue to split pdcp_entity_lte and pdcp_entity_nr. Compiling now. 2019-07-30 15:01:50 +02:00
Pedro Alvarez 005d03cb1a Starting to split pdcp_entity into pdcp_entity_lte and pdcp_entity_nr to support NR PDCP 2019-07-30 15:01:50 +02:00
Andre Puschmann 7847c8da5e extend ue cap handler to support multiple RATs 2019-07-29 15:12:13 +02:00
Xavier Arteaga aee59977d3 SRSUE: Fixed inter-frequency Handover 2019-07-29 14:42:56 +02:00
Merlin Chlosta 277029adb1 Revert "Fix GW param name in ue.conf.example"
This reverts commit fcc91c5c2b.
2019-07-24 09:52:39 +02:00
Merlin Chlosta fcc91c5c2b Fix GW param name in ue.conf.example 2019-07-24 09:50:54 +02:00
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 2019-07-23 15:38:21 +02:00
Andre Puschmann 09610ce788 add type setter to sch_subh and use it for MCH PDUs 2019-07-23 15:38:21 +02:00
Andre Puschmann e562dfed15 minor code formating and debug fixes 2019-07-21 22:27:17 +02:00
yagoda 408400bee6 adding fixes and tests for eMBMS 2019-07-21 22:27:17 +02:00
Andre Puschmann 2e9a981a8a fix home plmn extraction for PCSC USIM module 2019-07-19 18:16:58 +02:00
Paul Sutton 028b44c1af Minor edits to config file comments 2019-07-19 18:11:10 +02:00
Xavier Arteaga f653472aa8 SRSUE: SCell parameters condensed in a single structure 2019-07-19 18:10:23 +02:00
Xavier Arteaga 5729f37ebb SRSUE PHY: Fixed frequency change 2019-07-19 18:10:23 +02:00
Xavier Arteaga b5685c8f09 SRSUE: Fixed HO with carrier aggregation 2019-07-19 18:10:23 +02:00
Xavier Arteaga 19572b485c SRSUE RRC: fix single meas_obj in multiple meas_id 2019-07-19 18:10:23 +02:00
Xavier Arteaga f616e6f5ad SRSUE: Do not add srsue_help nor srsue_version test if the GUI is enabled 2019-07-18 22:05:44 +02:00
Xavier Arteaga d64264d954 SRSUE: Added init test and ue.conf.example integrity. Solved CLang Tidy warnings. 2019-07-18 22:05:44 +02:00
Ismael Gomez 98f52529f7 Minor change to ue.conf 2019-07-18 16:39:44 +02:00
Ismael Gomez 32bcbd6231 Minor modification of warning message 2019-07-17 16:57:42 +02:00
Ismael Gomez feafec2725 Fix srsENB PHY log and reorganized expert args 2019-07-17 12:40:57 +02:00
Ismael Gomez c9c43e44e9 Fixed PDU buffer size 2019-07-16 17:31:03 +02:00
Xavier Arteaga abad5c3bbf SRSUE: Handle 256qam for CA (#585) 2019-07-16 15:42:41 +02:00
Andre Puschmann 86f43b008c
Fix missing general section 2019-07-15 13:56:59 +02:00
Ismael Gomez 1b970fa978 Modified comments 2019-07-15 06:18:34 -04:00
Andre Puschmann 886858a30a remove expert config and split into PHY and general config, cleanup ue.conf.example 2019-07-15 06:18:34 -04:00
Andre Puschmann bfb16e2545 remove general UE config from example 2019-07-15 06:18:34 -04:00
Ismael Gomez b81d4c5c9c Fix MAC test 2019-07-14 09:01:14 +02:00
Andre Puschmann e9342969f8 fix typo 2019-07-14 07:41:08 +02:00
Andre Puschmann b46a71c2d8 add RRC metrics and remove extra methods to query RRC state 2019-07-13 14:33:43 +02:00
Xavier Arteaga 5e49aca835
Merge pull request #570 from softwareradiosystems/feature_256qam_fix
Resource allocation extended tables and PDSCH table 2 for 256QAM
2019-07-12 12:32:47 -04:00
Xavier Arteaga 04ab6caf69 SRSUE: fix for 64QAM CA 2019-07-12 11:37:20 -04:00
Ismael Gomez 154b9a84c8 Fix RRC serving cell leak 2019-07-12 13:59:43 +02:00
Ismael Gomez 7e1ae45d58 Fixes #573 2019-07-12 13:38:49 +02:00
Ismael Gomez 5358816ad5 Fix Truncated BSR due to invalid priority ordering 2019-07-12 13:08:42 +02:00
Pedro Alvarez 9b6aaac1b5 Ignore PDCP status PDUs, instead of passing them to the GW. Check on the GW if the packet is large enough to hold an IPv4 header. 2019-07-12 13:08:42 +02:00
Ismael Gomez 8c41625599 Add RLC suspend and resume 2019-07-12 13:08:42 +02:00
Xavier Arteaga aa6652155c Phy: added ue_ul normalization mode parameter 2019-07-12 13:05:10 +02:00
Xavier Arteaga 20823e191d SRSUE: Added UL force amplitude optional parameter 2019-07-12 13:05:10 +02:00
Andre Puschmann 4e86b2f6b2 introduce layerd architecture we use for UE to eNB
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
2019-07-12 04:17:56 +02:00
Ismael Gomez da78f373b1 Cleaned SR logs 2019-07-11 15:47:49 +02:00
Guillem Foreman ca6d9576c3 Added option for 256QAM in PHY config 2019-07-08 18:57:27 +02:00
Ismael Gomez abdb880b3b Remove unused mux_is_transmitted local variable 2019-07-08 17:14:25 +02:00
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 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