10145 Commits (85c95d94b2594947a7f9957b064d23ea69db05e6)
 

Author SHA1 Message Date
Carlo Galiotto fd4b368f71 sched,nr: handle case of ssb_periodicity not given
If the parameter ssb_periodicity is not given by higher layers,
the function needs to handle this case. The parameters could be
passed with 0 value, which makes the function crash.

For the time being, if ssb_periodicity is not given, the std value
5 ms will be used.

Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Carlo Galiotto 9d864bbe55 sched,nr: add function that schedule SSB
Notes:
- NOT YET TESTED
- Requires rebase on commit with PHY changes to work

Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Xavier Arteaga c9d7db7314 Minor changes 3 years ago
Xavier Arteaga e3bd92d87c Fix SSB pattern in UE 3 years ago
Xavier Arteaga 8f90ee847a Refactor carrier frequency from PHY and fix OFDM phase compensation 3 years ago
Xavier Arteaga fda35bf6a1 Initial OFDM carrier phase compensation 3 years ago
Xavier Arteaga 2ab3971ef1 Fix NR PBCH encoding/decoding 3 years ago
Xavier Arteaga 530b381c6c Change NR PDSCH/PUSCH freq/time resource format in log 3 years ago
Ismael Gomez 6b506ec357
phy_common: clear tx_hold flag before releasing the semaphore (#3342) 3 years ago
Andre Puschmann f8d55a6fd3 Refactor rrc nr. 3 years ago
yagoda 82bda02b36 adding nr metrics 3 years ago
Andre Puschmann 86938e8474 sched_nr_cfg: bump fixed UL MCS to 28 3 years ago
Andre Puschmann 1937e4d7fc ssb: add extra checks when configuring SSB
this is to avoid invalid configs that later on cause segfaults, etc.

e.g.:

    0 0x7f397adf64a3  (/lib/x86_64-linux-gnu/libc.so.6+0xbb4a3)
    1 0x7f397cc8c6ce  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x796ce)
    2 0x55b921d61707 in srsran_vec_cf_copy /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/lib/src/phy/utils/vector.c:226
    3 0x55b921d3b1d4 in ssb_demodulate /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/lib/src/phy/sync/ssb.c:632
    4 0x55b921d3d8ce in srsran_ssb_csi_measure /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/lib/src/phy/sync/ssb.c:905
    5 0x55b9215dc20f in srsue::nr::cc_worker::measure_csi() /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/srsue/src/phy/nr/cc_worker.cc:373
    6 0x55b9215dd216 in srsue::nr::cc_worker::work_dl() /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/srsue/src/phy/nr/cc_worker.cc:483
    7 0x55b9215f9c69 in srsue::nr::sf_worker::work_imp() /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/srsue/src/phy/nr/sf_worker.cc:78
    8 0x55b921c47cc6 in srsran::thread_pool::worker::run_thread() /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/lib/src/common/thread_pool.cc:48
    9 0x55b92152ea0b in srsran:🧵:thread_function_entry(void*) /mnt/data/jenkins/workspace/srslte_ogt_trial_builder_x86-ubuntu1804-asan/srsLTE/lib/include/srsran/common/threads.h:103
    10 0x7f397c9fb6da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
    11 0x7f397ae5c71e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x12171e)
3 years ago
faluco 666cb73cc9 Fix data race in phy_common::set_neighbour_cells. 3 years ago
faluco 72088dadb5 Fix race conditions in intra measure class. 3 years ago
Andre Puschmann 782aefa553 enb,rrc: derive ENDC configuration from cell config
* move ENDC config struct to main RRC config (same for all UEs)
* remove hard-coded measurement config for NR carrier
* now both TDD and FDD cells are correctly handled
3 years ago
Fabian Eckermann eb294fd4e3 Add phy object to rrc_nr_test. 3 years ago
Fabian Eckermann 992d1bb02a Configure PHY from RRC. 3 years ago
Xavier Arteaga 1aa65bd10c HOTFIX: force DFT wisdom save at exit 3 years ago
Francisco Paisana 28e25b12b4 sched,nr: add error checking and logging for invalid PIDs 3 years ago
Francisco Paisana 14b3a65dfe sched,nr: fix assignment of PID for PUSCH grants that the scheduler outputs 3 years ago
Andre Puschmann 2b1be3dbce enb,rrc_nr: fix wrong fmt formater 3 years ago
Andre Puschmann 3cd2de1ffe ue,rrc_nr: accept RRC Reconfigs with disable NZP and ZP configs 3 years ago
Andre Puschmann a66994aa80 gnb,rrc: disable NZP and ZP CSI configs 3 years ago
Fabian Eckermann 1018e7ae1c fix validation of ul_arfcn. 3 years ago
Fabian Eckermann 93eb6e93d9 Read band from rr config. 3 years ago
Ismael Gomez a1294ed06a srsgnb: use lcg=3 for as a default for drb. Pass lcg to MAC config 3 years ago
Francisco Paisana 78dad52cc8 rrc,nr,gnb: disable CQI configuration in gNB until gNB PHY supports it 3 years ago
Francisco Paisana a64750e1be rrc,nr,gnb: fix number of PDCCH candidates in search space 3 years ago
Andre Puschmann bf2606f94e ue,mac_nr: fix race condition by using thread-safe RNTI class 3 years ago
Fabian Eckermann e02218e4ab configure phy to be tdd by default (currently static). 3 years ago
Fabian Eckermann 077f9cd03e Add test for get_abs_freq_point_a_arfcn. 3 years ago
Fabian Eckermann 7f7cfe687d fix calculation. 3 years ago
Ismael Gomez 91401ae3a4 Fix meascfg test 3 years ago
Ismael Gomez 7bc8bb8500 combine all report configuration with all measurement objects 3 years ago
Ismael Gomez ada05ea0c8 Add A1, A2 and A4 measurement Reports event triggers 3 years ago
Ismael Gomez 04db8c6bbf Log measurementReport before checking if it's valid 3 years ago
Ismael Gomez c09f09b7be Move rrc_common from srsue to lib 3 years ago
Fabian Eckermann 8830c2796f Add support for NSA FDD on band n3, n5 and n7. 3 years ago
Fabian Eckermann 9b1d783812 Code formatting. 3 years ago
Fabian Eckermann 2d0be77660 Add helper functions for abs freq point a. 3 years ago
Francisco Paisana c45c3ec95c sched,nr: ensure the SSB and NZP CSI RS allocations are cleared at the end of every slot 3 years ago
Francisco Paisana d927b779dc sched,nr: implement methods to fill nzp csi-rs in scheduler 3 years ago
faluco a8f58f503c - Fix arm compiler warning. GCC treats chars as unsigned in this arch.
- Fix race condition in json metrics.
3 years ago
Francisco Paisana 17e015df62 rrc,nr: fix PUCCH Resource CSI configuration to avoid collisions with SR 3 years ago
Andre Puschmann 315057d11c enb: signal user activity to EUTRA RRC when doing NR DL traffic
to avoid releasing the UE when only NR DL traffic is done.
similar to the EUTRA solution.
3 years ago
Xavier Arteaga 8b2514ded3 Added NZP-CSI-RS signals in gNb 3 years ago
Andre Puschmann ca6ea55cb6 mac_nr_test: fix test vector after making padding BSR work 3 years ago
Andre Puschmann bed4cfb5e5 ue,mac_nr: fix generation of padding BSRs
* in Msg3 don't add explicit SBSR (rely on padding BSR to add)
* fix padding BSR generation to always use padding bytes to add it
3 years ago
Andre Puschmann 6054e1229b enb,rrc,rrc_nr: fix logging when removing user
each action should only be logged once
3 years ago