[openwrt/openwrt] wifi-scripts: fix mcast_rate type (number, not array)

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 27 02:19:14 PST 2025


nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a6eb3d9536b8f0290ab2191780c6d3559843aca9

commit a6eb3d9536b8f0290ab2191780c6d3559843aca9
Author: Nick Hainke <vincent at systemli.org>
AuthorDate: Fri Dec 26 18:35:01 2025 +0100

    wifi-scripts: fix mcast_rate type (number, not array)
    
    The multicast rate (mcast_rate) is defined as a single numeric value,
    not an array. The ucode scripts already expect a single number, and
    the OpenWrt documentation specifies this option as an integer [0].
    
    Adjust the wireless schema accordingly. This also fixes the wdev.uc
    call path for the iw fallback mesh setup.
    
    [0] - https://openwrt.org/docs/guide-user/network/wifi/basic
    
    Link: https://github.com/openwrt/openwrt/pull/21291
    Signed-off-by: Nick Hainke <vincent at systemli.org>
---
 .../files-ucode/usr/share/schema/wireless.wifi-iface.json          | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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 c246c8fa4f..f5507305bd 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
@@ -605,11 +605,8 @@
 			"type": "boolean"
 		},
 		"mcast_rate": {
-			"description": "Allowed multicast rates",
-			"type": "array",
-			"items": {
-				"type": "number"
-			}
+			"description": "Allowed multicast rate",
+			"type": "number"
 		},
 		"mesh_auto_open_plinks": {
 			"type": "boolean"




More information about the lede-commits mailing list