nrf_wifi: Cover all modes in VIF 0 deletion reset
The previous reset only handled raw-mode overlays behind NRF70_SYSTEM_WITH_RAW_MODES and explicitly skipped AP and P2P types. If the default VIF was in AP or P2P mode when the interface went down, firmware retained that mode while the host assumed plain STATION on the next interface up, causing a mismatch.
Extend the reset to cover AP/P2P/P2P_CLIENT via SET_INTERFACE and simplify the whole block: use nrf_wifi_sys_fmac_chg_vif for interface-type resets instead of hand-crafting the UMAC command, and scope the reset to if_idx 0 only since non-default VIFs are fully destroyed by DEL_INTERFACE.
Signed-off-by: Chaitanya Tata Chaitanya.Tata@nordicsemi.no Assisted-by: Cursor:Opus4.6
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
nrf_wifi
nRF Wi-Fi framework