Skip to content

Commit 81e5fd4

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 81e5fd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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);

feeds/qca-wifi-7/mac80211/files/usr/share/hostap/wifi-detect.uc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function wiphy_detect() {
9696
let info = {
9797
antenna_rx: phy.wiphy_antenna_avail_rx,
9898
antenna_tx: phy.wiphy_antenna_avail_tx,
99+
reconf: true,
99100
bands: {},
100101
radios: []
101102
};

0 commit comments

Comments
 (0)