o11s / open80211s

open80211s
Other
242 stars 55 forks source link

Multiple Mesh IDs on a single WLAN interface #95

Open Manash-UAS opened 3 years ago

Manash-UAS commented 3 years ago

Hello Everyone,

I am trying to build a scenario where there a device will have multiple virtual interface on a single physical wlan interface and those virtual interface are set on mesh mode.

Although I can create multiple mesh interfaces I can only establish connection when all the interfaces are using the mesh ID created for the first virtual interface.

First Scenario

iw dev ap1-wlan2 interface add ap1-mp2 type mp iw dev ap1-wlan2 interface add ap1-mp3 type mp iw dev ap1-mp2 mesh join mesh-id1 freq 2432 iw dev ap1-mp3 mesh join mesh-id1 freq 2432

iw dev ap2-wlan2 interface add ap2-mp2 type mp iw dev ap2-wlan2 interface add ap2-mp3 type mp iw dev ap2-mp2 mesh join mesh-id1 freq 2432 iw dev ap2-mp3 mesh join mesh-id1 freq 2432

In this scenario there is connection between the virtual interfaces when checked with iw dev <intf> station dump but traffic is passed only on the first virtual interface created not on other ones.

second scenario

iw dev ap1-wlan2 interface add ap1-mp2 type mp iw dev ap1-wlan2 interface add ap1-mp3 type mp iw dev ap1-mp2 mesh join mesh-id1 freq 2432 iw dev ap1-mp3 mesh join mesh-id2 freq 2432

iw dev ap2-wlan2 interface add ap2-mp2 type mp iw dev ap2-wlan2 interface add ap2-mp3 type mp iw dev ap2-mp2 mesh join mesh-id1 freq 2432 iw dev ap2-mp3 mesh join mesh-id2 freq 2432

In this scenario there is connection showing only on the first virtual interface created not on other. Though I can see the all virtual interfaces are sending there beacons.

iw dev ap1-mp3 station dump and iw dev ap2-mp3 station dump show no connection between ap1 and ap2.