Fix virtual wireless (MultiSSID)
commit8f843352771659627a73d82f4d72cf29f8491e21
authorJean-Yves Avenard <jean-yves@avenard.org>
Fri, 27 Jul 2012 09:38:16 +0000 (27 19:38 +1000)
committerShibby <shibby@openlinksys.info>
Sat, 28 Jul 2012 10:04:01 +0000 (28 12:04 +0200)
treed4ea38b6afd029d919ba9071bbbb486ce3ce0cff
parenteeba51ea9ebda9d7491cb9e86165ac5f7dce2e25
Fix virtual wireless (MultiSSID)

This commit fixes several issues with MultiSSID:
- It didn't work properly with RT-N branch and the new brcm drivers.
- If the virtual SSID was using another bridge than LAN (br0) the new wireless interface was never added to the bridge.

Typical behaviours seen was one of the following: BSSID was null, not able to join the network or network not being visible altogether.

Add "wireless" and "wl" optional services:
- wireless: stop/start the wireless service, re-initialising the interfaces
- wl: load/unload the wl drivers and re-initalise the various wireless interfaces

Tested on Asus RT-N66U and Asus RT-N16

Note: When using virtual wireless on dual band routers, it is best to only set it on one adapter. 5GHz virtual wireless shows some strange behaviours. It's no surprise Asus disabled it all together.
release/src/router/rc/init.c
release/src/router/rc/network.c
release/src/router/rc/rc.h
release/src/router/rc/services.c