Developing lightweight computation at the DSG edge

Commit 9824ca07 authored by p4u's avatar p4u
Browse files

New wireless option: client mode. Added wpa-supplicant to associate with other APs

parent 6d58e2f5
......@@ -39,7 +39,7 @@ define Package/qmp-small-node
+iputils-arping +iputils-clockdiff +iputils-ping +iputils-tracepath \
+ahcpd \
+radvd \
+hostapd-mini \
+hostapd-mini +wpa-supplicant-mini \
+wireless-tools +iw +netperf \
+wide-dhcpv6-client +wide-dhcpv6-control +wide-dhcpv6-server \
+bmx6-qmp +bmx6-qmp-uci-config +bmx6-qmp-json +bmx6-qmp-sms +bmx6-luci \
......
wireless.@wifi-iface[#QMP_INDEX].mode=sta
wireless.@wifi-iface[#QMP_INDEX].ssid=#QMP_SSID
wireless.@wifi-iface[#QMP_INDEX].encryption=none
wireless.@wifi-iface[#QMP_INDEX].device=#QMP_DEVICE
wireless.#QMP_DEVICE=wifi-device
wireless.#QMP_DEVICE.type=mac80211
wireless.#QMP_DEVICE.macaddr=#QMP_MAC
wireless.#QMP_DEVICE.diversity=0
wireless.#QMP_DEVICE.txantenna=0
wireless.#QMP_DEVICE.rxantenna=0
wireless.#QMP_DEVICE.country=#QMP_COUNTRY
wireless.#QMP_DEVICE.outdoor=1
wireless.#QMP_DEVICE.txpower=#QMP_TXPOWER
......@@ -35,13 +35,14 @@ function index()
overview.sysauth_authenticator = "htmlauth"
-- Rest of entries
entry({"qmp","info"}, call("action_status"), "Info", 1).dependent=false
entry({"qmp","network"}, cbi("qmp/network"), "Network", 5).dependent=false
entry({"qmp","network","advanced"}, cbi("qmp/network_adv"), "Advanced networking", 1).dependent=false
entry({"qmp","wireless"}, cbi("qmp/wireless"), "Wireless", 6).dependent=false
entry({"qmp","splash"}, call("action_splash"), "Splash", 7).dependent=false
entry({"qmp","tools"}, call("action_tools"), "Tools", 8).dependent=false
entry({"qmp","map"}, call("action_map"), "Map", 8).dependent=false
entry({"qmp","info"}, call("action_status"), translate("Info"), 1).dependent=false
entry({"qmp","node"}, cbi("qmp/node"), translate("Node"), 4).dependent=false
entry({"qmp","network"}, cbi("qmp/network"), translate("Network"), 5).dependent=false
entry({"qmp","network","advanced"}, cbi("qmp/network_adv"), translate("Advanced networking"), 1).dependent=false
entry({"qmp","wireless"}, cbi("qmp/wireless"), translate("Wireless"), 6).dependent=false
entry({"qmp","splash"}, call("action_splash"), translate("Splash"), 7).dependent=false
entry({"qmp","tools"}, call("action_tools"), translate("Tools"), 8).dependent=false
entry({"qmp","map"}, call("action_map"), translate("Map"), 8).dependent=false
end
function action_status()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment