Pedro Alvarez
57c986d54a
s1ap: fix s1ap test after the changes to S1 setup request
2 years ago
Francisco Paisana
8de3d7436e
fix paging opportunity calculation in RRC and add respective unit test
2 years ago
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.
2 years ago
Pedro Alvarez
d62266ec58
rrc: fix mobility test to check if SRB2 being started to early
2 years ago
Robert Falkenberg
c5d5d45574
cmake: fix build for cmake option BUILD_SHARED_LIBS=ON
...
The cmake option BUILD_SHARED_LIBS (off by default) causes all
libraries to be built as shared libraries if not unless explicitly
stated otherwise.
Since test-helper libraries do not export their symbols, linking
fails if built as shared library.
Therefore, this change explicitly configures these helpers as STATIC.
3 years ago
Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
3 years ago
Francisco
0de1565e52
rrc,s1ap: configurable target eNB TACs during LTE handover.
3 years ago
Andre Puschmann
2c2c1857e9
enb_phy_test: fix uninitialized memory
3 years ago
Francisco
f7efee9884
asn1: use typedefs for amf_ue_ngap_id, ran_ue_ngap_id, mme_ue_s1ap_id and enb_ue_s1ap_id and changed interface to access s1ap and ngap protocol_ies
3 years ago
Francisco Paisana
2d2a5bee03
asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content
3 years ago
Francisco
e8f6c723b6
refactor: isolate rrc interfaces for pdcp, rlc and s1ap into separate files. This will avoid importing lte asn1 symbols to srsgnb code
3 years ago
Francisco
e8beb2ef81
nr,rrc: redesign fetching of asn1 obj ids for comparison and addmod/rem to asn1 lists
3 years ago
faluco
8d33d93c77
Fix a race condition in the enb csv metrics where set_handle was called while the metrics thread is running causing a race in the enb member variable.
...
Fix it by setting it during object construction.
3 years ago
Francisco
fd7c5e375c
nr,gnb,rrc: implement NR RRCSetup in RRC and wrote unit test
3 years ago
Andre Puschmann
0967cda042
gnb,stack: move gNB components into own folder
...
* move RRC, MAC, NGAP, SDAP into gnb folder
* move testing code below respective layers
3 years ago
Francisco
2d6ce768c7
nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output
3 years ago
Francisco
96fd3aae3c
nr,gnb: small gnb interface refactors and fix of byte buffer operator=
3 years ago
Francisco
8d719db43d
nr,gnb,mac: implement zero-copy get_dl_sched/get_ul_sched NR scheduler interface
3 years ago
Francisco
6fb5257609
nr,gnb,sched: cleanup of checks in sched_nr_allocator and removal of unused classes
3 years ago
Francisco
7b989d9976
nr,gnb,sched: refactored slot_ue class to use pointer to ue_carrier instead of deriving all necessary parameters
3 years ago
Francisco
1a56629a72
nr,gnb,sched: centralized all feedback/event management (cc-specific and non-cc-specific) into a single class
3 years ago
Francisco
e5e047bc63
nr,gnb,sched: avoid that the nr sched handles the rach before it creates the ue object
3 years ago
Francisco
f2409534e4
nr,gnb,sched: Simplify sched api and locking design to better reflect the mac-phy FAPI interface
...
- removal of condition variables from sched main calls
- addition of sched sched::slot_indication call as a point of synchronization per slot
- removal of sched_worker_manager class
- removal of serv_cell_manager class
- centralization of cc-specific functionality and components in cc_worker
3 years ago
Fabian Eckermann
3e9590fd13
Initialize variable.
3 years ago
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
3 years ago
Francisco
e4247517d0
nr,sched: update sched_nr_test to support the new DL sched no-copy api
3 years ago
Francisco
327687cbc2
nr,sched: auto clear HARQs that exceeded maxretx, after the feedback has been processed
3 years ago
Pedro Alvarez
fbcffb84bd
Check if RLC is suspended before transmiting PDCP SDU.
...
This was done to avoid integrity issues, when the UE's RRC erroneously sent
measurement reports while the re-establishment was already in progress.
As errously sending PDCP PDUs on DRBs can cause issues as well, this was
disabled too.
3 years ago
Francisco
fd998dac15
lte,enb,rrc: fix rrc_meascfg_test
3 years ago
Francisco
c6226b0d94
lte,enb,rrc: parse cellIndividualOffset in rr.conf and propagate it to measConfig sent to UE
3 years ago
Francisco
f2818d0504
enb,sched: improve sched ue buffer manager to show rnti in logs
3 years ago
Francisco
4a58c10f30
lte,enb,rlc: compute and forward to scheduler the number of bytes pending for retx and status pdu in RLC AM bearer
3 years ago
Francisco
9df6c6b936
sched,nr: ensure the ue_cfg_t passed to the scheduler in NR FDD mode has the correct harq delay
3 years ago
Francisco
bc4264277a
sched,nr: update NR scheduler tester to support parallel CC workers
3 years ago
Francisco
ea324e8cbe
nr,sched,test: update sched nr test to better reflect MAC-PHY FAPI
3 years ago
Francisco
04d48127bb
nr,sched: enable NR fixed mcs configuration via enb.conf
3 years ago
Francisco
c08bb6023c
nr,sched,refactor: clear of unused typedefs and renaming of some types
3 years ago
Francisco
877b995a4d
gnb,nr: add metrics for ack'd TBS in the gNB.
3 years ago
Francisco
479df12775
fix rrc_nr_test bad config
3 years ago
Francisco
9dcfa8fdb1
nr,gnb,rrc: pass default rrc_nr_cfg_t to rrc_nr_test
3 years ago
Bedran Karakoc
850606f20b
Added deregistration (UE terminating)
3 years ago
Francisco
3b79393974
sched,nr: fix default ue configuration when prach arrives
3 years ago
Francisco Paisana
9160c783c9
sched,nr: fix nr sched test
3 years ago
Francisco Paisana
7aa701eb85
nr,config: fix default SSB periodicity configuration in rrc and scheduler
3 years ago
Carlo Galiotto
f177a03605
sched,nr: add const to function input parameter
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
9887c17c17
sched,nr: move ssb_sched test to different file...
...
and also:
- correct half-frame bit in MIB package
- rename slot_index variable in ssb_sched function
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
d18af603aa
sched,nr: address comments in PR (code formatting)
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto
bc7c21b8c3
sched,nr: add test case for SSB scheduling
...
The SSB test checks whether, with the given periodicity, the
SSB grant is present within the dl_sched structure passed to the PHY.
It also checks that the SSB grant is not scheduled outside
the required time slots.
NOTE: The test is a modified version of an existing scheduler test.
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
yagoda
82bda02b36
adding nr metrics
3 years ago
Andre Puschmann
86938e8474
sched_nr_cfg: bump fixed UL MCS to 28
3 years ago