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>
This commit is contained in:
Benjamin Berg 2025-06-04 21:00:03 +02:00 committed by Robert Marko
parent 15c2ca0a83
commit 168de5cafe
2 changed files with 5 additions and 1 deletions

View file

@ -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) {

View file

@ -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"
},