Andre Puschmann
a8bbe551ac
move thread class into srslte namespace to avoid ambiguity between std::thread
5 years ago
Francisco Paisana
32c347fbb1
hide logmap implementation in source file. Export symbols so they can be used by srsASN1 project
5 years ago
Francisco Paisana
42449b079a
now the scell_activation CE is only for 1 octet. The 4 octet one is not yet supported.
5 years ago
Francisco Paisana
d831522692
addition of SCell Activation CE Cmd to scheduler and MAC
5 years ago
Xavier Arteaga
f10f64215e
log_filter use stdout logger is NULL
5 years ago
Andre Puschmann
cccabdaf4f
removing unneeded install targets for static libs (reported by Filipe)
5 years ago
Francisco Paisana
3e2de6dd3e
new logmap class to store globally accessible logs
5 years ago
Francisco Paisana
07a9e889a4
added a singleton map to facilitate access to each layer logger
5 years ago
Andre Puschmann
e5b1673b3b
move PCAP into own compilation unit
...
this removes inline keyword from PCAP functions and puts all functions
into own C file
before forced inlining caused an issue when compiling for ARM on Ubuntu 19.10 on the RPi4
using gcc version 9.2.1
5 years ago
Andre Puschmann
0bd493b567
call byte_buffer cleanup in two enb tests and fix typo
5 years ago
Xavier Arteaga
a96a7fe20a
Removed srsue_phy from thread_test
5 years ago
Xavier Arteaga
ad46fc006f
srsLTE: Fix thread memory leak. Moved test. Fix CLang warnings.
5 years ago
Andre Puschmann
41be303f27
fixing NAS PCAP ctor
5 years ago
Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Andre Puschmann
486b42e5a7
dynamically allocate log_str buffer for hex dumps
...
the developer needs to make sure that [info,debug,warning,error]_hex() is used
wisely in the code as all log_str are now heap-allocated
5 years ago
Francisco Paisana
c7f11e5690
fixed issue with the liblte_s1ap transparent container packing
5 years ago
Andre Puschmann
7885b5b9ee
add CMake flag to enable 5G-NR components
5 years ago
Andre Puschmann
6f72cbffab
fix snprintf of uint64 for ARM
5 years ago
Francisco Paisana
1400777639
removed 1st thread from GTPU
5 years ago
Francisco Paisana
a9a33256e9
fixed some of the net utils functions
5 years ago
Francisco Paisana
546ee98879
fixed small issue that was causing compilation errors
5 years ago
Francisco Paisana
2de0eee9c7
clean up some comments
5 years ago
Francisco Paisana
76673d2d40
cleaned up socket util methods, and made the S1AP non-blocking.
5 years ago
Francisco Paisana
2c3e4a3daf
creation of util class net_addr_t that provides methods for conversion of IP addr const char* to sockaddr_in
5 years ago
Francisco Paisana
31dffde6c3
simplified interface and made it more generic to different types of sockets
5 years ago
Francisco Paisana
e37a718f21
created a sctp socket class
5 years ago
Justin Tallon
4a1b8a5952
adding support for neon soft demodulation, adding cmake checks for aarch64
...
* adding support for neon soft demodulation, adding cmake checks for aarch64
* rearranging some arm cmake flags
5 years ago
Andre Puschmann
f4a0bebe1f
fix handling of invalid MAC LCIDs
5 years ago
Andre Puschmann
aa9733eb59
add packing for CCCH over UL-SCH for MAC NR
5 years ago
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
5 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.
5 years ago
Pedro Alvarez
9597cc4c14
Clang-formated liblte_*
5 years ago
Ismael Gomez
d595c4d882
Fixes issue #545 and unlocking of tti_sync condvar before closing causing deadlock at stop
5 years ago
Andre Puschmann
92f0d58856
mac: move further init/config into ctor to allow early logging, etc.
5 years ago
Andre Puschmann
82a69fb51c
mux: fix packing of short MAC PDUs
5 years ago
Andre Puschmann
4aaa0473b9
pdu: remove unused variable total_sdu_len
5 years ago
Andre Puschmann
fab75592ec
fix MAC PDU padding with only padding and add test accordingly
5 years ago
Andre Puschmann
b6d7fd5def
improve error handling in PDU packing
5 years ago
Andre Puschmann
da35f41dd5
rework MAC logical channel prioritization
5 years ago
Xavier Arteaga
bb26a42fb6
Fixed backtrace symbols free
5 years ago
Andre Puschmann
414e55fafc
pcap: add dtor
...
this fixes issue if object is destroyed and PCAP is still open
5 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
6 years ago
Pedro Alvarez
c3ef88e112
Fixing conflicts with next.
6 years ago
Pedro Alvarez
ff49e56871
Starting to add s1ap_pcap class.
6 years ago
Pedro Alvarez
32a5c6a92f
Starting to add s1ap_pcap class.
6 years ago
Pedro Alvarez
7aaa9a1789
Moved srslte_debug_handle_crash to common/debug.c
6 years ago
Pedro Alvarez
96786e96da
Splitting the lib debug into phy and common debug.
6 years ago
Ismael Gomez
0dae08f812
Removed printf
6 years ago
Ismael Gomez
a2615628aa
Increase buffer pool size for enb
6 years ago
Andre Puschmann
87fd218c72
remove unused cond variable in logger
6 years ago
Andre Puschmann
4deb251071
remove duplicate run-state variable in logger_file
6 years ago
Pedro Alvarez
58823b1611
Destroying condition variable.
6 years ago