Skip to content

Commit 4172412

Browse files
author
Venkat Chimata
committed
hostapd/wifi-7: fix RRM neighbor report value not updating on hot reload
- Ensure rrm_neighbor_report is always set based on the current configuration during hot reload. - Prevent previously enabled values from being unintentionally preserved. - Allows both enable and disable transitions to take effect correctly without requiring a full restart. Fixes WIFI-15303 Signed-off-by: Venkat Chimata <venkat@nearhop.com>
1 parent c3d0434 commit 4172412

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From 777a360767110e276abe9c39264332b6787077d4 Mon Sep 17 00:00:00 2001
2+
From: Venkat Chimata <venkat@nearhop.com>
3+
Date: Sat, 14 Mar 2026 22:24:59 +0530
4+
Subject: [PATCH] hostapd/wifi-7: fix RRM neighbor report value not updating on
5+
hot reload
6+
7+
- Ensure rrm_neighbor_report is always set based on the current configuration during hot reload.
8+
- Prevent previously enabled values from being unintentionally preserved.
9+
- Allows both enable and disable transitions to take effect correctly without requiring a full restart.
10+
11+
Signed-off-by: Venkat Chimata <venkat@nearhop.com>
12+
---
13+
.../network/config/wifi-scripts/files/lib/netifd/hostapd.sh | 4 ++--
14+
1 file changed, 2 insertions(+), 2 deletions(-)
15+
16+
diff --git a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
17+
index 5ab6088599..cf4a2b79f4 100644
18+
--- a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
19+
+++ b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
20+
@@ -989,8 +989,8 @@ hostapd_set_bss_options() {
21+
set_default rrm_beacon_report 0
22+
fi
23+
24+
- [ "$rrm_neighbor_report" -eq "1" ] && append bss_conf "rrm_neighbor_report=1" "$N"
25+
- [ "$rrm_beacon_report" -eq "1" ] && append bss_conf "rrm_beacon_report=1" "$N"
26+
+ append bss_conf "rrm_neighbor_report=$rrm_neighbor_report" "$N"
27+
+ append bss_conf "rrm_beacon_report=$rrm_beacon_report" "$N"
28+
[ "$rnr" -eq "1" ] && append bss_conf "rnr=1" "$N"
29+
30+
json_get_vars ftm_responder stationary_ap lci civic
31+
--
32+
2.34.1
33+

0 commit comments

Comments
 (0)