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
Pedro Alvarez
28844b54dd
Possible fix for #164 .
6 years ago
Pedro Alvarez
f301bb6373
Merging next into op_vs_opc and resolving conflicts.
6 years ago
Andre Puschmann
81882aae8b
white-space fix
6 years ago
Pedro Alvarez
fd97caadb3
Revert "Merge branch 'op_vs_opc' into next"
...
This reverts commit be2276b8da
, reversing
changes made to 4d3fd342f7
.
6 years ago
Pedro Alvarez
c717148d54
Revert "Do not print OPc debug"
...
This reverts commit 5fe329971a
.
6 years ago
Pedro Alvarez
75c5e476f1
Added OPc option to UE. (needs testing.)
6 years ago
Pedro Alvarez
721be55f4f
Fixing compute_OPc compilation issue.
6 years ago
Pedro Alvarez
aec0f3f5ac
Starting to change f* to expect OPc. Making compute_OPc public function.
6 years ago
Pedro Alvarez
e3d1cff4a3
Revert "Adding OPc option to security functions."
...
This reverts commit 0eeb70bede
.
6 years ago
Pedro Alvarez
0eeb70bede
Adding OPc option to security functions.
6 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
Joseph Giovatto
ab1d9e98f3
Format and typelimit warnings ( #169 )
...
* merge with origin 4fc7dbc3
8daa8346
* fixed whitespace diff
* added .gitignore
* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS
* Revert "added format warning flags to C_FLAGS"
Apply to branch format_and_typelimt branch
This reverts commit bf7467e82e
.
* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
7 years ago
Joseph Giovatto
9f5069cdc8
Format and typelimit warnings ( #169 )
...
* merge with origin 4fc7dbc3
8daa8346
* fixed whitespace diff
* added .gitignore
* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS
* Revert "added format warning flags to C_FLAGS"
Apply to branch format_and_typelimt branch
This reverts commit bf7467e82e
.
* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
7 years ago
Andre Puschmann
a2f6166365
Merge branch 'next' into rlc_updates
7 years ago
Ismael Gomez
ab78eb6d58
Process BCCH from pdu_process thread. Process PCCH from new thread in RRC
7 years ago
Pedro Alvarez
1bd13ea5dd
Debug print in liblte_security.
7 years ago
Pedro Alvarez
553006198a
Testing if OPc is causing auth problems with SYSMOCOM SIMs.
7 years ago
Ismael Gomez
99253cb703
Cherry picked fixes from PR #160
7 years ago
Andre Puschmann
61a24cbd4a
Merge branch 'next' into rlc_updates
7 years ago
Joseph Giovatto
802f8b716f
set msg and hex buf to const *
7 years ago
Joseph Giovatto
4e05266ea8
added printf format check for hex logs
7 years ago
Andre Puschmann
4ea5fe6509
Merge branch 'next' into rlc_updates
7 years ago
Joseph Giovatto
49da57c8a1
Changed log methods to take string literal vs string object
...
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
7 years ago
Andre Puschmann
3db9ddcd36
remove various debug prints
7 years ago
Andre Puschmann
e7c74fa0f7
add simple RLC PCAP writer
7 years ago
Andre Puschmann
c5b423ffee
fix subheader parsing
7 years ago
Ismael Gomez
682ed433b2
Possible fix to #167
7 years ago
Ismael Gomez
599cf9bc07
Resolved conflicting commits d66a455479
and c850e2f87a
7 years ago
Andre Puschmann
d66a455479
add check for invalid nof subheaders in MAC PDU
7 years ago