Francisco Paisana
6e34dadce2
reverted back to tuples to store fsm state_list
5 years ago
Francisco Paisana
4036a6887a
clean up enter/exit state methods
5 years ago
Francisco Paisana
8d3427e88a
removed namespacing from state printing
5 years ago
Francisco Paisana
b699e0e490
enter/exit moved outside of the states, into the fsm. Now i just use the type_name function to get a state name
5 years ago
Francisco Paisana
4a4827a603
created a method to detect unhandled events
5 years ago
Francisco Paisana
ec3ef4474e
created a simple procedure fsm
5 years ago
Francisco Paisana
1aae510e9d
enter/exit are now being called in order
5 years ago
Francisco Paisana
2e15514d00
fix enter/exit calls
5 years ago
Francisco Paisana
dc0427804f
clean up comments and add some util functions
5 years ago
Francisco Paisana
7dc1489ea7
reintroduced optional enter/exit methods for each state
5 years ago
Francisco Paisana
6675e92806
implement fsm based on choice type
5 years ago
Francisco Paisana
018f9e7db2
implement visit pattern
5 years ago
Francisco Paisana
278a1686fb
creation of choice/variant type
5 years ago
Francisco Paisana
344eaf49ec
use logmap in the whole enb and ue
5 years ago
Francisco Paisana
8e837e173d
printf has already a way to pad spaces. If we use it, we can avoid accidentally adding extra logs because we did srslte::logmap::get("MAC") instead of srslte::logmap::get("MAC ")
5 years ago
Francisco Paisana
82cb6baef0
now the whole ue and enb mac uses the logmap
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
Francisco Paisana
5330249625
created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure
5 years ago
Francisco Paisana
7548402632
change scell activation interface to use arrays. Added a method to the scheduler to get the current set of activated carriers
5 years ago
Francisco Paisana
6b96d21732
extension of the timer test to check safe running timer erasure
5 years ago
Francisco Paisana
5b2da779b7
new method in timer_handler to dispatch calls without an associated unique_timer
5 years ago
Francisco Paisana
e859d622c7
added logref class to forbid logmap pointer invalidation. Created a test for the logref, and introduced it in the scheduler, rrc and nas
5 years ago
Francisco Paisana
64c9302b43
added wireshark generation to SCell Activation CE pdu_test
5 years ago
Francisco Paisana
e51e2ac062
added scell activation to pdu_test
5 years ago
Andre Puschmann
ed179fd311
timers: rename value() to time_elapsed()
...
this seems to be better readable than value() since
we've sometimes confused it with the timeout value
5 years ago
Xavier Arteaga
0edd8f74d8
fix memory leak in timer test
5 years ago
Xavier Arteaga
b88a8635f1
Reduce stress timer test number of timers
5 years ago
Xavier Arteaga
e0cc1fd697
Reduce time of timer_test; use unique_lock instead of guard
5 years ago
Xavier Arteaga
22da8dfbb1
srsLTE: protected priority queue in timers
5 years ago
Francisco Paisana
c8cd12ac53
updated the test logging utils
5 years ago
Francisco Paisana
c537d38650
separated sched tests based on output into a separate file. Added scheduler random tester to unit tests
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
Francisco Paisana
91d83fc20d
different way to retrieve a proc future
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
cf1e742120
add a simple log_filter test to print a long hex message
...
the purpose of this is to show that the hex message is cut if the
lenght exceeds the size of the preallocated buffer
5 years ago
Andre Puschmann
7885b5b9ee
add CMake flag to enable 5G-NR components
5 years ago
Francisco Paisana
c9f092e8e9
created a nullsink and a TESTASSERT for C
5 years ago
Francisco Paisana
b0e0b3232f
fix linking issue
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
Francisco Paisana
131b1a7e41
added a class to handle multiple sockets via a select
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
Francisco Paisana
9ae5563331
fixed timer issue with setting the duration. Setting the duration cannot reset the on-going timer run
5 years ago
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
5 years ago
Francisco Paisana
5953d5ef96
fixed some potential bug related to timer getting stopped, but signaling that it expired
5 years ago