RockPi4c hostapd failure

Hello,

I’m trying to get hostapd working on the embedded wifi chip. It works fine, but after a few hours I’m not able to connect to the wifi anymore.
I’m running NixOS with a mainline kernel (5.11.13).

The log has the following entries:

Apr 03 15:08:46 homeassistantR kernel: ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Apr 03 15:08:46 homeassistantR kernel: ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
Apr 03 15:08:48 homeassistantR kernel: ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Apr 03 15:08:48 homeassistantR kernel: ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
Apr 03 15:08:51 homeassistantR kernel: ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Apr 03 15:08:51 homeassistantR kernel: ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)

This is my hostapd config:

interface=wlan0
driver=nl80211
ssid=CENSORED
hw_mode=g
channel=11

# logging (debug level)
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2

ctrl_interface=/run/hostapd
ctrl_interface_group=wheel

wpa=2
wpa_passphrase=CENSORED

Does anyone run hostapd successfully? I’m suspecting that a different option for driver might help, but I’m not entirely sure as the used chipset should work fine with nl80211 (AFAIK).