Andre Puschmann
7a66a00e15
block_queue: add method to check if given queue is full
4 years ago
Francisco Paisana
5e06430455
removal of stack handler interface
4 years ago
Francisco Paisana
7c364070ee
creation of task scheduler interface for classes/functions running outside the main control thread
4 years ago
Francisco Paisana
039977aeb5
renamed interfaces
4 years ago
Francisco Paisana
1a9c04bf2f
use of task scheduler handle in pdcp
4 years ago
Francisco Paisana
e9f34c7613
using task scheduler in enb stack
4 years ago
Francisco Paisana
4f5e65781f
created task scheduler class to deal with timers, thread pool, multiqueue, internal tasks
4 years ago
Pedro Alvarez
89b6e0f714
Send paging message to all cells.
4 years ago
Francisco Paisana
e550bf726d
updated fsm to allow enter methods to receive event that caused them
4 years ago
Andre Puschmann
96726a03e0
rlc_stress_test: fix PCAP support
...
expose actual RLC configuration to PCAP object
4 years ago
Francisco Paisana
9855749e9a
remove comments
4 years ago
Francisco Paisana
eee195c828
remote commented lines and added comments
4 years ago
Francisco Paisana
8ea059d578
fix pnf messages and shutdown
4 years ago
Francisco Paisana
e555e50a90
fix pnf packing for MIB messages
4 years ago
Francisco Paisana
e3e9bbcd62
fix PNF PDU size cutting
4 years ago
Ismael Gomez
29e126a583
Add per-channel TX gain ( #1450 )
...
* Change type of rf_set_gain() to avoid unambiguous return with negative gains
* Add per-channel TX gain
4 years ago
Francisco Paisana
f0874b780b
add radio_base/null classes
4 years ago
Francisco Paisana
64e8f5e3ed
update license year
4 years ago
Xavier Arteaga
f04cf2090a
Integrates number of samples in radio buffer
...
Fix minor issue
Radio: Fix minor bug and add unit test
4 years ago
Xavier Arteaga
de230826b9
Added string helper for removing spaces and parsing list
...
Fix
Fix string parser
4 years ago
Andre Puschmann
1f73e6ae69
multiqueue: add option to create queue with non-default capacity
...
this allows to create a queue that has a non-default capacity
currently this is 8192, but the value might now be suitable in some
cases like for TTI sync events
4 years ago
Francisco Paisana
cc52edf820
added latest pnf/vnf api updates
4 years ago
Francisco Paisana
b05ce2fe57
added pnf_dummy test
4 years ago
Francisco Paisana
8a022fb35b
fix noexcept declaration issue in gcc4.8
4 years ago
Francisco Paisana
6509399ed3
fix for move-only events
4 years ago
Francisco Paisana
12dda03bb8
add ability for fsms to self-trigger
4 years ago
Francisco Paisana
d859c33035
added check for UCI collision during DL scheduling for CA
4 years ago
Andre Puschmann
8512c10286
create simple helper method to log command line arguments
4 years ago
Francisco Paisana
c6dde24476
avoid blocking when new procedure is launched from within proc::then call
4 years ago
Daniel Willmann
0e99e2f6eb
srsue: Refactor definition to live in its own .cc file
4 years ago
David Rupprecht
61b69a0dab
security: refactor code, fix race in eia1
...
* state funktion for eia1 (mitigate race condition)
* Extra file for snow3g
* just use mbedtls aes
* ref specification
* adding const keyword to security functions
5 years ago
Francisco Paisana
b4b5cd7cd6
added nr gnb and ue interfaces
5 years ago
Francisco Paisana
8e9da9d12e
avoid creating unused static variable to avoid linking issues
5 years ago
Francisco Paisana
c87197dd4e
fix deadlock in multiqueue reset method.
5 years ago
Pedro Alvarez
6ce33c3812
Small compilation fixes for GCC 10.1
5 years ago
Francisco Paisana
f43985b6cd
small updates for testing handover and configuring the rrc
5 years ago
Francisco Paisana
d43448e8a1
created security cfg handling class for rrc ue and refactor bearer_list handling
5 years ago
Francisco Paisana
65abcd2903
use true_type to represent success
5 years ago
Francisco Paisana
791d84e639
created error_type and cleaned up expected
5 years ago
Francisco Paisana
9a7f48b6a5
fix gcc4.8 compilation issue
5 years ago
Francisco Paisana
0f49cb7357
abort if bad access
5 years ago
Francisco Paisana
a2b76a4a5f
use references rather than pointers
5 years ago
Francisco Paisana
a88bffa5d5
created expected type and respective test
5 years ago
Francisco Paisana
cf9d31ea64
fix coverity warning for useless call
5 years ago
Francisco Paisana
2204cab4c8
old gcc version cannot support the detected pattern. Removing it
5 years ago
Francisco Paisana
3ef8c67d67
enter/exit are now inside the state class. No need for friend classes anymore
5 years ago
Francisco Paisana
2641c6ef08
resolve template type derivation in clang
5 years ago
Francisco Paisana
9b48130ae1
use of transition table to support guards in fsms
5 years ago
Francisco Paisana
04e192eb0f
redesign fsm to use transition table
5 years ago
Francisco Paisana
e5533e4bcd
gcc 4.8.5 does not have std::max_align_t
5 years ago
Francisco Paisana
f8c6f55cac
fix uninit var usages and signed bit manipulations
5 years ago
Francisco Paisana
de4d58d8fe
fix coverity scan issues in master
5 years ago
Francisco Paisana
38f848ecdf
fix type name deducing for clang
5 years ago
Francisco Paisana
12b2ea7dde
remove warnings for base classes with no virtual dtors
5 years ago
Francisco Paisana
b8e6ba02e4
remove warnings related to unused vars and fwd declarations with trivial dtors
5 years ago
Francisco Paisana
df06443470
use c++ variadic template instead of variadic function
5 years ago
Francisco Paisana
3da8464a21
fix compilation issue with lack of override keyword and scoping in fsm
5 years ago
Francisco Paisana
e1ac6d7cfe
use macro to disable throw
5 years ago
Andre Puschmann
5d92111586
pcap: adding SL-SCH support
5 years ago
Francisco Paisana
0526ae8ab1
updated rrc mobility parsing. added some utility methods
5 years ago
Francisco Paisana
6ddedd5972
moved pdu to common mac folder
5 years ago
Francisco Paisana
df0da116ce
removed enter state visitor, and srslte::same_state return special case in fsms
5 years ago
Francisco Paisana
63142899d1
simplified some of the fsm sfinae conditions
5 years ago
Francisco Paisana
6322e447e9
fixed issue with subfsm revisits not starting in initial substate
5 years ago
Francisco Paisana
e1dc9cae15
added extra comments
5 years ago
Francisco Paisana
28467d568d
eliminated old way to schedule tasks using the heap
5 years ago
Francisco Paisana
d40dcd28f3
removed uneeded swap method
5 years ago
Francisco Paisana
b5abba41a3
use normal polymorphism to create vtable
5 years ago
Francisco Paisana
e2b10307ea
changed inplace_task name to move_callback
5 years ago
Francisco Paisana
ee50ed08c2
allow inplace task to be called in const contexts
5 years ago
Francisco Paisana
8d1beb42bd
fix leak in inplace task destructor
5 years ago
Francisco Paisana
1061f2144b
add consts
5 years ago
Francisco Paisana
cd9c722aa0
avoid branching in inplace_task
5 years ago
Francisco Paisana
ef834b3c60
changed inplace_task file name
5 years ago
Francisco Paisana
a6b7c5d1d2
inplace task now uses small buffer optimization for bigger captures
5 years ago
Francisco Paisana
4b2b76cf01
created inplace task to avoid mallocs in task enqueuing
5 years ago
Francisco Paisana
c09f76ed6c
unified stack task defer method
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
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
7932a6bed7
allow the use of move_tasks in procedures
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
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
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
Francisco Paisana
344eaf49ec
use logmap in the whole enb and ue
5 years ago