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
107 stars 41 forks source link

feature request: SSB-RSRP,RSRQ,SINR measurement result #5

Closed gmg2719 closed 3 years ago

gmg2719 commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] No, just a new feature request Describe the solution you'd like A clear and concise description of what you want to happen. may use DMRS or PSS, SSS REs energy to estimate , the three measurement value can help me to evaluate the cell quality.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. No Additional context Add any other context or screenshots about the feature request here. No

adejavel commented 3 years ago

Hello @gmg2719 , From what I understand, measuring RSRQ requires decoding SIB2, SIB3 and SIB4. Is that right ? In that case, RSRQ cannot be computed today as the current version only decodes SIB1. For SINR, it is already estimated using channel estimation coefficients. It can be found in the Radio section of the output. RSRP will be released soon.

gmg2719 commented 3 years ago

There are two types of RSRQs. which are CSI-RSRQ and SSB-RSRQ. in fact SSB-RSRQ is simple to get. I don't think you must decoding SIBs to get SSB-RSRQ. SSB-RSRQ can be calculated just before cell selection procedure. in fact you can just use PBCH SS block to estimate SSB-RSRQ by the following equation: RSRQ= N*RSRP/RSSI , N is the RB mumber of PBCH SS block, which is 20.

CSI-RSRQ is very hard to get, because you must decode lots of RRC message to get CSI-RS configurations.

gmg2719 commented 3 years ago

By the way, the RSSI in the equation is restricted to PBCH SS block only (that is we only calculate RSSI of the 20 RBs).

adejavel commented 3 years ago

This has been added to the last commit. Thanks for your feedback.

Commit a01b634c6217d6ed41afe372d8604ca37762dfcc closes #5