How to calculate the RSSI values in LTE

467 views
Skip to first unread message

丁翔

unread,
Jun 11, 2017, 11:47:58 PM6/11/17
to ns-3-users
Hi,

 I'm working on LTE-model of ns3. I read the source code :lte-ue-phy.cc which models the LTE PHY parameters such as rsrp/rssi/rsrq/sinr.
void LteUePhy::GenerateCqiRsrpRsrq (const SpectrumValue& sinr){...} .
-----------------------------
for (itPj = m_rsReceivedPower.ConstValuesBegin ();
               itPj != m_rsReceivedPower.ConstValuesEnd ();
               itIntN++, itPj++)
            {
              rbNum++;
              // convert PSD [W/Hz] to linear power [W] for the single RE
              double interfPlusNoisePowerTxW = ((*itIntN) * 180000.0) / 12.0;
              double signalPowerTxW = ((*itPj) * 180000.0) / 12.0;
              rssiSum += (2 * (interfPlusNoisePowerTxW + signalPowerTxW));
            }
But I don't know how to use it in my own script. Are there any example scripts that I can refer to? Could someone would help me? Thank you very much!!!

Best,
Ding Xiang.

Iconic92

unread,
Jun 12, 2017, 4:50:53 AM6/12/17
to ns-3-users
The LTE-model has various trace sources you could use.
As a reference check: list of all ns-3 traces or Tracing tutorial
In your case you could use ns3::LteUePhy (ReportCurrentCellRsrpSinr: RSRP and SINR statistics or ReportUeMeasurements: Report UE measurements RSRP (dBm) and RSRQ (dB)).

I hope this might help a bit.

Best regards,
Iconic

丁翔

unread,
Jun 12, 2017, 10:20:14 AM6/12/17
to ns-3-...@googlegroups.com
Hi,

Thank you very much! I will check it. 
Do you know how to get the CQI feedback? I found the function CreateCqiFeedbacks (), should I try the trace souces too? 

Best,
DingXiang

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/5nsdLQvpAoo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages