Commit Graph

2564 Commits

Author SHA1 Message Date
Joaquim Broquetas 520128162e
Add CFR to srsue LTE UL (#3865)
lte,phy: Add CFR to srsue LTE UL

This commit adds the configuration steps needed to enable
and configure the CFR module for the srsue's uplink signal.
Parsing of the CFR manual threshold has been streamlined.
2022-03-07 17:05:33 +01: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
Andre Puschmann 866fe55c42 enb,phy: reduce log level to info when RNTI isn't found
this can happen during user removal

2022-02-13T00:47:49.195816 [RRC    ] [I] Activity timer for rnti=0x50 expired after 80 ms
2022-02-13T00:47:49.195818 [GTPU   ] [I] Removing user - rnti=0x50 not found.
2022-02-13T00:47:49.195818 [STCK   ] [I] Bearers: No EPS bearer registered for rnti=0x50
2022-02-13T00:47:49.195827 [RRC    ] [I] Removed user rnti=0x50
2022-02-13T00:47:49.199697 [PHY    ] [E] [ 7234] Error setting grant for rnti=0x0, cc=0

2022-02-13T00:47:49.199698 [PHY0   ] [I] [ 7233] Failed setting UL grants. Some grant's RNTI does not exist.
2022-02-13T00:47:49.209172 [MAC    ] [I] [ 7242] User rnti=0x4f removed from MAC/PHY
2022-02-13T00:47:49.223248 [MAC    ] [I] [ 7256] User rnti=0x50 removed from MAC/PHY
2022-02-14 16:47:50 +01:00
Xavier Arteaga 8140e62a7f GNB-PHY: fix max PUSCH LDPC iterations 2022-02-13 10:46:42 +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 e8902c785f rrc,gnb: remove srsran_prach_cfg_t from gnb rrc config struct 2022-02-08 18:21:07 +01:00
Andre Puschmann 2c2c1857e9 enb_phy_test: fix uninitialized memory 2022-02-08 16:04:27 +01:00
Carlo Galiotto b259dbedb1 enb: tentative fix for ubuntu18.04 compile error
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-07 12:09:38 +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
Pedro Alvarez c99ecd8009 enb,s1ap: make sure we don't processa the ICS request if there is an ICS already on-going. 2022-01-27 15:13:32 +00: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
Bedran Karakoc 9507dbc534 enb,ngap: Fix global gnb ID in NGAP 2022-01-19 18:34:35 +01:00
Xavier Arteaga 98f304bfa8 Add in srsue and srsenb SSB configuration in log 2022-01-17 10:55:38 +01:00
Ismael Gomez 67db8a2b75 srsenb: add support for A5 report 2022-01-13 17:35:20 +01:00
Ismael Gomez dcd94649ef enb,parser: add option to set a default tx gain per cell 2022-01-13 17:25:39 +01:00
faluco 1ec8e8a94e Raise C++ version to 14 and fix ill-formed code that is considered by this new standard. 2022-01-13 13:35:58 +00:00
Francisco 59b3635acf rrc,lte: fix sCell activation in case of handover with #CC > 2 2022-01-12 20:18:28 +00:00
Xavier Arteaga a19d68710c Fix successful related typos 2022-01-12 16:37:37 +01:00
Francisco 5c122f28d3 sched,lte: fix unwanted segmentation of RLC PDUs. The scheduler cannot allocate the same lcid multiple times per TTI 2022-01-12 11:23:01 +00:00
Xavier Arteaga 5760080b27 Fix multiple nr_phy_test tests 2022-01-12 10:27:33 +01: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 Paisana 2d2a5bee03 asn1: update procotol_ie_single_container interface to use -> operator instead of .value to access container content 2022-01-11 22:59:38 +00:00
Francisco Paisana 6b181e7a94 asn1: move protocol_ie_single_container_s to asn1_utils, so it can be used by ngap, s1ap, and other layers 2022-01-11 22:59:38 +00:00
Ismael Gomez cc635168dd enb,rrc: add more context to log line 2021-12-30 20:11:27 +01:00
Ismael Gomez daa7d8cdb5 Increase number of tunnels per UE 2021-12-22 22:41:24 +01:00
Fabian Eckermann cdbe6a6e1d Make sure to not access out-of-bounds iterator when erasing vector elements. 2021-12-17 17:30:25 +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
Ismael Gomez 9f1a1c297c
Merge pull request #3710 from softwareradiosystems/feature_nr_sa_igm
Initial version of UE NR SA
2021-12-03 19:54:20 +01:00
Andre Puschmann 2a12e91594 enb,metrics_stdout: fix printing in SA mode 2021-12-01 14:25:17 +01:00
Francisco d1ddd3da4d gnb,rrc: make plmn and cell id configurable in SIB1 2021-12-01 12:22:14 +01:00
Ismael Gomez 6947f87bcb Add minimum NR SA logic in parent PHY class 2021-11-30 14:45:26 +01:00
dvdgrgrtt 32c4da8db0 Fix typos 2021-11-29 15:25:34 +01:00
Francisco 74fda904ac nr,gnb,stack: use common gtpu_pdcp_adapter class for both NSA and SA cases 2021-11-29 10:08:07 +00:00
Francisco 61e923a6a6 nr,gnb,rrc: configurable RRC NR inactivity timeout 2021-11-26 17:20:18 +00:00
Francisco 5411e75ce3 fix failing unit tests due to bug in enb parser related to the rf_port 2021-11-25 19:03:30 +00:00
Pedro Alvarez f86fbe97bd gnb,rrc_nr: simplified parsing of NEA/NIA preference list 2021-11-25 16:11:09 +00:00
Pedro Alvarez 84f94b26b2 gnb,rlc_nr: re-used security algo preference list from LTE. Added the ability to enable integrity/encription at the PDCP upon the security mode command. 2021-11-25 16:11:09 +00:00
Andre Puschmann 77a7185274 cfg_parser: check RF port numbering starts with zero
make sure all RF ports are in-order with no gaps and zero indexed
2021-11-25 16:30:34 +01:00
Francisco 976532fb52 nr,gnb,cfg: set phy nr cell cfg only after the rrc cfg is completely generated 2021-11-24 20:24:39 +00:00
Francisco 9ecb3f516d nr,gnb,rrc: add helper function to derive rrc cfg parameters for all cells 2021-11-24 12:30:00 +00:00
Andre Puschmann bef3553586 enb.conf.example: remove already removed parameter 2021-11-24 12:10:17 +01:00
Pedro Alvarez 2fad9ded01 Make sure that the pcap is started before NGAP init, so that the NGSetupRequest is caught 2021-11-23 17:12:53 +00:00
Pedro Alvarez 5e22e42762 Added option to save NGAP pcaps. 2021-11-23 17:12:53 +00:00
Francisco ffc1ea5c86 nr,gnb,phy: decoupled gnb and enb phy config structs by moving them to separate files 2021-11-23 10:56:38 +00:00
Francisco ed1514cf68 nr,gnb,sched: implement ConRes CE scheduling command in NR sched 2021-11-22 12:56:02 +00:00
Francisco 79a018683f nr,gnb,rrc: consistent generation of rachConfig for phy, SIB1, and NSA reconf 2021-11-18 22:48:14 +00:00
Andre Puschmann 7eb4fb944d gnb,ngap: set NGAP connect params to S1AP equivalents
in SA mode we use the S1AP params for AMF and NGC
2021-11-18 17:29:15 +01:00