Andre Puschmann
2e64fff1df
common: extend timestamp interface for byte_buffer
...
* allow setting timestamp to a specific std::chrono::time_point
* add getter from raw tp
2020-12-17 17:46:55 +01:00
David Rupprecht
62b558fccf
Move rat type to common header
...
Removed phy measurement from rrc interface phy
Updated rrc interface for handling measurements
2020-12-16 14:12:38 +01:00
Ismael Gomez
0498439d41
Backport some changes from FAPI branch ( #2124 )
...
* Reorder DCI FORMAT enum
* Fix endianness issue
* Fix return codes in phy_ue_db
* Log members should be destructed after the layers.
* Add JSON metrics and Events. Add Alarm log channel. Simplify MAC metrics struct.
* Restore metrics_stdout change
2020-12-16 13:48:48 +01:00
Francisco Paisana
0f693b36b2
changed pdu latency calculation to std chrono
2020-12-14 13:47:05 +01:00
Francisco
e2654e69ec
Enable pdu stack latency measurements in the eNB.
2020-12-14 13:47:05 +01:00
Francisco
b86d2ab7d0
move choice_type to adt folder
2020-12-12 15:59:27 +01:00
Andre Puschmann
00a6e16c14
update license header for liblte_*.{h,cc} files
...
user license-agnostic text to refer to license file.
make sure copyrights/years are correct.
2020-12-12 15:59:26 +01:00
Andre Puschmann
47c5f9e85b
remove AGPL header from remaining cpp files
...
* also add commercial header to come CMake helpers
2020-12-12 15:59:26 +01:00
Andre Puschmann
b9f363db9a
ssl: rename liblte_ssl.h to ssl.h
2020-12-12 15:59:26 +01:00
Francisco
82d057345b
fix compilation issue with user-defined fmt formatter
2020-12-12 15:59:26 +01:00
Francisco
86ab1864f7
The struct tti_point is now used ubiquitously in the scheduler
2020-12-12 15:59:26 +01:00
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
2020-12-12 15:59:25 +01:00
Pedro Alvarez
d05bc064b5
Reduced SCTP connect() timeout.
...
Added configuration for RTO_MAX. Cleanup debug prints.
2020-12-12 15:58:34 +01:00
Francisco Paisana
88105c1577
change the namespace of tti point helper functions for the eNB
2020-12-12 15:58:33 +01:00
Pedro Alvarez
4c1416b84f
Remove redundant declaration of EIA2
2020-10-16 11:11:51 +01:00
Francisco Paisana
e7239163e9
silence noisy unhandled in_sync_ev logs
2020-10-12 18:24:14 +01:00
Francisco Paisana
b7ed8b1858
- added react method to to_state<...> transitions
...
- s1 handover composite state simplified
- the eNB now starts a HO cancellation when it receives an invalid
Handover Command
- the FSM log now prints the current state when it receives an unhandled
event
2020-10-12 18:24:14 +01:00
Andre Puschmann
30b8848ea9
metrics_hub: protect access to vector of metrics_listener
...
prevent potential race between metrics hub thread trying
to access the metrics vector and another thread
adding another element to it
2020-10-08 12:30:57 +02:00
Pedro Alvarez
5a4e71a6e4
Created k_enb_context structure that holds k_enb, NCC and NH to make it easier to restore context from failed handover.
2020-10-08 09:46:34 +01:00
faluco
079ae70e64
- Fix logs entries having two newlines instead of one. The old log formatter will delegate this to the new one.
2020-10-01 17:06:41 +02:00
faluco
dfeed52514
- Rename out_stream function to console.
2020-09-29 17:38:13 +02:00
faluco
62faef7c71
- Replaced all uses of the log::console method.
2020-09-29 17:38:13 +02:00
faluco
302f9793ca
- Add common utils to print to stdout and stderr as a first step to remove the log::console method.
2020-09-29 17:38:13 +02:00
faluco
f0d651ae8e
- Fixed a leak in the MME class not releasing the static byte buffer pool.
...
- Now the pool gets destroyed on program exit using a unique_ptr.
- Removed manual cleanup() calls in all the code base to free the pool instance.
2020-09-22 18:00:50 +02:00
Andre Puschmann
6dc7841369
epoll_helper: move code to block OS signals into own helper function
...
before epoll can handle signals, the calling thread needs to block
them. the blocking needs to happen before any other threads get
spawned so they inherit the mask.
2020-09-14 21:20:00 +02:00
faluco
5e8a4c898d
Bring back the circular array object. ( #1712 )
2020-09-09 17:16:47 +02:00
Andre Puschmann
e80aa0a553
add circular array class to simplify access to truly circular arrays
2020-09-07 15:56:48 +02:00
faluco
12e82a947f
LTO compiler and linker fixes ( #1676 )
...
* Guard the LTO feature in a CMAKE option and document possible issues of using it.
2020-09-02 09:21:56 +02:00
Xavier Arteaga
df2c949417
Radio: add individual Rx gain and integrate in srsue
...
Fix compilation
Fix compilation
Add missing variable. Wasn't compiling
Radio: revert some changes
2020-08-27 09:31:05 +02:00
Xavier Arteaga
029f36b449
srsLTE: added efficient integer resampler and srsue/srsenb integration
2020-08-25 16:19:52 +02:00
Francisco Paisana
7cd4f45d62
fsm refactor.
...
- avoid triggering directly a subfsm
- improved metafunctions
- other cleanups
2020-08-18 16:07:21 +01:00
Francisco Paisana
841b884796
remove extern C flags from common_helper.h
2020-08-18 13:54:23 +01:00
Francisco Paisana
a2b8bc9e0a
check all cpus scaling governor
2020-08-18 13:54:23 +01:00
Francisco Paisana
5be5409f62
scaling governor function moved to common header file
2020-08-18 13:54:23 +01:00
Francisco Paisana
c1755727d7
changed interval method names, and added comments and assertions
2020-08-14 15:06:06 +01:00
Francisco Paisana
caf862c99f
moved expected, bounded_bitset, move_callback to adt folder. created a test for bitset
2020-08-13 13:13:34 +01:00
faluco
eb4b2d4e43
- Added a clarification comment on why to use make_span.
...
- Moved byte_buffer utilities to common.h thus breaking the dependency of ADT to COMMON.
- Fixed compilation failures in tests.
2020-08-11 19:47:26 +01:00
Francisco Paisana
a9d882c1f1
fix task_scheduler_test. Fix potential reference invalidation in task_scheduler internal tasks data structure
2020-08-11 17:16:06 +01:00
Francisco Paisana
0f67bee556
creation of a scope exit standalone file. Created a new folder ADT. Added test for scope exit.
2020-08-10 17:23:43 +01:00
faluco
cfd3f51931
Import of srslog into srsepc and srsenb. ( #1574 )
...
* - Import of srslog into srsepc and srsenb.
* - Removed logger_file and logger_stdout files.
2020-07-30 19:17:23 +02:00
faluco
efdff8ba4c
Import srslog into srsue ( #1556 )
...
- Import the srslog project into srslte.
- Ported srsue app to use the new logging framework.
- Implemented a wrapper that dispatches log entries to srslog.
- Renamed an existing log test to be more specific to avoid name clashes.
2020-07-22 16:04:18 +02:00
Francisco Paisana
36fc88d2e2
fsm log macros, and utility methods to convert event callbacks to move tasks
2020-07-14 13:33:50 +01:00
Francisco Paisana
9c5471b094
more ergonomic event callback
2020-07-14 13:33:50 +01:00
Francisco Paisana
d48a45976e
moved cell selection/search complete event signalling out of phy_controller
2020-07-14 13:33:50 +01:00
Francisco Paisana
489969722e
implemented phy controller FSM to perform cell selection & search. The controller also tracks the phy sync state
2020-07-14 13:33:50 +01:00
Andre Puschmann
7a66a00e15
block_queue: add method to check if given queue is full
2020-07-13 17:05:28 +02:00
Francisco Paisana
5e06430455
removal of stack handler interface
2020-07-13 11:19:25 +01:00
Francisco Paisana
7c364070ee
creation of task scheduler interface for classes/functions running outside the main control thread
2020-07-13 11:19:25 +01:00
Francisco Paisana
039977aeb5
renamed interfaces
2020-07-13 11:19:25 +01:00
Francisco Paisana
1a9c04bf2f
use of task scheduler handle in pdcp
2020-07-13 11:19:25 +01:00