Commit Graph

219 Commits

Author SHA1 Message Date
Pedro Alvarez bb9eaf4390 gnb,ngap: Added some comments to ngap.cc to make it easier to navigate
the file. Re-ordered NGAP UE procedures have the same order as in the
standard.
2022-03-14 15:24:03 +00:00
Carlo Galiotto f73286727e sched-nr: simplfy code for MCS with SRB0/CCCH
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto c935484102 sched-nr: fix scheduler to pass nr tests
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto 2b3158536a sched-nr: fix sched not allocating CCCH at low MCS
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto 65dae777b1 sched-nr: add option for predefined fixed DL MCS
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto c2d4dedafc sched: plug dyn CQI->MCS mapping into scheduler
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Pedro Alvarez b1a33a07a1 lib,rlc_am_nr: starting to add test for segmenting retx. Changed sdu under segmentation to only hold the SN. The actual SDU already exists in the pdu stored in the tx_window. 2022-02-16 13:23:32 +00:00
Francisco 581a99c616 nr,gnb: use memory pool to allocate scheduler UEs 2022-02-15 20:59:45 +01:00
Francisco Paisana e4a15c9c51 rrc,gnb: move non-phy fields out of phy_cell_nr_t 2022-02-08 18:21:07 +01:00
Francisco Paisana e9760f110a rrc,gnb: remove obsolete methods to verify config correctness 2022-02-08 18:21:07 +01:00
Francisco Paisana e8902c785f rrc,gnb: remove srsran_prach_cfg_t from gnb rrc config struct 2022-02-08 18:21:07 +01:00
Francisco Paisana c4cc94df17 rrc,gnb: remove phy flat pdcch cfg struct from rrc nr cfg 2022-02-08 18:21:07 +01:00
Francisco Paisana c0dda2958c rrc,gnb: fix search space NSA config 2022-02-07 18:26:15 +01:00
Francisco Paisana 532a4b54e7 rrc,gnb: remove phy flat pdcch cfg struct from rrc nr cfg 2022-02-07 18:26:15 +01:00
Francisco Paisana 88a95e8e57 rrc,gnb: remove uneeded flat phy cfg fields from rrc_nr_cfg_t 2022-02-07 18:26:15 +01:00
Francisco Paisana 301848002f rrc,gnb: remove uneeded cell config parameters from rrc_nr main class 2022-02-07 18:26:15 +01:00
Francisco 094d019883 remove extra branches in the rrc cell asn1 cfg generation 2022-02-07 18:26:15 +01:00
Joaquim Broquetas b2075673e5
Crest Factor Reduction feature for the phy layer (#3720)
* Add CFR module to the phy lib

* Add dynamic threshold with PAPR estimation

* Add a CFR unit test, CFR module improvements and refactoring.
Swap the gain normalization before the CFR.

* Add CFR config interface to srsenb

* Add CFR support to pdsch_enodeb

* Add DL PAPR measurement to eNB.

Co-authored-by: Cristian Balint <cristian.balint@gmail.com>

* Add test coverage to srsran_vec_gen_clip_env
2022-02-04 10:35:35 +01:00
Carlo Galiotto 6e1d624a3b rrc-nr: add nzp RRCSetup cnf conversion for SA
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-03 18:50:44 +01:00
Francisco 18f0732c66 fix clang 6.0.0 compilation issue related with {} initialization 2022-02-01 13:08:51 +01:00
Carlo Galiotto d5859fb60b rrc-nr: remove comments/dead code
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Carlo Galiotto fe6500bd55 rrc: copy PUCCH cnf from RRCSetup to PHY structs
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Carlo Galiotto 362abfe3c9 rrc-nr: add conversion for pucch_cfg
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Carlo Galiotto a53e7c9673 TMP WIP
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Carlo Galiotto 290fdd068e TMP: test CSI config with disabled zp, p_zp
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Francisco Paisana 378e14826e rrc,nr: fix conversion of csi meas cfg to phy cfg flat struct 2022-01-26 10:47:26 +01:00
Carlo Galiotto fa761e7f3b rrc-nr: enable zp_csi in rrc_setup msg
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Carlo Galiotto dfe5cca7fb rrc-nr: adapt csi-meas_config to new source
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-01-26 10:47:26 +01:00
Xavier Arteaga 9cda4e058d Disable srsgnb time in advance offset 2022-01-25 21:08:35 +01:00
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