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.