From: Benjamin Berg Date: Wed, 4 Jun 2025 19:00:03 +0000 (+0200) Subject: wifi-scripts: add missing entries for mesh_nolearn X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F19030%2Fhead;p=thirdparty%2Fopenwrt.git wifi-scripts: add missing entries for mesh_nolearn The plumbing is there in the ucode files to set the parameter using nl80211. However, the option is never forwarded because it was missing in mac80211.sh. Add it there and in the schema file. Signed-off-by: Benjamin Berg Link: https://github.com/openwrt/openwrt/pull/19030 Signed-off-by: Robert Marko --- diff --git a/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh b/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh index 9b86abcee5d..d278f89518d 100755 --- a/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh +++ b/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh @@ -21,7 +21,7 @@ const mesh_param_list = [ "mesh_hwmp_rann_interval", "mesh_gate_announcements", "mesh_sync_offset_max_neighor", "mesh_rssi_threshold", "mesh_hwmp_active_path_to_root_timeout", "mesh_hwmp_root_interval", "mesh_hwmp_confirmation_interval", "mesh_awake_window", "mesh_plink_timeout", - "mesh_auto_open_plinks", "mesh_fwding", "mesh_power_mode" + "mesh_auto_open_plinks", "mesh_fwding", "mesh_nolearn", "mesh_power_mode" ]; function phy_suffix(radio, sep) { diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json index 58b665fc743..e26cd33c28f 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json @@ -617,6 +617,10 @@ "description": "Enable 802.11s layer-2 routing and forwarding", "type": "boolean" }, + "mesh_nolearn": { + "description": "Disable 802.11s path discovery", + "type": "boolean" + }, "mesh_gate_announcements": { "type": "number" },