Open lemon-lyman opened 3 years ago
RF Pipe is very simple. It does not handle in-band (same waveform) interference and does not implement a channel access protocol. Only the outofband noise mode is valid for this model. If you want to use RF Pipe and see jammer impact, introduce jamming from another waveform or another RF Pipe network with a different subid, or use emane-jammer-simple.
Hey, thanks so much for the response!
So from your comment I tried two things:
noisemode=outofband for these new trials
Do I need to change any settings on the receiving node for this interference to show up?
Try this:
Observations:
regards
kb
Kaushik B. Patel Adjacent Link LLC
On 5/6/21 11:55 AM, Nick West wrote:
Hey, thanks so much for the response!
So from your comment I tried two things:
- Giving the sending nodes (nodes 1 & 2) different frequencies. One matched that receiving node (node 3) and one didn't. This just resulted in the outofband node not getting any messages through to the receiving node, but it didn't have the desired effect of decreasing the SINR.
- I tried a similar thing with setting different subid's on nodes 1 & 2 and it had the same effect. One node didn't get any messages through, but still the same SINR.
noisemode=outofband for these new trials
Do I need to change any settings on the receiving node for this interference to show up?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adjacentlink/emane/issues/196#issuecomment-833635262, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPLXM25VDJ4AOGJN5I7VPLTMK3XBANCNFSM44HHD3IA.
Thanks for the suggestion.
After setting up as you describe, I ran the script again with the same unexpected result: No effect on SINR. However, if I tcpdump the traffic I notice that the packets from node 1 (different subid) aren't being sent to the OTA channel. Normally, when all subid's are the same, tcpdump shows thousands of messages from nodes 1 & 2 being uploaded to the OTA channel (labeled as 172.16.0.2 and 172.16.0.3 here due to CORE's different indexing system) However, when I change the subid of node 1 to something different, almost no traffic gets uploaded to the OTA channel from node 1. Node 1 still thinks its correctly sending the packets. I checked the logs on node 1 and the python socket library is throwing no errors.
It is probably ARP. If you don't have a node to respond, you should disable ARP or statically populate your ARP cache.
Goal
Simple jamming demonstration with 3 nodes. Node 1 sends to Node 3 and a short while later Node 2 also starts sending to Node 3 (jamming).
Expected behavior
I would expect the SINR to drop to around 1 once Node 2 also starts sending since Node 2 and Node 1 have identical settings. The rxpower of Node 2 and Node 1 should be the same at Node 3 and Node 1 should be counted as noise in the calculation of SINR between 2 and 3 and vice versa with Node 2's signal in the calculation of SINR between 1 and 3.
Actual behavior
I've paired down our use-case as best I could into the script at the bottom. I realize it contains some non-EMANE code but I believe the central issue is EMANE. I hope the other stuff is clear enough.
Each node wrapper uses the control port and the method described in this question to keep a log of SINR_avg and the instantaneous SINR between itself and every other node. After running the script, here are those SINR logs:
Once Node 2 starts also sending to Node 3, the SINR betweeen 3->2 and 3->1 doesn't really change, as expected.
I've tried this on all three noisemode settings with the same results. I've verified that my instantaneous calculation of the SINR works in a separate example where nodes are moved around and the instantaneous SINR reflects the new positions.
Edit for clarification: The "sending" is done using the tx.py script which is triggered by CORE. It uses the Python socket library to send packets between nodes. I've verified that these packets use the OTA channel and that they are received on the other side.
Script: