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
Francisco Paisana
67d6a25194
Moving mac timers to stack timers ( #638 )
...
* first step towards moving MAC timers to stack. Mac is still using its own timers. srslte::timers class can be restructured.
* moved timers out of the UE MAC
5 years ago
Francisco Paisana
c9d3b61038
added resumable procedures to make RRC and NAS non-blocking
5 years ago
Andre Puschmann
e42449532b
fix wrong namespace definition in various places
5 years ago
Pedro Alvarez
6efa944b5e
Removed srslte prefix from pdcp_config_t
5 years ago
Pedro Alvarez
3da0391fff
Adding default initializers to PDCP config.
5 years ago
Pedro Alvarez
494be243c0
Changed security direction to use an enum.
5 years ago
Pedro Alvarez
f90b69e5f4
More clang-format for PDCP
5 years ago
Pedro Alvarez
491695ab77
Clang-formated PDCP NR PR.
5 years ago
Pedro Alvarez
d3b6828082
Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine.
5 years ago
Pedro Alvarez
73e30743d1
Added enum to PDCP config to replace two bools.
5 years ago
Pedro Alvarez
457f35699d
Reverted back to a single config structure between PDCP NR and PDCP LTE.
5 years ago
Pedro Alvarez
9d0db108c6
Continue to add PDCP tx test
5 years ago
Pedro Alvarez
2081b22465
Added PDCP_SN_LEN constants. Added bearer_id and direction back to the pdcp_entity_base.
5 years ago
Pedro Alvarez
52f75c3cf2
Starting to add PDCP NR state variables.
5 years ago
Pedro Alvarez
1944bf9a80
Continue to split pdcp_entity_lte and pdcp_entity_nr. Compiling now.
5 years ago
Pedro Alvarez
005d03cb1a
Starting to split pdcp_entity into pdcp_entity_lte and pdcp_entity_nr to support NR PDCP
5 years ago
Andre Puschmann
09610ce788
add type setter to sch_subh and use it for MCH PDUs
5 years ago
yagoda
408400bee6
adding fixes and tests for eMBMS
5 years ago
Andre Puschmann
9ee415ac82
correct the max size for a single TB
...
since the size in bits is counted per TB we don't need to allocate
space for the 2x2 MIMO case. Both CW have their own buffer.
5 years ago
Ismael Gomez
c9c43e44e9
Fixed PDU buffer size
5 years ago
Pedro Alvarez
9597cc4c14
Clang-formated liblte_*
5 years ago
Andre Puschmann
4e86b2f6b2
introduce layerd architecture we use for UE to eNB
...
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
5 years ago
Andre Puschmann
92f0d58856
mac: move further init/config into ctor to allow early logging, etc.
5 years ago
Francisco Paisana
b936629221
removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests
5 years ago
Francisco Paisana
bb0dbf0f1c
created a asn1 utils with helper functions and types related to the asn1. These types/functions will help isolate the rrc_asn1 lib from most of the layers, reducing this way the compile times, and leading to better isolation. This will also make the transition to NR smoother. I removed the asn1 types from the NAS and USIM interface so far.
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
b6d7fd5def
improve error handling in PDU packing
5 years ago
Andre Puschmann
da35f41dd5
rework MAC logical channel prioritization
5 years ago
Andre Puschmann
414e55fafc
pcap: add dtor
...
this fixes issue if object is destroyed and PCAP is still open
5 years ago
Pedro Alvarez
d67d18cc6b
Removing deplicated error codes.
5 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
709e769d0d
pdu: fix formatting
6 years ago
Andre Puschmann
ea2e692836
pdu: fix MAC RAR PDU packing and unpacking with backoff indicator
6 years ago
Francisco Paisana
00256f2cd9
fix the hanging in the UE during shutdown
6 years ago
Andre Puschmann
58b09c8677
fix pool_allocate macros for new unique_buffer
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
Francisco Paisana
0e3baa0f2f
Renamed the reset() method of byte_buffer_t to clear()
6 years ago
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
6 years ago
Francisco Paisana
bc01a5ecda
changed block_queue api to return back the unique buffer in case it fails to push it to the queue
6 years ago
Francisco Paisana
f4aa03154d
change queue read and other functions apis
6 years ago
Francisco Paisana
f469e2178b
replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use
6 years ago
Francisco Paisana
0976ea6f27
created a unique byte buffer that automatically deallocates
6 years ago
Andre Puschmann
62dad5e21d
add nb-iot tag support to PCAP writer
6 years ago
Francisco Paisana
7be183c223
rework scheduler
6 years ago
Xavier Arteaga
2aa36dd11c
Added backtrace print helper
6 years ago
Andre Puschmann
fcd086a1c5
fix metrics_hub compilation for older gcc using std::chrono
6 years ago
Andre Puschmann
0f6997170b
fix unitialized var in pdu.h
6 years ago