BPI-R4 wifi problems after upgrading openwrt

Whenever i upgrade openwrt to the latest version, it kills my wifi. I have no idea whats going on. To get it working again, i have to rm /etc/config/wireless && wifi config - and then configure it in luci to have it working again. I use $OPENWRT_BUILD/etc to have the correct config in the image. I have no idea whats going on :>

The log when restarting the device in luci after an upgrade (where the error occurs):

Thu Mar 13 19:47:08 2025 daemon.notice hostapd: Set new config for phy phy0.1:
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: Remove interface 'phy0.1'
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: phy0.1-ap0: interface state ENABLED->DISABLED
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: phy0.1-ap0: AP-DISABLED
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: phy0.1-ap0: CTRL-EVENT-TERMINATING
Thu Mar 13 19:47:08 2025 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: nl80211: deinit ifname=phy0.1-ap0 disabled_11b_rates=0
Thu Mar 13 19:47:08 2025 kern.info kernel: [22741.708954] mt7996e 0000:01:00.0 phy0.1-ap0: left allmulticast mode
Thu Mar 13 19:47:08 2025 kern.info kernel: [22741.715236] mt7996e 0000:01:00.0 phy0.1-ap0: left promiscuous mode
Thu Mar 13 19:47:08 2025 kern.info kernel: [22741.721490] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:08 2025 daemon.notice netifd: Network device 'phy0.1-ap0' link is down
Thu Mar 13 19:47:08 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.1
Thu Mar 13 19:47:08 2025 daemon.notice netifd: Wireless device 'radio1' is now down
Thu Mar 13 19:47:08 2025 daemon.notice netifd: radio1 (12242): WARNING: Variable 'data' does not exist or is not an array/object
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: Set new config for phy phy0.1:
Thu Mar 13 19:47:08 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.1
Thu Mar 13 19:47:08 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.1
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: Set new config for phy phy0.1: /var/run/hostapd-phy0.1.conf
Thu Mar 13 19:47:08 2025 daemon.notice hostapd: Restart interface for phy phy0.1
Thu Mar 13 19:47:09 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=CH ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 stationary_ap=1 tx_queue_data2_burst=2.0 #num_global_macaddr=1 #macaddr_base= ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=-6 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-3][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] channel=acs_survey  interface=phy0.1-ap0 bssid=fe:2b:1f:78:be:6d ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 ocv=0 sae_require_mfp
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.567620] br-lan: port 7(phy0.1-ap0) entered blocking state
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.573431] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.579244] mt7996e 0000:01:00.0 phy0.1-ap0: entered allmulticast mode
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.585944] mt7996e 0000:01:00.0 phy0.1-ap0: entered promiscuous mode
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.592540] br-lan: port 7(phy0.1-ap0) entered blocking state
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.598288] br-lan: port 7(phy0.1-ap0) entered forwarding state
Thu Mar 13 19:47:09 2025 daemon.notice hostapd: phy0.1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Mar 13 19:47:09 2025 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Thu Mar 13 19:47:09 2025 daemon.notice hostapd: phy0.1-ap0: interface state COUNTRY_UPDATE->ACS
Thu Mar 13 19:47:09 2025 daemon.notice hostapd: phy0.1-ap0: ACS-STARTED
Thu Mar 13 19:47:09 2025 daemon.notice netifd: Wireless device 'radio1' is now up
Thu Mar 13 19:47:09 2025 daemon.notice netifd: Network device 'phy0.0-ap0' link is down
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.858089] br-lan: port 5(phy0.0-ap0) entered disabled state
Thu Mar 13 19:47:09 2025 kern.info kernel: [22742.864232] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:09 2025 kern.info kernel: [22743.275006] br-lan: port 6(phy0.2-ap0) entered disabled state
Thu Mar 13 19:47:09 2025 kern.info kernel: [22743.368295] mt7996e 0000:01:00.0 phy0.2-ap0 (unregistering): left allmulticast mode
Thu Mar 13 19:47:09 2025 kern.info kernel: [22743.375958] mt7996e 0000:01:00.0 phy0.2-ap0 (unregistering): left promiscuous mode
Thu Mar 13 19:47:09 2025 kern.info kernel: [22743.383540] br-lan: port 6(phy0.2-ap0) entered disabled state
Thu Mar 13 19:47:10 2025 daemon.notice netifd: Network device 'phy0.2-ap0' link is down
Thu Mar 13 19:47:10 2025 daemon.warn netifd: Wireless device 'radio0' setup failed, retry=3
Thu Mar 13 19:47:10 2025 daemon.warn netifd: Wireless device 'radio2' setup failed, retry=3
Thu Mar 13 19:47:10 2025 daemon.notice netifd: radio0 (12349): Command failed: Not found
Thu Mar 13 19:47:10 2025 daemon.notice netifd: radio2 (12350): Command failed: Not found
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.0
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.2
Thu Mar 13 19:47:10 2025 kern.info kernel: [22743.719010] br-lan: port 5(phy0.0-ap0) entered disabled state
Thu Mar 13 19:47:10 2025 kern.info kernel: [22743.758341] mt7996e 0000:01:00.0 phy0.0-ap0 (unregistering): left allmulticast mode
Thu Mar 13 19:47:10 2025 kern.info kernel: [22743.766001] mt7996e 0000:01:00.0 phy0.0-ap0 (unregistering): left promiscuous mode
Thu Mar 13 19:47:10 2025 kern.info kernel: [22743.773571] br-lan: port 5(phy0.0-ap0) entered disabled state
Thu Mar 13 19:47:10 2025 daemon.warn netifd: Wireless device 'radio1' setup failed, retry=3
Thu Mar 13 19:47:10 2025 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Mar 13 19:47:10 2025 daemon.notice netifd: Wireless device 'radio2' is now down
Thu Mar 13 19:47:10 2025 daemon.notice hostapd: Set new config for phy phy0.1:
Thu Mar 13 19:47:10 2025 daemon.notice netifd: radio0 (12401): WARNING: Variable 'data' does not exist or is not an array/object
Thu Mar 13 19:47:10 2025 daemon.notice netifd: radio2 (12402): WARNING: Variable 'data' does not exist or is not an array/object
Thu Mar 13 19:47:10 2025 kern.info kernel: [22744.059383] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:10 2025 kern.info kernel: [22744.128696] mt7996e 0000:01:00.0 phy0.1-ap0 (unregistering): left allmulticast mode
Thu Mar 13 19:47:10 2025 kern.info kernel: [22744.136361] mt7996e 0000:01:00.0 phy0.1-ap0 (unregistering): left promiscuous mode
Thu Mar 13 19:47:10 2025 kern.info kernel: [22744.143942] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:10 2025 daemon.notice hostapd: Set new config for phy phy0.2:
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.1
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.2
Thu Mar 13 19:47:10 2025 daemon.notice netifd: Wireless device 'radio1' is now down
Thu Mar 13 19:47:10 2025 daemon.notice hostapd: Set new config for phy phy0.0:
Thu Mar 13 19:47:10 2025 daemon.notice netifd: radio1 (12454): WARNING: Variable 'data' does not exist or is not an array/object
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.0
Thu Mar 13 19:47:10 2025 daemon.notice hostapd: Set new config for phy phy0.1:
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.1
Thu Mar 13 19:47:10 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.2
Thu Mar 13 19:47:11 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.0
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Set new config for phy phy0.2: /var/run/hostapd-phy0.2.conf
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Restart interface for phy phy0.2
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=CH ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 he_6ghz_reg_pwr_type=0 stationary_ap=1 #num_global_macaddr=1 #macaddr_base= op_class=134 ieee80211ax=1 he_oper_chwidth=2 he_oper_centr_freq_seg0_idx=acs_survey he_su_beamformer=1 he_su_beamformee=1 he_mu_beamformer=1 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_txop_request=0 he_mu_edca_ac_be_aifsn=8 he_mu_edca_ac_be_aci=0 he_mu_edca_ac_be_ecwmin=9 he_mu_edca_ac_be_ecwmax=10 he_mu_edca_ac_be_timer=255 he_mu_edca_ac_bk_aifsn=15 he_mu_edca_ac_bk_aci=1 he_mu_edca_ac_bk_ecwmin=9 he_mu_edca_ac_bk_ecwmax=10 he_mu_edca_ac_bk_timer=255 he_mu_edca_ac_vi_ecwmin=5 he_mu_edca_ac_vi_ecwmax=7 he_mu_edca_ac_vi_aifsn=5 he_mu_edca_ac_vi_aci=2 he_mu_edca_ac_v
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Enabling beacon protection as IEEE 802.11be is enabled for this BSS
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.625579] br-lan: port 5(phy0.2-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.631382] br-lan: port 5(phy0.2-ap0) entered disabled state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.637162] mt7996e 0000:01:00.0 phy0.2-ap0: entered allmulticast mode
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.643872] mt7996e 0000:01:00.0 phy0.2-ap0: entered promiscuous mode
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.650443] br-lan: port 5(phy0.2-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.656183] br-lan: port 5(phy0.2-ap0) entered forwarding state
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.2-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.2-ap0: interface state COUNTRY_UPDATE->ACS
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.2-ap0: ACS-STARTED
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Set new config for phy phy0.0: /var/run/hostapd-phy0.0.conf
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Restart interface for phy phy0.0
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=CH ieee80211d=1 hw_mode=g supported_rates=60 90 120 180 240 360 480 540 basic_rates=60 120 240 beacon_int=100 stationary_ap=1 chanlist=1 #num_global_macaddr=1 #macaddr_base= ieee80211n=1 ht_coex=0 ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] channel=1  interface=phy0.0-ap0 bssid=fe:2b:1f:78:be:5d ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 wpa_passphrase=xx! wpa_psk_file=/var/run/hostapd-phy0.0-ap0.psk auth_algs=1 wpa=2 wpa_pairwise=CCMP ssid=oli bridge=br-lan wds_bridge= snoop_iface=br-lan wpa_disable_eapol_key_retries=0 wpa_key_mgmt=WPA-PSK okc=0 disable_pmksa_caching=1 dynamic_vlan=0 vlan_naming=1 vlan_no_bridge
Thu Mar 13 19:47:11 2025 daemon.notice wpa_supplicant[1948]: Set new config for phy phy0.1
Thu Mar 13 19:47:11 2025 daemon.err hostapd: Failed to create interface phy0.0-ap0: -23 (Too many open files in system)
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Try to remove and re-create phy0.0-ap0
Thu Mar 13 19:47:11 2025 daemon.notice netifd: Wireless device 'radio2' is now up
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.869262] br-lan: port 6(phy0.0-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.875136] br-lan: port 6(phy0.0-ap0) entered disabled state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.880975] mt7996e 0000:01:00.0 phy0.0-ap0: entered allmulticast mode
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.887693] mt7996e 0000:01:00.0 phy0.0-ap0: entered promiscuous mode
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.905604] br-lan: port 6(phy0.0-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.911356] br-lan: port 6(phy0.0-ap0) entered forwarding state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.917378] br-lan: port 5(phy0.2-ap0) entered disabled state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.923310] br-lan: port 6(phy0.0-ap0) entered disabled state
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.0-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.957022] br-lan: port 6(phy0.0-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22744.962784] br-lan: port 6(phy0.0-ap0) entered forwarding state
Thu Mar 13 19:47:11 2025 daemon.notice netifd: Network device 'phy0.0-ap0' link is up
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.0-ap0: interface state COUNTRY_UPDATE->ENABLED
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.0-ap0: AP-ENABLED
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Set new config for phy phy0.1: /var/run/hostapd-phy0.1.conf
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Restart interface for phy phy0.1
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=CH ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 stationary_ap=1 tx_queue_data2_burst=2.0 #num_global_macaddr=1 #macaddr_base= ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=-6 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-3][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] channel=acs_survey  interface=phy0.1-ap0 bssid=fe:2b:1f:78:be:6d ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 ocv=0 sae_require_mfp
Thu Mar 13 19:47:11 2025 daemon.err hostapd: Failed to create interface phy0.1-ap0: -23 (Too many open files in system)
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: Try to remove and re-create phy0.1-ap0
Thu Mar 13 19:47:11 2025 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.359147] br-lan: port 7(phy0.1-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.364909] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.370715] mt7996e 0000:01:00.0 phy0.1-ap0: entered allmulticast mode
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.377379] mt7996e 0000:01:00.0 phy0.1-ap0: entered promiscuous mode
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.385071] br-lan: port 7(phy0.1-ap0) entered blocking state
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: phy0.1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.390824] br-lan: port 7(phy0.1-ap0) entered forwarding state
Thu Mar 13 19:47:11 2025 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Thu Mar 13 19:47:11 2025 kern.info kernel: [22745.462746] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:12 2025 kern.info kernel: [22745.508157] mt7996e 0000:01:00.0 phy0.1-ap0: left allmulticast mode
Thu Mar 13 19:47:12 2025 kern.info kernel: [22745.514427] mt7996e 0000:01:00.0 phy0.1-ap0: left promiscuous mode
Thu Mar 13 19:47:12 2025 kern.info kernel: [22745.520665] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:12 2025 daemon.notice hostapd: nl80211: Failed to remove interface phy0.1-ap0 from bridge br-lan: Invalid argument
Thu Mar 13 19:47:13 2025 kern.info kernel: [22746.580842] br-lan: port 7(phy0.1-ap0) entered blocking state
Thu Mar 13 19:47:13 2025 kern.info kernel: [22746.586592] br-lan: port 7(phy0.1-ap0) entered disabled state
Thu Mar 13 19:47:13 2025 kern.info kernel: [22746.592395] mt7996e 0000:01:00.0 phy0.1-ap0: entered allmulticast mode
Thu Mar 13 19:47:13 2025 daemon.notice hostapd: Failed to request acs scan ret=-16 (Resource busy) - try to scan after 5 seconds
Thu Mar 13 19:47:13 2025 daemon.notice hostapd: phy0.1-ap0: interface state COUNTRY_UPDATE->ACS
Thu Mar 13 19:47:13 2025 daemon.notice hostapd: phy0.1-ap0: ACS-STARTED
Thu Mar 13 19:47:13 2025 kern.info kernel: [22746.599080] mt7996e 0000:01:00.0 phy0.1-ap0: entered promiscuous mode
Thu Mar 13 19:47:13 2025 daemon.notice netifd: Wireless device 'radio1' is now up
Thu Mar 13 19:47:13 2025 daemon.info hostapd: phy0.0-ap0: STA 00:06:78:c7:a0:a7 IEEE 802.11: authenticated
Thu Mar 13 19:47:13 2025 daemon.info hostapd: phy0.0-ap0: STA 00:06:78:c7:a0:a7 IEEE 802.11: associated (aid 1)
Thu Mar 13 19:47:14 2025 daemon.notice hostapd: phy0.0-ap0: AP-STA-CONNECTED 00:06:78:c7:a0:a7 auth_alg=open
Thu Mar 13 19:47:14 2025 daemon.info hostapd: phy0.0-ap0: STA 00:06:78:c7:a0:a7 WPA: pairwise key handshake completed (RSN)
Thu Mar 13 19:47:14 2025 daemon.notice hostapd: phy0.0-ap0: EAPOL-4WAY-HS-COMPLETED 00:06:78:c7:a0:a7
Thu Mar 13 19:47:14 2025 daemon.info hostapd: phy0.0-ap0: STA 86:aa:af:8d:f6:ef IEEE 802.11: authenticated
Thu Mar 13 19:47:14 2025 daemon.info hostapd: phy0.0-ap0: STA 86:aa:af:8d:f6:ef IEEE 802.11: associated (aid 2)
Thu Mar 13 19:47:14 2025 daemon.notice hostapd: phy0.0-ap0: AP-STA-CONNECTED 86:aa:af:8d:f6:ef auth_alg=open
Thu Mar 13 19:47:14 2025 daemon.info hostapd: phy0.0-ap0: STA 86:aa:af:8d:f6:ef WPA: pairwise key handshake completed (RSN)
Thu Mar 13 19:47:14 2025 daemon.notice hostapd: phy0.0-ap0: EAPOL-4WAY-HS-COMPLETED 86:aa:af:8d:f6:ef

anyone an idea why is that?

I have exactly the same problem with BPI-R4 and BE1400 WiFi Module. I suppose it is related to the the hostapd Update introduced in early February 2025.

Posted about that here also: [Banana BPI-R4] Wifi7 status - #1244 by nextgen-networks - For Developers - OpenWrt Forum

This Problem does not occur on a second BPI-R4 that is equiped with a AsiaRF MT7916 WiFi module.

EDIT - working WiFi with old hostapd (build r28800) for test/validation purposes could be downloaded here:
sdcard image: nextgen-networks Cloud
squashfs Sysupgrade: nextgen-networks Cloud
PW: workingWIFI4U
DL valid until: 2025-03-23 GMT+1

ok, looks like we have a workaround here …

Add this to “System → Startup → Local Startup”:

# WiFi down/up to bring all IF to working state after successful startup
wifi down radio0
wifi down radio1
wifi down radio2
sleep 5
wifi up radio1
sleep 90
wifi up radio2
sleep 30
wifi up radio0

exit 0

It’ll feel like it will take ages but worked for me to bring all interfaces in a stable state. Had not much time to bullet proof this but now my WiFi survived 3 cold boot cycles :wink:

this looks like the most nasty hack i have ever seen :smiley:

i will test it and report back if it works, thanks!

edit: unfortunately, no success. when i restart the radios manually in luci, it seems to work after some tries. but wifi7 is dead. i should have used another SD, because this was running some openwrt versions ago.

what i can see in logread is:


Sat Mar 15 14:06:38 2025 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sat Mar 15 14:06:38 2025 daemon.notice hostapd: phy0.2-ap0: interface state UNINITIALIZED->ACS
Sat Mar 15 14:06:38 2025 daemon.notice hostapd: phy0.2-ap0: ACS-STARTED
Sat Mar 15 14:06:38 2025 daemon.notice netifd: Wireless device 'radio2' is now up
Sat Mar 15 14:06:43 2025 daemon.notice hostapd: phy0.2-ap0: ACS-COMPLETED freq=5240 channel=48
Sat Mar 15 14:06:43 2025 daemon.notice hostapd: phy0.2-ap0: interface state ACS->HT_SCAN
Sat Mar 15 14:06:44 2025 daemon.err hostapd: Failed to set beacon parameters
Sat Mar 15 14:06:44 2025 daemon.err hostapd: Interface initialization failed
Sat Mar 15 14:06:44 2025 daemon.notice hostapd: phy0.2-ap0: interface state HT_SCAN->DISABLED
Sat Mar 15 14:06:44 2025 daemon.notice hostapd: phy0.2-ap0: AP-DISABLED

feels like there is a lot not correctly working which was working a few weeks ago :confused: Also, when i enable one of the radios, it seems all are disabled for a moment (like some service network restart happens behind the scenes)

1 Like

Tomorro I’ll have some more time. Post the content of your /etc/config/wireless file here (with passwords redacted) if you like. Some more people have the chance to see the possible error causing point in your specific config then.

fwiw, last I checked openwrt 24.10 uses the mt7996e firmware dated august 2024.
In my personal repo I use the November 2024 firmware for the wifi and it has been loads better/faster. My last self compiled openwrt 24.10 dated March 1st (and subsequently installed the same day) has been running non-stop on 3 bpi-r4 boards.

I haven’t had time to check the newest firmware (released March 4th iirc). I do see OpenWRT pushed up some more mt76 driver changes I haven’t had a chance to check. It seems they’re still using the August 2024 firmware release (I don’t see an update to the .bin files).

The new hostapd version also causes errors for me when using multiple ssids, reverting the relevant commits makes things stable again.

1 Like