Francisco
ed1514cf68
nr,gnb,sched: implement ConRes CE scheduling command in NR sched
2021-11-22 12:56:02 +00:00
Fabian Eckermann
74a289976a
Add enb MAC procedures for PDCCH orders.
2021-11-18 14:56:31 +01:00
faluco
453a7760b3
Port misc SSN changes to dev.
2021-11-16 14:46:51 +01:00
Pedro Alvarez
e5a83474cc
Added max_s1_setup retries option to S1AP
2021-11-12 15:09:39 +00:00
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
2021-11-05 15:26:06 +01:00
Francisco
2d6ce768c7
nr,gnb,rrc: generation of MIB/SIB1 inside rrc_nr class and test to verify the correct output
2021-11-04 18:05:14 +00:00
Francisco
5f3afffd05
nr,gnb: implementation of sib and mib asn1 generation functions
2021-11-04 18:05:14 +00:00
Francisco
96fd3aae3c
nr,gnb: small gnb interface refactors and fix of byte buffer operator=
2021-11-04 18:05:14 +00:00
Francisco
dab6e8bdcd
nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks
2021-11-04 15:24:57 +00:00
Francisco
8d719db43d
nr,gnb,mac: implement zero-copy get_dl_sched/get_ul_sched NR scheduler interface
2021-11-03 21:21:45 +01:00
Andre Puschmann
79c443fd60
rrc_nr: add log_rrc_message helper to UE object to print RNTI
2021-11-03 17:55:32 +01:00
Andre Puschmann
c913db5ade
enb,rrc_nr: log RRC messages as Json
...
* add log messages for RRC NR message containers sent to EUTRA RRC
* add helper function to pack RRC message into byte_buffer
2021-11-03 17:55:32 +01:00
Francisco
c615df9d1d
nr,gnb,mac: prioritize CRNTI CE handling over remaining SDUs and CEs in gNB mac receiver
2021-11-03 13:31:16 +00:00
Francisco
885e1bcc60
nr,gnb,sched: ensure the users only get allocated if they have buffer state > 0
2021-11-02 00:41:24 +00:00
Francisco
6fb5257609
nr,gnb,sched: cleanup of checks in sched_nr_allocator and removal of unused classes
2021-11-02 00:41:24 +00:00
Francisco
7b989d9976
nr,gnb,sched: refactored slot_ue class to use pointer to ue_carrier instead of deriving all necessary parameters
2021-11-02 00:41:24 +00:00
Francisco
da9c564ad4
nr,gnb,sched: remove unused sched_nr_interface types
2021-11-02 00:41:24 +00:00
Francisco
1a56629a72
nr,gnb,sched: centralized all feedback/event management (cc-specific and non-cc-specific) into a single class
2021-11-02 00:41:24 +00:00
Francisco
7c146c5198
nr,gnb,sched: refactored sched nr common event handling to use accumulated event handling logging
2021-11-02 00:41:24 +00:00
Francisco
e5e047bc63
nr,gnb,sched: avoid that the nr sched handles the rach before it creates the ue object
2021-11-02 00:41:24 +00:00
Francisco
40fded7222
nr,gnb,sched: improve logging of slot events in the scheduler
2021-11-02 00:41:24 +00:00
Francisco
e19a0aa281
nr,gnb,sched: refactored sched nr common event handling
2021-11-02 00:41:24 +00:00
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
2021-11-02 00:41:24 +00:00
Francisco
d3a100257d
lte,enb,s1 handover: stop ts1 handover timers when an handover cancel occurs after the Handover preparation
2021-11-01 12:42:43 +00:00
Francisco
0dc9cf142a
lte,enb,rrc: verify the drbtoaddmodlist is correctly updated in the add_erab case, and change the function add_erab to addmod_erab
2021-10-30 15:31:19 +01:00
Andre Puschmann
5f837c0c67
enb,nr: rewrite UL PDU processing to handle CEs in reverse order but SDUs in order
...
this makes sure that C-RNTI CE gets processed before any SDU gets processed.
but it also makes sure that all SDUs then are processed in-order to
avoid reordering at higher layers.
2021-10-27 19:50:35 +02:00
Alejandro Leal Conejos
af3a2ef589
Fixes coverity 359789
2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos
6cd917fca5
Fixes coverity 370816
2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos
0fdbfcffd0
Removes unnecesary cast
2021-10-27 19:47:45 +02:00
Bedran Karakoc
a14cc451d0
Addition NGAP cleanup
2021-10-27 19:37:49 +02:00
Carlo Galiotto
9c74dda039
rrc,nr: add msg5 and inactivity timers to RRC-NR
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-26 23:18:17 +02:00
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
2021-10-26 21:15:36 +02:00
Alejandro Leal Conejos
547ebf11f7
Fixes coverity 372880
2021-10-26 21:09:44 +02:00
Francisco
67a39fbb81
nr,sched: push BSRs into the scheduler when nr_phy_test is run with PUSCH enabled
2021-10-25 20:55:00 +02:00
Fabian Eckermann
32a1646536
nr,gnb,rrc: Derive RRC parameters from config.
...
* Derive RRC parameters from config.
* nr,gnb,rrc: hard code prach config index to 8 to avoid expiring RA proc window.
2021-10-25 20:54:32 +02:00
Xavier Arteaga
2f5a1ad2e3
SRSENB: MAC controller recover MAC bearer state after PDSCH KO burst ( #3225 )
...
* SRSENB: MAC controller recover MAC bearer state after PDSCH KO burst
* mac,lte: simplify scheduler phy config enable configuration
Co-authored-by: Francisco Paisana <francisco.paisana@softwareradiosystems.com>
2021-10-25 10:56:12 +02:00
Francisco
e4247517d0
nr,sched: update sched_nr_test to support the new DL sched no-copy api
2021-10-23 21:09:26 +02:00
Andre Puschmann
cf4b6d0bea
sched_nr_interface: make PHY results a reference to avoid copying
2021-10-23 21:09:26 +02:00
Francisco
0663594aa1
nr,gnb,sched: add extra checks to sched to ensure the max nof grants is not exceeded
2021-10-23 09:20:28 +01:00
Carlo Galiotto
0c35045543
rrc,nr: remove default value from input arg + ...
...
change input arg name
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-22 19:43:19 +01:00
Carlo Galiotto
ebaab9b1d0
rrc,nr: add private fnc to overload public method...
...
... and propagate input to calling function
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-22 19:43:19 +01:00
Carlo Galiotto
4f6905363f
rrc,nr: add MSG3 activity timer to rrc_nr
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-22 19:43:19 +01:00
Francisco
327687cbc2
nr,sched: auto clear HARQs that exceeded maxretx, after the feedback has been processed
2021-10-22 18:08:43 +01:00
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.
2021-10-22 17:27:32 +01:00
Carlo Galiotto
e3267c9dfd
gtpu: remove unused local variable
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-21 23:26:46 +02:00
Carlo Galiotto
284207dad6
WIP: fixing collision in the the users_map
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-21 23:26:46 +02:00
Francisco
3295449619
nr,gnb,sched: fix crash in debug mode due to incorrect is_lcid_valid check
2021-10-21 13:58:57 +01:00
Francisco
f0a48d47b3
enb,sched: log lcid configurations in scheduler in a single log line
2021-10-21 10:33:26 +01:00
Francisco
f2818d0504
enb,sched: improve sched ue buffer manager to show rnti in logs
2021-10-21 10:33:26 +01:00
Francisco
4a58c10f30
lte,enb,rlc: compute and forward to scheduler the number of bytes pending for retx and status pdu in RLC AM bearer
2021-10-21 09:31:03 +01:00