The MonitorSnifferRx trace source does not consider Wi-Fi signal interferences - YansWifiPhy.

14 views
Skip to first unread message

G-Anthony

unread,
May 16, 2024, 5:30:49 AMMay 16
to ns-3-users
Hello everyone,

I have an access point and several static stations (infrastructure mode).

When I display the logs of the InterferenceHelper::CalculateSnr(double signal, double noiseInterference, uint16_t channelWidth, uint8_t nss) function, I see the impact of Wi-Fi signal interferences on the SNR calculation, as shown in the following examples:

bandwidth(MHz)=20, signal(W)= 1.61057e-06, noise(W)=4.01237e-13, interference(W)=5.09368e-08, snr=14.9995dB
bandwidth(MHz)=20, signal(W)= 1.61057e-06, noise(W)=4.01237e-13, interference(W)=0, snr=66.0358dB

bandwidth(MHz)=20, signal(W)= 6.39169e-07, noise(W)=4.01237e-13, interference(W)=0, snr=62.0221dB
bandwidth(MHz)=20, signal(W)= 6.39169e-07, noise(W)=4.01237e-13, interference(W)=4.1119e-08, snr=11.9157dB

However, when I calculate the SNR from the parameters (std::string context, Ptr<const Packet> p, uint16_t channelFreqMhz, WifiTxVector txVector, MpduInfo aMpdu, SignalNoiseDbm signalNoise, uint16_t staId) of the MonitorSnifferRx trace source, the SNR value remains unchanged.

snr = signalNoise.signal - signalNoise.noise;

Why do I have this behavior?

Thanks for your help.


Reply all
Reply to author
Forward
Message has been deleted
0 new messages