377 Commits (7251d4dcd2c2bddd33b331f554b2d645772fa406)

Author SHA1 Message Date
yagoda 5240083454 eMBMS: adding mutex to mbsfn configuration in the eNodeB 2 years ago
yagoda acae2d88c6 phy,mbms: updating mutex and cvar in embms 2 years ago
Andre Puschmann 8cc7b3f614 enb,txrx: don't print SSB ARFCN/freq for EUTRA carriers 2 years ago
Ismael Gomez a6a9274203 srsgnb: derive SSB frequency and ssb_offset based on user provided coreset0 index configuration. Added extra configuration validators 2 years ago
Andre Puschmann 72220aa811 enb,phy: do not start start plots if LTE workers don't exist
this was causing a segfault when the GUI was enabled in SA mode, i.e. without LTE cells
we only support the GUI with LTE enabled.
3 years ago
yagoda 66b5b6c236 phy: pass number PRBs from the correct cell config into the channel emulator when running NR standalone mode 3 years ago
Ismael Gomez 2bbeef6068 srsgnb,metrics: add ul_pucch_ni metric and refactor rssi/epre nomenclature. Fix bug in rsrp_avg computation in pucch 3 years ago
Ismael Gomez cf647b1fd5 srsenb,metrics: add PUSCH/PUCCH RSSI metrics. Add bearer DL total data metric for RLC UM 3 years ago
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
3 years ago
Xavier Arteaga 8140e62a7f GNB-PHY: fix max PUSCH LDPC iterations 3 years ago
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
3 years ago
Carlo Galiotto d5859fb60b rrc-nr: remove comments/dead code
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto fe6500bd55 rrc: copy PUCCH cnf from RRCSetup to PHY structs
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto 362abfe3c9 rrc-nr: add conversion for pucch_cfg
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto a53e7c9673 TMP WIP
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Xavier Arteaga 98f304bfa8 Add in srsue and srsenb SSB configuration in log 3 years ago
faluco 1ec8e8a94e Raise C++ version to 14 and fix ill-formed code that is considered by this new standard. 3 years ago
Xavier Arteaga 5760080b27 Fix multiple nr_phy_test tests 3 years ago
dvdgrgrtt 32c4da8db0 Fix typos 3 years ago
Andre Puschmann 800933c38e slot_worker: disable baseband dump by default and don't exit after finishing 3 years ago
Andre Puschmann 2117aa93e2 slot_worker: add compile time option to write baseband signal to file 3 years ago
Ismael Gomez d5c235635f check lteworker is not null in log line 3 years ago
Francisco dab6e8bdcd nr,gnb: updates in parsing and phy files to allow the splitting of NR and LTE stacks 3 years ago
Francisco 8d719db43d nr,gnb,mac: implement zero-copy get_dl_sched/get_ul_sched NR scheduler interface 3 years ago
yagoda 5d6b48311e fixing a few regression bugs in embms 3 years ago
Andre Puschmann 2cee65bb88 enb,slot_worker: skip UL signal demod if scheduler returns empty results 3 years ago
Xavier Arteaga b54d4ad8e2 Avoid copying gNb common configuration in slot basis 3 years ago
Ismael Gomez 6bdefa33e4 fix minor issues 3 years ago
Ismael Gomez 09cec9ca5c srsenb,phy: do not get reference to ul_grants, do a copy instead to protect concurrent access 3 years ago
Ismael Gomez 2aeb32533f Print error setting ul grant 3 years ago
Ismael Gomez c479a1e51e srsenb: Handle error in decode_pusch to avoid logging PUSCH with 0 rnti 3 years ago
Fabian Eckermann 2aa59a55d5 Read max turbo decoder iterations from conf. 3 years ago
Xavier Arteaga 9ecea014bd Added PUSCH DMRS minimum SNR 3 years ago
Xavier Arteaga bdcf90d990 Enable NR PUSCH EVM estimation in srsenb 3 years ago
Xavier Arteaga 3c40cd2840 Improved NR PHY logging info 3 years ago
Xavier Arteaga a5f6aa9f31 Added CSI string in PDSCH and PUSCH decode 3 years ago
Fabian Eckermann b034a9c983 Lock mutex when setting common cfg. 3 years ago
Francisco 2b41efaa23 nr,phy,gnb: enable PUSCH debug logging 3 years ago
Xavier Arteaga 1bdb1bb62d Store PUSCH CSI from PUSCH DMRS 3 years ago
faluco a703279975 Fix a data race when passing the nr_workers to the txrx worker.
There was an unprotected access of the txrx reading this variable while being set from a different thread.
Fix it by starting the txrx thread after all variables are ready.
3 years ago
Xavier Arteaga b6ea78dfd3
Fix gNb PHY-Stack UL-DL time paradox (#3365)
* Fix gNb PHY-Stack UL-DL time paradox

* Fix clang compilation
3 years ago
Andre Puschmann 8bb06ff2c0 Added SSB in gNb PHY 3 years ago
Ismael Gomez 6b506ec357
phy_common: clear tx_hold flag before releasing the semaphore (#3342) 3 years ago
Fabian Eckermann 992d1bb02a Configure PHY from RRC. 3 years ago
Fabian Eckermann e02218e4ab configure phy to be tdd by default (currently static). 3 years ago
Fabian Eckermann 8830c2796f Add support for NSA FDD on band n3, n5 and n7. 3 years ago
Xavier Arteaga 8b2514ded3 Added NZP-CSI-RS signals in gNb 3 years ago
Andre Puschmann 3fd47d2af4 enb: refactor L2/L3 and (re)move all NR components to gNB stack
* decouple EUTRA and NR stack classes
* implement dummy X2 interface with control and data plane methods
* implement eNB time source interface that PHY calls
3 years ago
Andre Puschmann 824424a858 slot_worker: fix length calculation for PUSCH PDUs 3 years ago
Andre Puschmann c03623863b enb,nsa: fix UL PDU processing
* remove const from pusch_info() MAC/PHY interface to allow moving unique byte buffer
3 years ago