Commit Graph

190 Commits

Author SHA1 Message Date
Bedran Karakoc cabdd05cb8 gnb,rrc: Fix typo in logging for NR UP integrity key 2022-01-25 14:24:58 +01:00
Andre Puschmann 366dfca7ff gnb,rrc: refactor AS security updates
refactor security updater to extra function and make sure
the config is applied to all active RBs, also DRBs
2022-01-24 21:07:22 +01:00
Francisco e6af64c147 rrc,nr: removal of ssb config from the rrc_nr_cfg_t 2022-01-21 14:51:29 +00:00
Francisco ab9fe90d3a rrc,nr: create DU configuration manager in RRC NR class to handle the generation of SIBs and other cell-specific parameters 2022-01-21 14:51:29 +00:00
Andre Puschmann dcf178a8a5 sched_nr: change wording when logging UE access to unknown RNTI
streamline with RRC logs for same event, facilitate parsing an
accept list entry in KPI analyzer
2022-01-21 09:42:43 +01:00
Francisco 52106be3d5 sched,nr: remove phy cfg types from sched_nr_cell_cfg_t 2022-01-20 10:54:00 +00:00
Francisco b25814de27 sched,nr: fix failing sched test due to misconfiguration 2022-01-20 10:54:00 +00:00
Francisco 7ef206e15b sched,rrc,nr: remove need to pass sched ue cfg object to rrc during ra procedure 2022-01-20 10:54:00 +00:00
Francisco 822a1f5d19 sched,nr: redesign sched nr ue object creation during rach. Update of sched nr tests to reflect this change 2022-01-20 10:54:00 +00:00
Francisco 7f200ac7f7 sched,nr: pass asn1 TDD configuration to scheduler as defined in ORAN 2022-01-20 10:54:00 +00:00
Francisco f1831d9027 sched,nr: change UE configuration Request struct to better match ORAN specs 2022-01-20 10:54:00 +00:00
Bedran Karakoc 6112871da9 gnb,ngap: Add basic handler for NGAP Paging 2022-01-20 11:08:51 +01:00
Bedran Karakoc 9507dbc534 enb,ngap: Fix global gnb ID in NGAP 2022-01-19 18:34:35 +01:00
Andre Puschmann 7dc2313957 gnb,rrc: fix compilation
caused by GH merge timing issue and remove asn1 call
2022-01-18 18:26:02 +01:00
Andre Puschmann c49615c059 gnb,rrc: handle reestablishment complete
* add message handler
* rename internal calls
2022-01-18 18:07:21 +01:00
Andre Puschmann f17e77f391 gnb,rrc: add GTPU interface to RRC 2022-01-18 18:07:21 +01:00
Andre Puschmann 4923f0a07b gnb,mac: schedule CON_RES CE when handling CCCH
this avoids implicit CON_RES scheduling in the scheduler
2022-01-18 18:07:21 +01:00
Andre Puschmann db065239e0 sched_nr: add dl_mac_ce() method to allow MAC to schedule CE
MAC can give the scheduler hints as to when to schedule certain
CEs in the DL. For example when receiving a CCCH on SRB0.
2022-01-18 18:07:21 +01:00
Andre Puschmann 33378c32c0 gnb,rrc: fix key derivation in reestablishment 2022-01-18 18:07:21 +01:00
Andre Puschmann fb3416371b enb,rrc_nr: use SSB arfcn for key derivation for reestablishment 2022-01-18 18:07:21 +01:00
Andre Puschmann f012dce8b2 enb,rrc_nr: log freq config of NR cells on init 2022-01-18 18:07:21 +01:00
Andre Puschmann 9832ba4477 rrc_nr_config: add comment 2022-01-18 18:07:21 +01:00
Andre Puschmann bbe3ee41da rrc,nr_security: fixing a few typos for NR 2022-01-18 18:07:21 +01:00
Andre Puschmann 1616c09335 gnb,rrc: handle RRC reestablishment request
implement basic support for sending RRC reestablishment
2022-01-18 18:07:21 +01:00
Francisco 3c25b6cb24 asn1: remove presence flag for lists and octet strings, as the size of the latter implicitly tell if the asn1 field is present 2022-01-17 11:58:00 +00:00
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 2022-01-11 22:59:38 +00:00
Francisco e84908dec8 sched,nr,test: pass cqi to sched_nr_test via config file 2022-01-11 20:56:23 +00:00
Alejandro Leal 8619382b45 Removed unneeded libraries from the mac test in srsgnb 2022-01-10 15:33:55 +01:00
Francisco Paisana ac7fe9be64 sched,nr: make scheduler robust to errors in the phy that cause skipped slot indications 2022-01-07 16:27:34 +01:00
Carlo Galiotto bab0b488be rrc-nr: disable csi_meas_config
The current configuration makes the PUCCH decoding fail. We need
to investigate the reason for this befoer we re-enable it

Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 861648aa35 rrc-nr: differentiate SA csi_meas_cfg from NSA
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 3d39f4b55f rrc-nr: remove unnecessary variable toggle
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 655fb7204f rrc-nr: set CSI config for SA only
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 0f92869156 rrc,sched: add csi-MeasConfig setup in RRC
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 9be9bd659e sched,nr: add CQI to SE and SE to MCS mapping ...
for scheduler + add CQi reporting from PHY to scheduler

Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 2040a88bf9 sched: add comments + rename variable
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto cd32f1385a sched,test: add test for CQI->MCS mapping fnc
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto db983175a8 sched: remove CQI->MCS mapping from PDSCH allocator
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Carlo Galiotto 3a7739fba5 sched: add CQI->MCS mapping to PDSCH allocator
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-06 20:32:20 +01:00
Francisco Paisana 40138c7125 changed namespace of asn1 ngap from 'ngap_nr' to simply 'ngap' 2022-01-05 18:26:05 +01:00
Francisco e8f6c723b6 refactor: isolate rrc interfaces for pdcp, rlc and s1ap into separate files. This will avoid importing lte asn1 symbols to srsgnb code 2021-12-15 23:25:26 +00:00
Francisco 486dd9099c nr,gnb,sched: fix crash in mcs selection loop 2021-12-15 13:20:38 +00:00
Francisco ffca2f7684 nr,gnb,sched: expose cqi in slot_ue object 2021-12-15 13:20:38 +00:00
Francisco 2a933ed8ad nr,gnb,sched: refactor filling of dci harq fields 2021-12-15 13:20:38 +00:00
Francisco 632f2dbddd nr,gnb,sched: changed pdsch_allocator interface and extended its respective unit tests 2021-12-15 13:20:38 +00:00
Francisco fe35787130 nr,gnb,sched: remove unused files 2021-12-09 17:11:41 +00:00
Francisco 5cc7863379 nr,gnb,sched: fix and extend sched_nr_test to verify that the DL allocated bytes match the bytes passed as DL buffer state to the scheduler 2021-12-09 17:11:41 +00:00
Francisco 107e2aa938 nr,gnb,sched: implemented standalone PDSCH allocator class 2021-12-09 17:11:41 +00:00
Francisco b2f5f6c620 nr,gnb,sched: fix sched parallel unit test 2021-12-09 14:26:19 +00:00
Francisco c3d682bba8 nr,gnb,sched: cache ue phy dci_cfg to avoid computing it at every slot 2021-12-09 14:26:19 +00:00