luci-base: add getWirelessDevices() rpc method
authorJo-Philipp Wich <jo@mein.io>
Tue, 3 Sep 2019 14:49:25 +0000 (16:49 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000 (15:28 +0200)
commit8cd40eb1e66ec97be051465cdd9d7f51b5c1b58e
tree807430c1601a3a450c68ca54cbf176744d6f9014
parent8481330e427706cc798449c6c70856b6f731196d
luci-base: add getWirelessDevices() rpc method

The getWirelessDevices() method merges the results of the
network.wireless/status call with corresponding per-radio and
per-network iwinfo data.

This allows to simplify the client side network state model
implementation and saves extraneous rpc roundtrips to fetch
iwinfo data after discovering the wireless devices.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/root/usr/libexec/rpcd/luci