Commit Graph

7400 Commits

Author SHA1 Message Date
Pedro Alvarez 451c305790 Add mutex to isolate metrics_hub thread from the stack thread when
getting the metrics from the PDCP
2021-02-19 02:55:17 +00:00
Pedro Alvarez 0c240a80aa Fix up PDCP metrics to calculate the buffered bytes when get_metrics is
called.
2021-02-19 02:55:17 +00:00
Xavier Arteaga 70a55ebf1e Fix ZMQ sleep time 2021-02-18 18:59:30 +01:00
Pedro Alvarez 46cd29e0ac Temporarly disable sending status report and retrasnsmissions on reestablishment in PDCP 2021-02-18 14:51:29 +00:00
Pedro Alvarez 827823cfb1 Change reestablish order in RRC Procedures 2021-02-18 14:51:29 +00:00
Pedro Alvarez df501d1500 Clear underlivered SDUs info map for SRBs on reestablishment 2021-02-18 14:51:29 +00:00
Pedro Alvarez d705fa2106 Tentative fix for errors due to status report already present in RLC info queue 2021-02-18 14:51:29 +00:00
Pedro Alvarez ba5367bc56 Change order which reestablish is called in eNB
Make sure that RLC info queue is reset when reestablish happens
2021-02-18 14:51:29 +00:00
David Rupprecht a7949e69c8 configure and start ra proc
Fix crash due to missing init
2021-02-18 14:34:15 +01:00
David Rupprecht 876858b44c Added mac nr prach common config convert function with test case 2021-02-18 14:34:15 +01:00
David Rupprecht b19cbdde23 Added test case for testing the decoding of cell group config 2021-02-18 14:34:15 +01:00
David Rupprecht a3be380e3b workaround to mitigate the linking error 2021-02-18 14:34:15 +01:00
Andre Puschmann e0495d1da8 zmq: fix parsing of log_trx_timeout
add temp var for this param. the bug cause log_trx_timeout
to have the value of the previously parsed fail_on_disconnect
2021-02-17 21:06:28 +01:00
Pedro Alvarez cfd94441a5 Added metrics to srsenb PDCP 2021-02-17 18:40:12 +00:00
Pedro Alvarez 8873b7c42f Added computation for the metrics 2021-02-17 18:40:12 +00:00
Pedro Alvarez d34aba8065 Added interfaces to get metrics from PDCP entities. 2021-02-17 18:40:12 +00:00
Pedro Alvarez eb2f5b978f Starting to add metrics to lib/upper/pdcp.cc 2021-02-17 18:40:12 +00:00
Pedro Alvarez dd6a292d79 Added structure to hold PDCP metrics 2021-02-17 18:40:12 +00:00
Pedro Alvarez 3eab97340b Fix issue in getting PDCP discard timer from configs 2021-02-17 17:53:03 +00:00
Xavier Arteaga 283fc78782 Fix override VNF 2021-02-17 16:34:00 +01:00
Xavier Arteaga 81748c7b1c SRSUE: PHY does not compile NR interface
Fix
2021-02-17 16:34:00 +01:00
Xavier Arteaga c1e6703054 Remove magic number 2021-02-17 16:34:00 +01:00
Xavier Arteaga bdef411855 SRSUE: Aesthetic changes 2021-02-17 16:34:00 +01:00
Xavier Arteaga 96a47fb93a Add NR RRC interface types 2021-02-17 16:34:00 +01:00
Xavier Arteaga 7aef15bf34 SRSUE: notify MAC about UL grant 2021-02-17 16:34:00 +01:00
Xavier Arteaga 784a33583b SRSUE: Initial NR MAC-PHY interfaces
SRSUE Fix compilation

SRSUE: temporary fixes LTE/NR PHY/Stack interface problem

fix

fix
2021-02-17 16:34:00 +01:00
Francisco 9546634b37 use unique_ptr for sched_ue database in scheduler. This will minimize the time spent locking while adding new users 2021-02-17 11:04:07 +01:00
Francisco 6a178693a8 handle rrc configs with pdcp with sn=15 or 18 bits 2021-02-17 11:03:52 +01:00
Francisco faf2adde90 set last_submitted_pdcp_rx_sn to -1 of the next ul rx sn 2021-02-17 11:03:52 +01:00
Pedro Alvarez c0eb088958 Revert "Sending LastSubmittedRxSN instead of Next_PDCP_RX_SN in status trasnfer."
This reverts commit 91a94b546ac6c452508c73812c30cf0cf1384c6f.
2021-02-17 11:03:52 +01:00
Pedro Alvarez 7259f1280a Sending LastSubmittedRxSN instead of Next_PDCP_RX_SN in status trasnfer. 2021-02-17 11:03:52 +01:00
Pedro Alvarez e2d2951b00 Added some extra logging for the PDCP get_buffered_pdus and notification reception. 2021-02-17 11:03:52 +01:00
Pedro Alvarez 963dff34af Added retransmissions to the UE's PDCP on re-establishment. 2021-02-17 11:03:52 +01:00
Xavier Arteaga 8ac6d7382f Fix PRACH sequence generation 2021-02-17 10:34:34 +01:00
Xavier Arteaga 2fd618a295 Avoid FFTW re-planning if no DFT change is required 2021-02-17 10:34:34 +01:00
Xavier Arteaga 596c8f52a9 PRACH set config avoids modulo operation 2021-02-17 10:34:34 +01:00
Xavier Arteaga 1e073b8b67 PRACH: avoid general cexp for sequence generation using LUT 2021-02-17 10:34:34 +01:00
Francisco c1adaec038 refactored cce position table structs 2021-02-16 21:22:40 +01:00
Francisco 823da24a8e removed uneeded sched method to set sched algorithm, and made configured flag atomic 2021-02-16 21:22:40 +01:00
Francisco 6b3cf6c597 moved pdcch sched to separate file 2021-02-16 21:22:40 +01:00
Andre Puschmann c1a1c92e1b zmq: optionally log rx/tx timout from ZMQ ringbuffers to stderr
this patch adds two new config flags to the ZMQ driver that allows to:
* configure the default ZMQ trx timeout in ms
* turn on error logging if the timeout occurs

Use with, e.g.:
device_args = log_trx_timeout=true,trx_timeout_ms=3333
2021-02-16 20:38:19 +01:00
Xavier Arteaga 984c4a4748 Changed license header 2021-02-16 15:57:58 +01:00
Pedro Alvarez e0542a4651 Fix issue in sending PDCP status PDU from the eNB due to non-existing LCID at the RLC. 2021-02-16 13:21:50 +00:00
Pedro Alvarez b0fe302f8e Added interfaces so the upper layers can trigger the PDCP status report. Added ability to the UE to send Status Report aftre reestablishment. 2021-02-16 13:21:50 +00:00
Pedro Alvarez 89a23cec7e Added statusReportRequired to the PDCP entity config. 2021-02-16 13:21:50 +00:00
Francisco a4423ff690 sched: fix compilation issue for gcc4.8 2021-02-16 10:48:58 +01:00
Francisco a7f4dfab2c sched: added checks for localized RBG assignment in case of DCI format1A 2021-02-16 10:48:58 +01:00
Francisco Paisana 34d4dc3974 set DCI format 1A while RRC setup/reestablishment/reconfiguration is on-going 2021-02-16 10:48:58 +01:00
David Rupprecht 24123313bf Added MAC NR RA procedure with a minimal test case 2021-02-16 09:42:09 +01:00
Xavier Arteaga 3d3c80262c Modified Error messages 2021-02-16 09:12:47 +01:00