Skip to content

Commit 3b86a75

Browse files
author
Venkat Chimata
committed
wifi7: allow BSS reload with reconf flag instead of forcing full restart
On Wi-Fi 7 platforms, BSS reload events were always propagated with reconf=false, forcing netifd/hostapd into a full teardown path even when a reconfiguration reload was requested. This change restores the original intent by propagating the reconf flag correctly from the reload path, allowing hostapd to distinguish between reconfiguration-capable reloads and teardown-required cases. Additionally, mark Wi-Fi radios as reconf-capable during detection to enable hot reload behavior where supported. With this change, hot reload works consistently on Wi-Fi 7 APs in the same way as on Wi-Fi 6 platforms, avoiding unnecessary wireless teardown and driver reinitialization. Signed-off-by: Venkat Chimata <[email protected]>
1 parent 815006f commit 3b86a75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

feeds/qca-wifi-7/hostapd/files/hostapd.uc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,7 @@ return {
10571057
bss_event("add", name);
10581058
},
10591059
bss_reload: function(phy, name, obj, reconf) {
1060-
//bss_event("reload", name, { reconf: reconf != 0 });
1061-
bss_event("reload", name, { reconf: false });
1060+
bss_event("reload", name, { reconf: reconf != 0 });
10621061
},
10631062
bss_remove: function(phy, name, obj) {
10641063
bss_event("remove", name);

0 commit comments

Comments
 (0)