Commit Graph

10521 Commits

Author SHA1 Message Date
Andre Puschmann a724024c15 gnb,rcc_test: fix coreset0 index for NSA config 2022-07-26 15:27:12 +02:00
Andre Puschmann 8cc7b3f614 enb,txrx: don't print SSB ARFCN/freq for EUTRA carriers 2022-07-26 15:27:12 +02:00
Andre Puschmann 0ec3c80ac6 srsue,rrc_nr: remove strict requirement for SSB offset=6
tested with coreset0_idx=6/7 with srsENB. there could be more
changes required for other config value combinations though.
2022-07-26 15:27:12 +02:00
Ismael Gomez a43e2a877c srsgnb: make coreset0_idx optional 2022-07-26 15:27:12 +02:00
Ismael Gomez a6a9274203 srsgnb: derive SSB frequency and ssb_offset based on user provided coreset0 index configuration. Added extra configuration validators 2022-07-26 15:27:12 +02:00
Ismael Gomez fef61554b2 srsgnb,sched: mark as occupied the resources used by SSB before scheduling other PDSCH (eg SIB1). Prevents overlapping SIB1 PDSCH with SSB 2022-07-26 15:27:12 +02:00
Matan Perelman ce731c851c enb,cfg_parser: Add SIB5 parsing. 2022-07-26 15:24:20 +02:00
Francisco Paisana 8de3d7436e fix paging opportunity calculation in RRC and add respective unit test 2022-07-26 12:43:38 +02:00
Codebot 38a520b3c2 Merge branch 'next' into agpl_next 2022-07-24 21:12:22 +00:00
Paul Sutton eb4ec84310 minor example config edit to include NAS ZUC support 2022-07-22 21:24:53 +02:00
Pedro Alvarez e4207b177f lib,rlc_am_lte: added fix for full tx window with wraparround 2022-07-21 11:26:30 +01:00
Pedro Alvarez b001d6c10e lib,rlc_am_lte: fix checkers for the TX window full 2022-07-21 11:26:30 +01:00
Andre Puschmann 72220aa811 enb,phy: do not start start plots if LTE workers don't exist
this was causing a segfault when the GUI was enabled in SA mode, i.e. without LTE cells
we only support the GUI with LTE enabled.
2022-07-21 10:24:03 +02:00
Andre Puschmann 6f2c641941 ue,sa: enable PCAP writing for NAS-5G 2022-07-21 10:24:03 +02:00
Piotr Gawlowicz 51fdfa334d epc: fix example usage text in the srsepc_if_masq.sh script 2022-07-21 10:23:20 +02:00
Shubham Tatvamasi 9d6385c84f ci: use matrix-keyword for x86/aarch64 builds
Cherry-picked from Shubham Tatvamasi (https://github.com/ShubhamTatvamasi)
initial commit
2022-07-21 09:55:38 +02:00
Zishuai CHENG 2e4b1aceaf Parse tmsi type of mobile id and fixed the content length of network feature support 2022-07-21 09:55:38 +02:00
Matan Perelman 218bf1c916 enb,cfg_parser: Fix ac_barring_for_mo_data time typo. 2022-07-21 09:55:38 +02:00
Matan Perelman 375709b449 enb,cfg_parser: Add SIB6 parsing. 2022-07-21 09:55:38 +02:00
Matan Perelman 602bca70a4 enb,cfg_parser: Allow sib4 to contain black cell list only. 2022-07-21 09:55:38 +02:00
Matan Perelman f571d46cf8 enb,cfg_parser: Add GERAN speed state scale factors 2022-07-21 09:55:38 +02:00
Matan Perelman 88998385eb NAS: Add configuration for LAC. 2022-07-21 09:55:38 +02:00
Matan Perelman 436235b92c enb,cfg_parser: Fix log typo. 2022-07-21 09:55:38 +02:00
David Rupprecht 68fe21928e Added initialization of nas5g logger 2022-07-21 09:55:38 +02:00
Robert Falkenberg 7e7eceda15 ctest: Viterbi test skips 0dB for non AVX2 machines
The accuracy of the 8-bit implementation of the Viterbi decoder used on
non-AVX2 machines falls below the theoretical accuracy at 0dB.
2022-07-19 14:34:38 +02:00
Robert Falkenberg 06f2ab6d7c ctest: PDCCH test skips 100PRB for non AVX2 machines
The current 8-bit Viterbi decoder implementation for SSE (non-AVX2)
is not accurate enough to reliably decode all messages with a
code rate ~0.9 or higher, e.g. DCI format 2/2A messages in 100 PRB cell
at aggregation level 0.
2022-07-19 14:34:38 +02:00
Codebot b5c994dd79 Merge branch 'next' into agpl_next 2022-07-17 21:12:22 +00:00
Pedro Alvarez 981e682d2e enb,rrc: disable SRB2 in mac controller during handover. This is to
avoid transporting NAS messages before we received the RRC Reconf
 complete and the HO is finished.
2022-07-13 18:34:46 +01:00
Pedro Alvarez d62266ec58 rrc: fix mobility test to check if SRB2 being started to early 2022-07-13 18:34:46 +01:00
Pedro Alvarez 0cc632988f lib,rlc: tweaked some comments 2022-07-08 12:57:07 +01:00
Pedro Alvarez f5658619b8 lib,rlc: ack_sn does not count as a positive or negative acknowledgment.
do not stop t-PollRetransmit for it
2022-07-08 12:57:07 +01:00
Pedro Alvarez 7ac7c8673a lib,rlc: Fixed issue where `p` bit was not checked if PDU was outside of
the RX window. This could lead to a data stall, where TX keeps retx'ing
the same PDU to request a status report.
2022-07-08 12:57:07 +01:00
Pedro Alvarez 40f19b0e2c lib,rlc: added check for status report in full rx_window test. 2022-07-08 12:57:07 +01:00
Pedro Alvarez f4ca1848d6 lib,rlc: allow reception of ACK_SN == TX_NEXT+1,
as this can happen when the last segment has not been sent yet.
2022-07-08 12:57:07 +01:00
Pedro Alvarez ede44369f4 lib,rlc: add fix for issue in checking full RLC TX window 2022-07-08 12:57:07 +01:00
Pedro Alvarez dc71048d83 lib,rlc: fixed up test for full rx window 2022-07-08 12:57:07 +01:00
Pedro Alvarez b7ec529ff2 lib,rlc: allow ACK_SN be one over the end of the RX window. 2022-07-08 12:57:07 +01:00
Pedro Alvarez 51ffd91f16 lib,rlc: added unit test that triggers assert when RX window is full 2022-07-08 12:57:07 +01:00
Codebot ce67ab1f9f Merge branch 'next' into agpl_next 2022-06-26 21:12:23 +00:00
Robert Falkenberg a1db7fe9fe rlc_am_nr: fix shadowed variable 2022-06-23 12:38:28 +02:00
Andre Puschmann f6033264f9 gnb,mac_nr: ignore SE_PHR CE received from UE
we are not handling the periodic SE_PHR yet.
2022-06-23 11:36:31 +02:00
Andre Puschmann d99cff050d ue,rrc_nr: handle RRC release 2022-06-23 11:36:31 +02:00
Codebot ac06cf7453 Merge branch 'next' into agpl_next 2022-06-12 21:12:20 +00:00
Robert Falkenberg e057a8ec27 lib,pdcp_nr: unit test - remove redundant assignment 2022-06-08 12:14:14 +02:00
Robert Falkenberg a11291eb08 lib,rlc_am_nr: fix handling of NACK ranges with SO reaching SDU edge
This changes the handling of NACK ranges with segment offset (SO),
where either so_start or so_end reach the edge of a full SDU.
That SDU is then NACK'ed as a whole, rather than as a segment
from 0 to 0xFFFF.
Otherwise, the search for segments will fail if said SDU was
initially sent as a whole (without segmentation).
2022-06-06 11:27:52 +02:00
Robert Falkenberg fccfd5e140 lib,rlc_am_{lte,nr}: fix/add tx_window overrun protection
This commit fixes as bug causing a crash of the eNB in case
of many pending RETX and the reception of a trimmed PDU.
The following sequence leads to a crash:
- RETX queue contains many PDUs for RETX
- Receive trimmed PDU containing a trimmed subset of NACKs
- RETX queue is cleared and re-populated with a trimmed subset
- After all RETX (/!\ trimmed subset) is done, continue TX new PDUs
- tx_window blows up
- tx_window overflows if another status PDU is not received in time
- Overflow overwrites oldest element in tx_window
- Handling of next status PDU fails due to missing elements in tx_window

Related PR #4029
2022-06-06 11:26:57 +02:00
yagoda 66b5b6c236 phy: pass number PRBs from the correct cell config into the channel emulator when running NR standalone mode 2022-06-06 00:06:05 +02:00
Codebot 6a3b9257e3 Merge branch 'next' into agpl_next 2022-06-05 21:12:59 +00:00
Pedro Alvarez d5909a306f lib,pdcp_nr: fixed typos and rephrased log in tests. 2022-06-02 20:25:53 +01:00
Pedro Alvarez 0f1c8b03c7 lib,pdcp_nr: fixed up some comments and a logging message 2022-06-02 20:25:53 +01:00