Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wmediumd multi-medium implementation #419

Merged
merged 3 commits into from May 26, 2022

Conversation

onurklngc
Copy link
Contributor

Changes required to use muti-medium feature coming with ramonfontes/wmediumd/pull/9

Initial multi-medium assignment can be performed with net.setInitialMediums((("sta1-wlan0", sta2, ap1)) which adds multimedium array data to wmediumd config file. Elements can either be the name of the interface or the station/AP object itself.

Medium IDs can be assigned at runtime as follows:

# Adding ap3's first interface to medium #3
ap3.setMediumId(3, intf=None)
# Adding sta6-wlan0 interface to medium #3
sta6.getNameToWintf("sta6-wlan0").setMediumId(3)

Includes example file named multimedium.py

@ramonfontes
Copy link
Member

This is a really interesting feature. We are discussing some improvements at ramonfontes/wmediumd#9

@ramonfontes
Copy link
Member

Hello,

Have you thoroughly tested this solution? Has it been working well?

@onurklngc
Copy link
Contributor Author

Hello Dr. Fontes,

Yes, I have tested it.

Station - AP connections are automatically detected by default. It can be disabled via the wmediumd config file(related check)

I can also add a parameter for user to decide if s/he want to enable/disable it from Mininet-Wifi by inserting related line to the config file on startup.

@ramonfontes ramonfontes merged commit 3721ed6 into intrig-unicamp:master May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants