Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

AP Connection Advice

21 views
Skip to first unread message

Osama Abu Hamdan

unread,
Sep 7, 2024, 5:14:58 PM9/7/24
to mininet-wifi-discuss
Hi Ramon,

I created an AccessPoint with two wlans.
Now, I want to connect a two stations to the first wlan and two other stations to the second wlan.

I tried net.addLink(sta1, ap1, intf="ap1-wlan1")
But it connects to the first wlan always.

I think this behavior is caused by the call to infra_wmediumd_link(node1, node2, **params) in net.py:678 always ignore port1 and port2.
Then in get_intf function in net.py:585, it always assigns wlan1 and wlan2 to 0.

Conclusion:
How can I connect to a wlan other than the first one in and AP?

Best

Ramon Fontes

unread,
Sep 7, 2024, 5:45:52 PM9/7/24
to Osama Abu Hamdan, mininet-wifi-discuss

Osama Abu Hamdan

unread,
Sep 7, 2024, 7:04:26 PM9/7/24
to mininet-wifi-discuss
Thanks for the quick response!
Is the second connection solely to link wlan1 and wlan2?

Best
Reply all
Reply to author
Forward
0 new messages