The interference range control in mininet-wifi

24 views
Skip to first unread message

GANLIN TANG

unread,
Sep 29, 2025, 5:38:11 AMSep 29
to mininet-wifi-discuss
Hello:
There is a question about how to control the interference range to avoid the CSMA/CA collision,
cause we can see the transmission range of the nodes, but actually I can't get 
the interference range of nodes and I'm not found the attribute in the node.
and it will influence even I change the node to a far distance.
When the E->F, B->C transmission seperately they still influence each others.

Screenshot from 2025-09-26 14-12-41.png

Ramon Fontes

unread,
Sep 29, 2025, 6:40:53 AMSep 29
to GANLIN TANG, mininet-wifi-discuss
Dear,

Many of your questions have already been addressed on this mailing list. Please take a moment to review the previous discussions.

--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/f8d43b4b-2379-497e-8968-314a17a6ce9bn%40googlegroups.com.

GANLIN TANG

unread,
Sep 29, 2025, 6:57:20 AMSep 29
to mininet-wifi-discuss
Thanks for reply:
But could please share just one link?
I guess the key word which I used is not same to the old questions.
Thanks!

Ramon Fontes

unread,
Sep 29, 2025, 7:33:51 AMSep 29
to GANLIN TANG, mininet-wifi-discuss
Multi-medium support in wmediumd was introduced in https://github.com/intrig-unicamp/mininet-wifi/commit/da0320efa87879a0b8b33c251a5f37635c1ba1c1#diff-d2c19ca10045ccc75baa61a9b952b7518b72043dbf32263ea61e90cac05918b9 and an example can be found at https://github.com/intrig-unicamp/mininet-wifi/blob/master/examples/wmediumd_multimedium.py.

It’s becoming difficult to keep up with the volume of questions you’re posting. I kindly ask that you review the previous discussions in this mailing list or check the GitHub issues before submitting new ones.

GANLIN TANG

unread,
Oct 2, 2025, 5:53:31 AM (13 days ago) Oct 2
to mininet-wifi-discuss
Hello Ramon:
I guess there is some bug in the plotGraph with containernet by docker.
Currently I use containernet to build a adhoc, actually it works good,
But a little problem happened, in the image displayed with matplotlib, if I execute py A.setPosition('360,295,0'), the point does move accordingly, but the initial point does not disappear and still remains. 
However, when I check using dev A-vlan0 station dump, the point has indeed moved successfully and no duplication occurred. 

I have appended the code in the attachment for your review. 
Thanks again for your help.

Screenshot from 2025-10-02 18-48-01.png
adhoc.py

Ramon Fontes

unread,
Oct 2, 2025, 6:02:04 AM (13 days ago) Oct 2
to GANLIN TANG, mininet-wifi-discuss
There is no bug in plotGraph(). The issue comes from using build() and start() together in the same code, which is not allowed.

GANLIN TANG

unread,
Oct 2, 2025, 6:06:19 AM (13 days ago) Oct 2
to mininet-wifi-discuss
Thanks for the super speed reply.
And it works so good!!
Thanks!!!!!

GANLIN TANG

unread,
Oct 13, 2025, 4:55:06 AM (2 days ago) Oct 13
to mininet-wifi-discuss
Hello Ramon:
Thanks for your help.
Based on the example from wmediumd_multimedium, I understand that different stations can be isolated from interference by assigning them to different mediums. 
However, in dynamic scenarios, is it possible to change their medium assignments based on distance — so that when two stations are within a certain range they interfere with each other, but when they are farther apart they do not? This would better reflect real-world behavior.
Thanks again.

Ramon Fontes

unread,
Oct 13, 2025, 5:13:28 AM (2 days ago) Oct 13
to GANLIN TANG, mininet-wifi-discuss
I haven’t had the chance to work with dynamic scenarios yet, but I believe it can be done using the network ID.

GANLIN TANG

unread,
Oct 13, 2025, 7:19:18 AM (2 days ago) Oct 13
to mininet-wifi-discuss
Hello Roman:
I have check the key word about network_id, actually there only some file about this parameters,
but there is not any example inside.
And I also check the station's params:
py A.params
{'ip': '10.0.0.1/8', 'ip6': '2001:0:0:0:0:0:0:1/64', 'channel': 1, 'freq': 2.4, 'mode': 'g', 'encrypt': '', 'passwd': None, 'ieee80211w': None, 'mac': '00:00:00:00:00:01', 'cpu_shares': 20, 'wlan': ['A-wlan0']}

It's not include the parameter of network id.
Is there any way to chagne it?
Thanks!

Ramon Fontes

unread,
Oct 13, 2025, 7:20:28 AM (2 days ago) Oct 13
to GANLIN TANG, mininet-wifi-discuss
Reply all
Reply to author
Forward
0 new messages