I'm using multiple SSIDs on my home router and the list of associated stations only includes the ones on primary interface.
I did some digging and found out what seems to be the problem:
luci calls status method of network.wireless to get the list of interfaces, but then only takes those that have the ifname
property. Secondary SSIDs don't have that, even when changing the default interface name (see OpenWRT network below):
"radio1": {
...
},
"interfaces": [
{
"section": "default_radio1",
"ifname": "wlan1",
"config": {
"mode": "ap",
"ssid": "Equus Asinus Asinus",
...
}
},
{
"section": "wifinet3",
"config": {
"ssid": "error404",
...
}
},
{
"section": "wifinet4",
"config": {
"ssid": "OpenWrt",
"encryption": "none",
...
"ifname": "wlan-owrt",
...
}
}
]
}
I'm going to do some changes to try and get this working, but would appreciate any pointers (could this break something else etc.). Otherwise the change shouldn't be too big. It's in /luci/libs/rpcd-mod-luci/src/luci.c
function rpc_luci_get_wireless_devices_cb
I haven't set up the build environment yet, just read about it and I was wondering what's the procedure to only build the package for this, not the whole firmware.