Francisco Paisana
4ac07e5abb
simplified power off state transition
5 years ago
Francisco Paisana
ff988127fe
wrote nas fsm test
5 years ago
Francisco Paisana
977a1acc5e
eliminated unhandled_event special function. Use react instead.
5 years ago
Francisco Paisana
6e34dadce2
reverted back to tuples to store fsm state_list
5 years ago
Francisco Paisana
dbbeb1ec3b
fix log order
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
dd377becaa
small fixes in state transitions
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
7c76a64238
fix move/copy correctness
5 years ago
Francisco Paisana
be5a33f9b7
deleted unused fsm methods
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
a2ade9edd1
break down rrc_interface_types.h into multiple files. moved pdcp_config.h to same folder
5 years ago
Francisco Paisana
2950d26daa
remove asn1 namespace from srsue files
5 years ago
Andre Puschmann
9307a54512
pdcp: adding enable_security_timed() method
...
this is an extension to the currently available security
configuration and activation methods provided by PDCP.
The new call allows to specify a Rx and Tx SN after which the
entire security config, i.e. integrity and ciphering, should
be enabled.
this is mainly required for the PDCP entity of the conformance
testing SS but could potentially also be used by the eNB
to enable security for PDCP after sending the SecModeCommand
for example.
the extra call was added to not break the existing API.
5 years ago
Pedro Alvarez
f4d648b26e
Removed rx_count state variable from PDCP LTE entity. Updated get_bearer_status(...) acordingly. Added get_last_submitted_rx_count() getter.
5 years ago
Andre Puschmann
70b13198b2
pdcp: update local rx_count variable when accepting incoming PDU
...
before the SN was read but the rx_count was never updated.
when get_dl_count() or get_bearer_status() were called, invalid
values were returned
5 years ago
Andre Puschmann
447c740bb5
pdcp: streamline PDCP info logs with RLC style
5 years ago
Francisco Paisana
7932a6bed7
allow the use of move_tasks in procedures
5 years ago
Daniel Willmann
925225dbeb
Implement Close UE Test Loop/Complete messages
...
This commit implements support for the CLOSE_UE_TEST_LOOP message.
Currently the mode is not saved and looping the data is not implemented.
Only the *_COMPLETE message is sent back as a response.
5 years ago
Andre Puschmann
057844d7d6
signal_handler: increase alarm timeout to 5s and use raise instead of exit()
...
it seems that exit() causes problems when threads couldn't be stopped
properly, which is the reason why we have to call alarm() in the first place.
therefore, send a SIGKILL to our process and make sure we don't leave any
zombie threads running.
5 years ago
Xavier Arteaga
9a2b0b7cc7
Standard vector allocation uses vector library
5 years ago
Xavier Arteaga
25312e81b4
SRSUE: cell select RRC MEAS CFO is carried to PHY Cell object
5 years ago
Xavier Arteaga
6d355ab61e
SRSUE: Fix HO initial CFO
5 years ago
Francisco Paisana
c661025cda
fix log tti, and print a warning when the ul_harq tti does not match existing ones
5 years ago
Francisco Paisana
30ae2226c1
common interface for stack multiqueue tasks, background tasks and timers
5 years ago
Andre Puschmann
6911ee3004
soapy: add macro to disable stream stopping before changing sample rate
5 years ago
Andre Puschmann
d32b4d5529
fix benchmark_radio example
5 years ago
Andre Puschmann
62e4bd9469
log_ptr: fix issue if accessing log_ptr that was reset already
...
during deinit of the UE/eNB it could happen that the log_ptr
was already set to null but the stack thread was still accessing
it through log_h->info()
i've moved the old macro into a new header and used as as much
as possible. there are still places in the code where similar
macros are used but we would need to change the variable name
to replace them
5 years ago
Andre Puschmann
ed646de7f1
soapy: fix segfault when launching and no device args where provided
5 years ago
Andre Puschmann
c82e7d313a
soapy: fix stream setup for new Soapy API
...
this caused an issue when compiling with latest SoapySDR drivers
that changed API for setupStream
5 years ago
Andre Puschmann
94c6034339
nas: rename start_attach_request to start_attach_proc
...
this is to better differentiate from "send_attach_request" that
only packs and send the actual attach request message. The
entire attach procedure may include PLMN search, etc.
5 years ago
Andre Puschmann
0e76b9ed15
nas: set NAS key set identifier to no key available when attaching with IMSI
5 years ago
Andre Puschmann
890f346808
pdcp: fixing LTE rx test
...
the test was introducing two lost SN and the number of expected SDUs
wasn't changed. Changed now counters, etc to only drop one SN.
5 years ago
Francisco Paisana
67f6eebf61
fix rlc stress test to reflect threading in stack
5 years ago
Francisco Paisana
575475962f
the rlc um rx does not need a mutex bc it is always called in the stack thread
5 years ago
Ismael Gomez
8e07547909
Fix device_args in x300 when setting master_clock
5 years ago
Andre Puschmann
175f7fd587
pdcp: turn warning of PDCP duplicate into debug message
5 years ago
Andre Puschmann
5e9aa38551
pdcp: add test for reception of dublicate PDU
5 years ago
Xavier Arteaga
cca3cccfbe
Improved fading model generation
5 years ago
Xavier Arteaga
a44a61d781
Fix HST channel emulator for keeping coherent phase between frames
5 years ago
Francisco Paisana
9f5c2cb92f
fix net log setup
5 years ago