o11s / open80211s

open80211s
Other
242 stars 55 forks source link

Multiple Mesh IDs #94

Closed ramonfontes closed 3 years ago

ramonfontes commented 3 years ago

Does open80211s support multiple mesh IDs on a single wifi interface?

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.

For example, taking into account the network topology ap1 <-> ap2:

This works:

iw dev ap1-wlan2 interface add ap1-mp2 type mp
iw dev ap1-wlan2 interface add ap1-mp2.1 type mp
iw dev ap1-mp2 mesh join mesh-ssid freq 2432
iw dev ap1-mp2.1 mesh join mesh-ssid freq 2432

iw dev ap2-wlan2 interface add ap2-mp2 type mp
iw dev ap2-wlan2 interface add ap2-mp2.1 type mp
iw dev ap2-mp2 mesh join mesh-ssid freq 2432
iw dev ap2-mp2.1 mesh join mesh-ssid freq 2432

This doesn't work:

iw dev ap1-wlan2 interface add ap1-mp2 type mp
iw dev ap1-wlan2 interface add ap1-mp2.1 type mp
iw dev ap1-mp2 mesh join mesh-ssid freq 2432
iw dev ap1-mp2.1 mesh join mesh-ssid1 freq 2432

iw dev ap2-wlan2 interface add ap2-mp2 type mp
iw dev ap2-wlan2 interface add ap2-mp2.1 type mp
iw dev ap2-mp2 mesh join mesh-ssid freq 2432
iw dev ap2-mp2.1 mesh join mesh-ssid1 freq 2432

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

bcopeland commented 3 years ago

On Tue, May 04, 2021 at 03:14:35PM -0700, Ramon Fontes wrote:

Does open80211s support multiple mesh IDs on a single wifi interface?

I think this would be down to the driver support; I'm unaware of anything that would prevent it in the mesh stack itself. But I also don't know of a driver that does specifically support multiple mesh BSSes. It would need to at least have the concept of multiple per-MBSS station sets and be able to send different beacons.

-- Bob Copeland %% https://bobcopeland.com/