Fix virtual wireless (MultiSSID)
commit8d18f4112d4f9b154395b5a0732d18b4ec3daf39
authorJean-Yves Avenard <jean-yves@avenard.org>
Fri, 27 Jul 2012 09:38:16 +0000 (27 19:38 +1000)
committerJean-Yves Avenard <jean-yves@avenard.org>
Sat, 28 Jul 2012 07:40:26 +0000 (28 17:40 +1000)
tree47d45d4712db5f34819b2d924978d6b974eac35c
parent3a9ac39946cfa308d89b71736443842e00a75358
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