Hi,
I'll try to explain the problem that im getting with my code step by step.
First of all, i took as example the MonitorSniffRx from wifi-spectrum-per-interference to measure this parameter. I made the next test to compare with my program:
I printed the mac address headers from the packets that triggers MonitorSniffRx, the 4 MAC addresses viewing the generated pcap file are:

So having this is mind the output of the triggered packets is:

Config::ConnectWithoutContext ("/NodeList/0/DeviceList/*/Phy/MonitorSnifferRx", MakeCallback (&MonitorSniffRx));
The path thats its passed to the callback is the first node, thats the STA, which mac is 00:::::01


I made a new scenario to measure the co-channel interference. I just created 2 AP and 2 STA which are on a different channel of the 802.11n 2.4 GHz standard.
From my code im measuring the SNR of the APA which mac is 00:::::02 and i get more packets than its expected. This test is made using udp, the same as the wifi-spectrum-inteference example and as you can see i get a lot of different addresses.

So the next thing that i made is filter packets by the receiver address, and i got all the packets that are expected, but i doesnt seem that something the other ap and sta are interfering. The value of the SNR in a scenario with 1 AP and 1 STA is 23.3027dB, which is the same as i get now:

How is MonitorSniffRx triggered? I read the doxygen but i couldnt figure out how it works. Is there any way of measuring the interference? I read about The snr tag but it doesnt seem that is what i need here.
Is there any wat of measuring the interference or see that it works?
Regards, Marek.