Commit Graph

3243 Commits

Author SHA1 Message Date
faluco 7b9dab3a73 Rename cc_idx variable to enb_cc_idx for specific upper layer events. 2021-02-19 09:54:41 +01:00
faluco a4605883f0 Implement second revision of the events and metrics document. 2021-02-19 09:54:41 +01:00
Pedro Alvarez 0e828aeb4b Remove unecessary mutex. PDCP metrics are accessed from the stack thread. 2021-02-19 02:55:17 +00:00
Pedro Alvarez c39905744c Fix metrics of TX PDUs and TX_PDU bytes in PDCP 2021-02-19 02:55:17 +00:00
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 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 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 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 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 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
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
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
Xavier Arteaga d9805f7ba7 Added AVX512 LDPC 2021-02-16 09:12:47 +01:00
Pedro Alvarez 2ed8dceddf Use TX_COUNT in RLC AM stress test. Avoids issue with re-using SNs within the test 2021-02-15 19:37:49 +00:00
Xavier Arteaga 2e39e103f8 Minor NR related corrections 2021-02-15 12:54:17 +01:00
Xavier Arteaga 24cfed6489 Fix scrambling sequence for PUCCH format2 2021-02-15 12:54:17 +01:00
Xavier Arteaga 5f70526ac5 Minor NR-PUCCH related fixes 2021-02-15 12:54:17 +01:00
Xavier Arteaga 9faa2d5fcd SRSUE: Automatic DL-HARQ Reset for every TTI and Generate PUCCH baseband signal 2021-02-15 12:54:17 +01:00
Xavier Arteaga 2d9e964147 Fix RA RNTI grant count 2021-02-15 12:54:17 +01:00
Xavier Arteaga d807ccc3dd SRSUE: Initial NR-PUCCH HARQ feedback 2021-02-15 12:54:17 +01:00
Xavier Arteaga ff5fbbf0a0 Added vector sprint for bit 2021-02-15 12:54:17 +01:00
Xavier Arteaga 818f3ea7c7 Initial NR-PDSCH HARQ-ACK/NACK procedure 2021-02-15 12:54:17 +01:00