]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: add missing entries for mesh_nolearn 19030/head
authorBenjamin Berg <benjamin@sipsolutions.net>
Wed, 4 Jun 2025 19:00:03 +0000 (21:00 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 7 Jun 2025 10:54:50 +0000 (12:54 +0200)
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 <benjamin@sipsolutions.net>
Link: https://github.com/openwrt/openwrt/pull/19030
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json

index 9b86abcee5d2155340e98f1dc2f48574e33af1c0..d278f89518de38c965dc46a011e5e61339b4715a 100755 (executable)
@@ -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) {
index 58b665fc7431801b5f581906b35757996f7b96cf..e26cd33c28ffd51876f9211e6db592ac121bff09 100644 (file)
                        "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"
                },