free5G / free5GRAN

free5GRAN is an open-source 5G RAN stack. The current version includes a receiver which decodes MIB & SIB1 data. It also acts as a cell scanner. free5GRAN works in SA mode.
Apache License 2.0
96 stars 40 forks source link

Cell not found #3

Closed adejavel closed 3 years ago

adejavel commented 3 years ago

Context

In the current version, receiver detects cells based on PSS sequence correlation peak. This may vary depending on radio conditions, frequency and environment.

Fix 1

Thus, if receiver cannot detect existing cell, you can try to reduce threshold. You can adjust threshold in lib/variables/common_structures/common_structures.cpp by modifying different pre-defined bands. Parameter to be modified is pss_threshold.

Fix 2

One other not-related point that could make the receiver not to detect cell is SSB periodicity. If it is too short compared to the transmitter, receiver won't detect cell. SSB periodicity can be changed in config file. Maximum value is 0.16 (=160 ms).

adejavel commented 3 years ago

Corrected in last commit.