Andre Puschmann
58763fb714
stack: move initialization of log object into ctor
...
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
5 years ago
Ismael Gomez
000c9c87b4
Fix UE blocking when detaching while disconnected
5 years ago
Ismael Gomez
80887891d2
Fix UE reattaching after Release
5 years ago
Ismael Gomez
27552a1d72
Set correct default values for SRB PRB
5 years ago
Ismael Gomez
c7bafdd46c
Fix BSR-reTX timer handling causing blocking when bad UL channel
5 years ago
Ismael Gomez
9e6a9e0d03
Fix reestablishment mutex lock when called from RLC max retx
5 years ago
Ismael Gomez
63794aa2dc
Fix invalid memory access in PHY measurements
5 years ago
Ismael Gomez
ebe97221da
Do not check periodic-BSR during retx-BSR expiration
5 years ago
Pedro Alvarez
8f5ad55c4a
Added attach request as a UL info trasnfer in the UE. Added interface to remove eps bearer map when going idle. Fixed bug in GW in assignment of IPv4 addresses. UE seems to rebound from the service reject now.
5 years ago
Andre Puschmann
8a6c1ea826
explicitly destruct stack components before cleaning up buffer pool
5 years ago
Andre Puschmann
23c8fc89c5
rrc: fix PBR and BSD default values
5 years ago
Andre Puschmann
bb836488ef
mux: do not print priority info if the LC config is only updated
5 years ago
Andre Puschmann
34d2eb761f
mux: use updated SDU length when adding new SDUs
5 years ago
Andre Puschmann
59355e79ff
remove newline in log when starting UE
5 years ago
Andre Puschmann
82a69fb51c
mux: fix packing of short MAC PDUs
5 years ago
Andre Puschmann
dffbc4404f
add three more MAC tests for short PDUs
5 years ago
Andre Puschmann
0012868e91
rlc_am: reduce log level when provided PDU size is too small
5 years ago
Andre Puschmann
a3d95c8370
simplify SDU allocation and remove unneeded checks
5 years ago
Andre Puschmann
69e948bd5e
mux: improve logging during SDU allocation
5 years ago
Andre Puschmann
a4dab1081e
mux: fix code formatting and simplify UL-CCCH packing
5 years ago
Andre Puschmann
4aaa0473b9
pdu: remove unused variable total_sdu_len
5 years ago
Andre Puschmann
7145cd2358
fix padding BSR generation and add test for it
5 years ago
Andre Puschmann
fab75592ec
fix MAC PDU padding with only padding and add test accordingly
5 years ago
Andre Puschmann
2599b1824d
reorder stack members and their loggers for correct destruction
5 years ago
Andre Puschmann
19bc65012b
nas: remove EPS bearer before adding updating params
5 years ago
Andre Puschmann
46a239fc61
remove patching of PBR in RRC
5 years ago
Andre Puschmann
8333a9be57
fix dtor of PHY when stack init fails
5 years ago
Andre Puschmann
b6d7fd5def
improve error handling in PDU packing
5 years ago
Andre Puschmann
db224335a7
add MUX step function for PBR counting
5 years ago
Andre Puschmann
da35f41dd5
rework MAC logical channel prioritization
5 years ago
Andre Puschmann
6d586d84a8
extend MAC PDU test
5 years ago
Andre Puschmann
2dfc6698eb
add MAC tests
5 years ago
Ismael Gomez
81067750a7
Use RV from stack, fixes issue decoding Format1C with SI-RNTI
5 years ago
Xavier Arteaga
5d792e7ebe
AGC: Fixed gain hysteresis
5 years ago
Pedro Alvarez
609e5cce2c
Initializing attach request in EPC NAS.
5 years ago
Pedro Alvarez
2ed60412b9
Removing debug printfs.
5 years ago
Pedro Alvarez
36bd20d308
Making sure that the security algorithms are kept when the NAS context is reset. Attach request after a service reject seems to work now (with COTS UE).
5 years ago
Pedro Alvarez
50506ffa26
Changed NAS initialization from init function to constructor. Continuing to add the logic to handle attach request as a Uplink NAS message. Added debug log to s1ap::send_downling_nas_message.
5 years ago
Pedro Alvarez
20ee17088f
Starting to add handling of attach request as a Uplink NAS transport message.
5 years ago
Andre Puschmann
e0a28cf4c0
simplify PDCP init and also bypass it for SRB0 on eNB
5 years ago
Andre Puschmann
0ef96f789b
bypass PDCP for SRB0 processing chain
5 years ago
Andre Puschmann
218f136254
remove default PDCP entity for SRB0
5 years ago
Andre Puschmann
f5a929e425
pdcp: print length when processing incoming PDU
5 years ago
Francisco Paisana
8f8d9f3f30
applied changes in the stack internal method naming
5 years ago
Francisco Paisana
ce29ed545d
moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks
5 years ago
Francisco Paisana
46d298fd9a
formatting
5 years ago
Francisco Paisana
62eb96366c
moved gw metrics out of stack_metrics_t
5 years ago
Andre Puschmann
9b985ab6ea
stop data plane traffic before sending detach request
5 years ago
Francisco Paisana
10a56e2a84
moved GW out of the UE stack. This is important to keep concurrency out of the stack once it becomes single-threaded
5 years ago
Xavier Arteaga
c7be984819
sync.h uses lock_guard for mutex
5 years ago