wifi-scripts: add ucode based scripts
authorJohn Crispin <john@phrozen.org>
Thu, 17 Oct 2024 13:12:55 +0000 (15:12 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 2 Dec 2024 12:55:36 +0000 (13:55 +0100)
commit218f3884d2fb8badaaa0fa5643143a668713bad8
tree141cbfe701195a63fee1502b8720ed7409d4bb06
parent02102798883007afa3d28056fd588e4681f64155
wifi-scripts: add ucode based scripts

Add an ucode based re-implementation of the shell script based wifi code.

The new code is jsonschema driven. The code has been refactored into several
files making it easier to follow.

The new scripts are also way faster than the previous sh implementation.

The new code is currently opt-in via WIFI_SCRIPTS_UCODE and defaults to
EXPERIMENTAL.

Signed-off-by: John Crispin <john@phrozen.org>
14 files changed:
package/network/config/wifi-scripts/Config.in [new file with mode: 0644]
package/network/config/wifi-scripts/Makefile
package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh [new file with mode: 0755]
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/common.uc [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/netifd.uc [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc [new file with mode: 0644]
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/validate.uc [new file with mode: 0644]