Commit Graph

4408 Commits

Author SHA1 Message Date
Xavier Arteaga f8dcb8bf67 CRS SCell searcher: Minimal simplification 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 9ea9aab39d Added High Speed Train model to channel emulator 2019-09-20 16:20:31 +02:00
Xavier Arteaga 6eb26be34e Fixed include headers 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 d7c1a0bda9 Added High Speed Train model to channel emulator 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
Xavier Arteaga 703bbb44a3 Removed master clock rate for soapy. Tested with LimeSDR. 2019-09-20 15:43:07 +02:00
Xavier Arteaga 531ea2d0cd Cleaned up unused RF functions. Integrated Soapy Master Clock Rate in set srate. 2019-09-20 15:43:07 +02:00
Xavier Arteaga 3acfe68d35 Add /lib/x86... to CMake find library hints 2019-09-20 15:43:07 +02:00
Xavier Arteaga db5a21e659 Remove set_master_clock_rate from PHY RF API 2019-09-20 15:43:07 +02:00
Xavier Arteaga 9984e14170 BladeRF: Solved all clang tidy warnings 2019-09-20 15:43:07 +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
Andre Puschmann a2ab043c0d fix memleaks and uninitialized vars found by cppcheck 2019-09-20 10:55:29 +02:00
Andre Puschmann d7d3233bde Revert "fix install configs and use SUDO_GID"
This reverts commit e93b4b0e10.
2019-09-19 16:21:25 +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
Andre Puschmann 7ad2b217df fix logging all in error level 2019-09-18 15:15:41 +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 b2bc05c50a make queue_test less dependent on thread timings 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 ceba00f00e extended multiqueue to support blocking push 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 dbd219e112 enable -Werror based on compiler version
older gcc's (e.g gcc4.8) have issues with some const expressions
so they print warnings. we don't want to change the code because it is
fine with newer compilers. therefore we only enable -Werror for
newer versions of gcc
2019-09-17 22:12:34 +02:00
Andre Puschmann 9e1c46dfb0 add initial TTCN3 code 2019-09-17 21:56:47 +02:00
Andre Puschmann 95b2239dd5 add base class for socket handler using netsource object 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
Andre Puschmann 6baa89cd2c add MAC NR PDU packing and associated unit tests 2019-09-17 17:19:13 +02:00
Andre Puschmann 090f2b4110 add MAC-NR PCAP support 2019-09-17 17:19:13 +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 f74efe908b
Fix blocking in resume() after RLF in 100 PRB (#654) 2019-09-17 11:42:42 +02:00
Francisco Paisana cd521a84cb bigger log buffer. Now it is 1024 chars (#649)
Use dynamic string for debug_long() function and known relation of size between log_str and log_filter
2019-09-17 11:42:17 +02:00
Andre Puschmann adf840ebdc add RapidJSON cmake finder 2019-09-16 21:39:15 +02:00
Andre Puschmann 5189bbad69 add stop() to logger_file
this allows to close and currently running log process, flush the content
to the file, continue logging during that time, open a new file
and write the new log entries to that new file

basically it allows to use the logger_file multiple times without
needing to destroy the object

this is used in the UE tester to write each testcase into a separate
log file
2019-09-16 21:39:15 +02:00
Andre Puschmann 4869509c7b add write function to netsource
this is useful for listening sockets to also send responses,
i.e. implement bi-directional communication
2019-09-16 21:39:15 +02:00
Andre Puschmann 4ac5448ad7 fix formatting in NAS 2019-09-16 21:39:15 +02:00
Francisco Paisana e768989074 added a packer/unpacker for bytes. This should a faster version than normal bit_ref::pack, when we want to pack multiple bytes, and the bit_ref::offset is 0. Also added a way to skip a fixed number of bits 2019-09-13 21:09:26 +02:00