221 Commits (9484db8a909d39181d3246f306d980fa528d95b4)

Author SHA1 Message Date
Andre Puschmann d5835fc8a0 add info_long() method to log filter 5 years ago
Andre Puschmann 89889d6df5 add packing and unpacking test for MAC PDU only containing padding bytes 5 years ago
Francisco Paisana a2f1998350 fix issue with thread pool shut down 5 years ago
Francisco Paisana 3f1fad3f4e bug fix: avoid renaming thread in worker ctor 5 years ago
Andre Puschmann d73965e887 fix tear-down of worker 5 years ago
Francisco Paisana c413fadea9 created a queue-based thread pool. Tasks are inserted into a queue and then popped by the thread pool workers to be processed. 5 years ago
Andre Puschmann 57317fab7c expose debug_long to class log and use in RRC to log ASN1 structs 5 years ago
Andre Puschmann 7ad2b217df fix logging all in error level 5 years ago
Andre Puschmann 6baa89cd2c add MAC NR PDU packing and associated unit tests 5 years ago
Andre Puschmann 090f2b4110 add MAC-NR PCAP support 5 years ago
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
5 years ago
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
5 years ago
Pedro Alvarez 9b20a0de16 Added comment to zuc.cc and zuc.h 5 years ago
Pedro Alvarez 004db4a067 Applied clang-format to zuc_support PR. 5 years ago
Pedro Alvarez 595185d4b5 Fixed small compiler warning. 5 years ago
David Rupprecht 50332089ce Add EEA3 and EIA3 support for UE/enodeb and MME 5 years ago
David Rupprecht f05bb12c78 Process with EIA3 test cases and fix EIA3 5 years ago
David Rupprecht d580a94dab Add EIA3 and test case 5 years ago
David Rupprecht 7e13860dd5 Add decryption function and all tests for enc 5 years ago
David Rupprecht 0841d837de Make ZUC state ful no global vars 5 years ago
David Rupprecht ef4cf7aa52 First ZUC working test case 5 years ago
Andre Puschmann a9bea7e30c add -Werror to compile flags 5 years ago
Ismael Gomez c92c61d560
Optimized front-end logging processing (#641)
Avoid memory allocation and stringstream in log frontend calls (executed from worker threads). Uses a buffer pool of fixed buffer and vsnprintf
5 years ago
Ismael Gomez 69edee4e6c
Fix issues in uplink QoS (#636)
Fix bugs in Long BSR and Truncated BSR and added unit tests
5 years ago
Andre Puschmann e42449532b fix wrong namespace definition in various places 5 years ago
Andre Puschmann 09610ce788 add type setter to sch_subh and use it for MCH PDUs 6 years ago
Andre Puschmann 21f8698397 fix MAC PDU packing for large TB sizes
update the byte_buffer length variable after updating the remaining
PDU length. This has caused an error when calculating the
remaing space in the PDU because the SDU length was counted twice.
6 years ago
Pedro Alvarez 9597cc4c14 Clang-formated liblte_* 6 years ago
Ismael Gomez d595c4d882 Fixes issue #545 and unlocking of tti_sync condvar before closing causing deadlock at stop 6 years ago
Andre Puschmann 92f0d58856 mac: move further init/config into ctor to allow early logging, etc. 6 years ago
Andre Puschmann 82a69fb51c mux: fix packing of short MAC PDUs 6 years ago
Andre Puschmann 4aaa0473b9 pdu: remove unused variable total_sdu_len 6 years ago
Andre Puschmann fab75592ec fix MAC PDU padding with only padding and add test accordingly 6 years ago
Andre Puschmann b6d7fd5def improve error handling in PDU packing 6 years ago
Andre Puschmann da35f41dd5 rework MAC logical channel prioritization 6 years ago
Xavier Arteaga bb26a42fb6 Fixed backtrace symbols free 6 years ago
Andre Puschmann 414e55fafc pcap: add dtor
this fixes issue if object is destroyed and PCAP is still open
6 years ago
Francisco Paisana 415d3418b6 reorganized enb to mirror ue director/class structure with a stack class 6 years ago
Pedro Alvarez d67d18cc6b Removing deplicated error codes. 6 years ago
Andre Puschmann e47010130f extend thread class to set unique thread name in ctor
this will also extend all classes that use srslte::thread
to specify the name of the thread in the ctor as well
as to set the name of the worker threads in the thread pool
the thread name will be displayed in gdb.
6 years ago
Andre Puschmann 0e95867f13 remove task dispatcher class 6 years ago
Andre Puschmann b3f1915f7b pdu: fix zero-padding of RAR PDUs 6 years ago
Andre Puschmann 709e769d0d pdu: fix formatting 6 years ago
Andre Puschmann ea2e692836 pdu: fix MAC RAR PDU packing and unpacking with backoff indicator 6 years ago
Andre Puschmann 65f50cd7ba introduce new UE layer design
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
6 years ago
Xavier Arteaga 2aa36dd11c Added backtrace print helper 6 years ago
yagoda 3842beab0f - fixing pmch file test for standard LTE rates
- adding special value for MTCH stop
- adding error messages for config values incompatible with MBMS
6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Andre Puschmann 205db6f229 add missing license headers 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Andre Puschmann c4c44c33f4 use blocking pool_allocate in pdu_queue 6 years ago
Andre Puschmann afb591ee97 add ctor for worker class in thread_pool 6 years ago
Xavier Arteaga c782ef2aa5 Solved unitialised values in UE (up to prach) and free 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Andre Puschmann 59d9a78869
add eia1 tests and fix sib2 bug (#311)
* Starting to add EIA1 tests.

* Initial tests for EIA1

* Bit shifted bearer by 27. Test case 1 and 4 are passing now.

* Adding EIA test case 7.

* Making sure the test is called.

* Fixed double initialization of msg_len_bits.
6 years ago
Andre Puschmann 59435c2c34 add own cpuid helper to detect avx2 support
the cpuid.h version caused issues with older GCC 5.4
6 years ago
Andre Puschmann 34f552fae9 add universal executable to select binary based on current ISA
- using cpuid to check x86 features
- using hwcap on ARM to check for NEON
6 years ago
Ismael Gomez cfb3a43aed Lower priority of workers 6 years ago
Andre Puschmann c9186f110c add log_filter dtor 6 years ago
Ismael Gomez bc9d342959
New optimization on the PHY for both UE and eNodeB (#251)
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit

* Optimised UL Interleaver

* Include TB CRC calculation in FEC encoder

* New threading priorities
6 years ago
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 7 years ago
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 7 years ago
Pedro Alvarez ff49e56871 Starting to add s1ap_pcap class. 7 years ago
Pedro Alvarez 32a5c6a92f Starting to add s1ap_pcap class. 7 years ago
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 7 years ago
Pedro Alvarez 96786e96da Splitting the lib debug into phy and common debug. 7 years ago
Ismael Gomez 0dae08f812 Removed printf 7 years ago
Ismael Gomez a2615628aa Increase buffer pool size for enb 7 years ago
Andre Puschmann 87fd218c72 remove unused cond variable in logger 7 years ago
Andre Puschmann 4deb251071 remove duplicate run-state variable in logger_file 7 years ago
Pedro Alvarez 58823b1611 Destroying condition variable. 7 years ago
Pedro Alvarez 28844b54dd Possible fix for #164. 7 years ago
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 7 years ago
Andre Puschmann 81882aae8b white-space fix 7 years ago
Pedro Alvarez fd97caadb3 Revert "Merge branch 'op_vs_opc' into next"
This reverts commit be2276b8da, reversing
changes made to 4d3fd342f7.
7 years ago
Pedro Alvarez c717148d54 Revert "Do not print OPc debug"
This reverts commit 5fe329971a.
7 years ago
Pedro Alvarez 75c5e476f1 Added OPc option to UE. (needs testing.) 7 years ago
Pedro Alvarez 721be55f4f Fixing compute_OPc compilation issue. 7 years ago
Pedro Alvarez aec0f3f5ac Starting to change f* to expect OPc. Making compute_OPc public function. 7 years ago
Pedro Alvarez e3d1cff4a3 Revert "Adding OPc option to security functions."
This reverts commit 0eeb70bede.
7 years ago
Pedro Alvarez 0eeb70bede Adding OPc option to security functions. 7 years ago
Ismael Gomez 5fe329971a Do not print OPc debug 7 years ago
Ismael Gomez be2276b8da Merge branch 'op_vs_opc' into next 7 years ago
Andre Puschmann f74b67308b add gen_build_info to cmake again 7 years ago
yagoda 54bdfd83ec adding support for mbsfn subframe configuration to pdsch examples 7 years ago
Andre Puschmann 9ca2b89282 fixing compile warnings 7 years ago
yagoda fac8bb7b7a adding mbms-gw broadcast support, adding parameter for automatic mbms service start 7 years ago
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 7 years ago
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 7 years ago
yagoda ec918eab76 adding support for embms in common functions and interfaces 7 years ago
Andre Puschmann d0457211ad adding support for CHAP auth 7 years ago
Andre Puschmann 51e093e611 Merge branch 'next' into rlc_updates 7 years ago
Ismael Gomez f3f4528a2f Testing commit to force a Reestablishment 1s after CONNECT 7 years ago
Andre Puschmann 718a15608c dealloc SCH pdu in MAC instead of pdu_queue
- this is basically e9fcb10c9e
  but with the counterpart in the eNB's MAC
7 years ago
Andre Puschmann f7fee76022 fix bug in logger_file where logger was used but not initialized 7 years ago
Andre Puschmann 595ed70cae Revert "Deallocate SCH pdu on demux instead of pdu_queue"
This reverts commit e9fcb10c9e.
7 years ago
Andre Puschmann 05696a5ca7 Merge branch 'next' into rlc_updates 7 years ago
Ismael Gomez e9fcb10c9e Deallocate SCH pdu on demux instead of pdu_queue 7 years ago
Pedro Alvarez 2e7958e9a0 Merge branch 'master' into op_vs_opc 7 years ago
Pedro Alvarez de6d1e35b6 Hardcoded OPc instead of OP. Authentication with symocom's SIMs is Ok now. Needs to be made configurable. 7 years ago