[openwrt/openwrt] wifi-scripts: ucode: fix RRM defaults

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 11 08:28:42 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/49f9248ec9ea8a4c3d8f6b5abda06c57d26c3e59

commit 49f9248ec9ea8a4c3d8f6b5abda06c57d26c3e59
Author: Rany Hany <rany_hany at riseup.net>
AuthorDate: Tue Jan 6 14:35:05 2026 +0000

    wifi-scripts: ucode: fix RRM defaults
    
    They are being default enabled unconditionally when they should
    depend on 802.11k. 802.11k should not be enabled by default
    either as it can cause issues with certain older drivers and
    is useless without a userspace program like usteer or DAWN.
    
    If users want to enable 802.11k they will enable it when they
    set such programs up.
    
    Another inconsistency with rnr was dealt with so that it is not
    default enabled. This is also not done with old wifi-scripts
    and is generally unexpected and surprising behavior.
    
    Moreoever, this introduces an inconsistency between old shell
    wifi-scripts and ucode version. Old wifi-scripts does not do this.
    
    Signed-off-by: Rany Hany <rany_hany at riseup.net>
    Link: https://github.com/openwrt/openwrt/pull/21425
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit ee60b65643984509363a2157d7df763485995d46)
---
 .../files-ucode/usr/share/schema/wireless.wifi-iface.json    | 12 ++++--------
 1 file changed, 4 insertions(+), 8 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 f5507305bd..3761ae134f 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
@@ -424,8 +424,7 @@
 		},
 		"ieee80211k": {
 			"description": "Enables Radio Resource Measurement (802.11k) support",
-			"type": "boolean",
-			"default": true
+			"type": "boolean"
 		},
 		"ieee80211r": {
 			"description": "Enables fast BSS transition (802.11r) support.",
@@ -929,18 +928,15 @@
 		},
 		"rrm_beacon_report": {
 			"description": "Enable beacon report via radio measurements",
-			"type": "boolean",
-			"default": true
+			"type": "boolean"
 		},
 		"rrm_neighbor_report": {
 			"description": "Enable neighbor report via radio measurements",
-			"type": "boolean",
-			"default": true
+			"type": "boolean"
 		},
 		"rnr": {
 			"description": "Enable reduced neighbor reporting",
-			"type": "boolean",
-			"default": true
+			"type": "boolean"
 		},
 		"roaming_consortium": {
 			"description": "Roaming Consortium List",




More information about the lede-commits mailing list