summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Berg2025-06-04 19:00:03 +0000
committerRobert Marko2025-06-07 10:54:50 +0000
commit168de5cafe94416656238ca52f476223fb4c224f (patch)
tree8de1f956ad3076a8e95cec9d8e533d9f548ad4a7
parent15c2ca0a834752cc9505751fc6d2f51861d34dfd (diff)
downloadopenwrt-168de5cafe94416656238ca52f476223fb4c224f.tar.gz
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 <benjamin@sipsolutions.net> Link: https://github.com/openwrt/openwrt/pull/19030 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rwxr-xr-xpackage/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh2
-rw-r--r--package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json4
2 files changed, 5 insertions, 1 deletions
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 9b86abcee5..d278f89518 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 58b665fc74..e26cd33c28 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"
},