Pedro Alvarez
2b092ddc85
Initialize byte_buffer metadata to avoid unintialized variable warnings.
4 years ago
Pedro Alvarez
261c2b2e03
Removed limit to the undelivered SDUs info queue in RLC AM. Printing a warning if the queue is getting large instead.
4 years ago
Pedro Alvarez
d0ef6ce00b
Fix typos and bad comments in rlc_am_lte.cc and rlc_am_test.cc
...
Added checks for the nack_sn in the status reports of the rlc_am_test.
4 years ago
Pedro Alvarez
24db20bcca
Removed some unused variables after changing method of tracking notifications. Removed rlc_am_notify_pdcp test file. Testing is now in rlc_am_test.cc
4 years ago
Pedro Alvarez
6c071a784c
Changed notification mechanisms to use map of acked SNs instead of acked bytes.
...
This was required due to an issue where bytes were counted twice when a
packet had been lost.
4 years ago
Pedro Alvarez
649d642776
Moved notification tests from rlc_am_notify_pdcp_test.cc to rlc_am_test.cc.
...
This added some tests to resegmentation.
4 years ago
Pedro Alvarez
389cf4d943
Moved updating the notify info to it's own function.
4 years ago
Pedro Alvarez
de669d214a
Fix test header and queue_capacity check in RLC notifications.
...
Also, remove unecessary nullptr initializaion and fixup some newlines.
4 years ago
Pedro Alvarez
de90b4753f
Added the ability of the RLC AM to notify the PDCP of the acknowledged
...
PDCP PDUs. This includes:
- Modifying the byte_buffer_t to include PDCP SN meta-data. This way,
the RLC can keep track of the ack'ed bytes for a specific PDCP PDU.
- Added in the RLC an `undelivered_sdu_info queue`, to keep track of the
amount of ack'ed bytes and the total size of the PDCP PDU,
so the RLC can know when delivery is finished.
- Added an interface between the PDCP and the RLC so that the RLC can
notify the PDCP when it receives an ack from the status PDUs. The RLC
passes to the PDCP a vector of all the ack'ed pdus in a rx'ed status PDU.
- Added some tests to the notify functionality. This includes some tests
where the PDUs are acked imediatly, and one test where the PDU is
retx'ed.
4 years ago
David Rupprecht
3dab82c42f
Added interface that allows to update the lcid in case of a nr reconfiguration
...
nr rrc updates gw lcid if reconf was received
4 years ago
faluco
821925a273
- Upgrade to srslog the loggers in lib/mac.
...
- Adapted users of these classes and tests.
4 years ago
AlaiaL
9c764c299d
- Removed the try/catch. Checking the allocation with std::nothrow
...
- Adjusting the code with the coding style.
4 years ago
AlaiaL
f1cd4b1f0d
- fixes crash on initialization. Now the program exits cleanly
4 years ago
Xavier Arteaga
a8099d0df9
Fix SRSUE compilation without 5GNR
4 years ago
Xavier Arteaga
a2d9b436d9
SRSUE: add NR stack to PHY and initial decoded PDU push
4 years ago
Xavier Arteaga
e65c145704
SRSUE: Added hard-coded NR-PUSCH resources
4 years ago
Xavier Arteaga
4f43935dd3
NR-SCH: CRC is KO if data is all zeros
4 years ago
Xavier Arteaga
77f0a53abd
Added DCI Format 0_0 unpacking and more NR-PUSCH procedures
4 years ago
Xavier Arteaga
b150e45129
Renamed NR-PHY state and fix license headers
4 years ago
Francisco
c4a50b7de0
avoid loss of pdcp sdus' SNs buffered in gtpu during handover
4 years ago
Francisco
9e25e95545
fix S1AP UE Capability Indication message. Created helper to log received S1AP messages
4 years ago
Francisco
78d1b8083a
fix GTPU tunneling. Avoid forwarding packets to PDCP while the PDCP bearer is not yet created
4 years ago
Andre Puschmann
8e13f04684
mac_pcap: refactor MAC PCAP and include NR RAT into same object
...
after adding the thread-safe PCAP writer functionality to the EUTRA
MAC object it became clear that we don't wont to replicate the
same for the NR object.
This patch therefore refactors the class that now supports both EUTRA and
NR rats. The old mac_nr_pcap.[h/cc] has been deleted. All test-cases
and usages now use the new object that needs to pass the RAT type in
the ctor.
this patch addresses the last open point of #2160
4 years ago
faluco
199f1c953e
Remove unneeded logmap headers.
4 years ago
faluco
b30845fae4
Remove unused variable in enb vnf_phy_nr.
4 years ago
faluco
a7bb3ce7d0
Remove unused variable in vnf_phy_nr.
4 years ago
faluco
b014233662
- Port time related classes to srslog.
...
- Adapt tti_point_test to srslog.
4 years ago
faluco
1a5799a6ca
- Replace loggers is network utils.
...
- Adapt tests that use network utils and callers.
4 years ago
faluco
e9ed6f31ba
Port mac_pcap to srslog.
4 years ago
faluco
79eca0980d
- Ported fsm.h to srslog.
...
- Adapted and removed old loggers in tests and code that used fsm.h
4 years ago
faluco
c8a4bf2613
- Fix unused variable in buffer_pool.h
...
- Replaced logger to srslog in log_args utility function.
4 years ago
faluco
d37a07a47f
Replaced loggers in buffer_pool.h
4 years ago
faluco
f8485fb799
Replaced loggers to srslog in PNF and VNF classes.
4 years ago
faluco
96c07a69c0
Report the RLF event to the JSON event file in the enb.
4 years ago
Andre Puschmann
a827350f7c
mux: avoid unneeded call to msg3_flush() in ctor
...
this causes a debug log line as the first message in every ue.log because
the loggers/loglevels aren't configured yet.
22:10:02.463396 [MAC ] [D] [ 0] Msg3 buffer flushed
the msg3_flush isn't needed because all variables are initialized.
4 years ago
Andre Puschmann
ecf7eaec5c
ue_stack_lte: expose MAC NR interface for NSA configs
4 years ago
Andre Puschmann
5ec78be872
nas: log switch on/off in info mode
4 years ago
Francisco
ec14a6e50b
verify correctness of input to gtpu::write_pdu
4 years ago
Francisco
411946c752
Improvements on GTPU message logging
...
- Avoid multiple lines per each SDU Rx or Tx
- log info relative to source and destination of each SDU
- log info relative to whether the Rx SDU has been forwarded into a tunnel
- log info relative to whether the Rx SDUs are being buffered.
4 years ago
Andre Puschmann
5e915039e9
readme: add build-essential to Ubuntu build dependencies
...
otherwise only gcc will be available on a fresh Ubuntu
install (tested with 20.04), but g++ is missing.
This installs both.
4 years ago
Xavier Arteaga
aaa789f530
Removed unused logger
4 years ago
Xavier Arteaga
c60d207826
Add fix phase shift in gNb PHY
4 years ago
Xavier Arteaga
92c4a38fc2
Fix logger for NR PHY
4 years ago
Xavier Arteaga
194670a2a3
NRPHY: hard-coded symbol phase correction
4 years ago
Xavier Arteaga
820c9066db
Fix OFDM modulator for NR
4 years ago
Xavier Arteaga
2421f2cd99
Multiple PHY fixes and NR-PHY configuration refactor
4 years ago
Xavier Arteaga
7e6a35a9f7
Fix Synch error calculation
4 years ago
Xavier Arteaga
b652cd68a5
Refactored NR PHY configuration to accept multiple CORESETs/SearchSpaces
4 years ago
Xavier Arteaga
a85d79c6b7
Added ZMQ option to delay/advance Rx samples
4 years ago
Xavier Arteaga
73001c9541
Implement NR-DCI conversion to string
4 years ago