WiFi hotspot issue known?

I experience serious issues with running the internal wifi mdule as a hotspot at system start.
50% chance that ap mode starts correctly, but then, for some reason, ap mode quits, leaving the wifi card in an undefined state (not working anymore). Is this known?
If not, I will try to gather the log info, which, with current dhd flooding the console with messages, it a bit tricky considering the applications log is in there as well. You may need our help interpreting it, which we could do offline/per pm

@gkkpch What system are you using? Post your changes and let’s reproduce them here.

Sorry for the late reply!

Which system do you use? Android, Ubuntu, OOWOW or others?

Other (Volumio, based on Debian buster)

Which version of system do you use? Khadas official images, self built images, or others?

Self-built with fenix

Please describe your issue below:

Running wireless in AP-Mode fails most of the time.
Once AP-Mode is running and switch to a local SSID is made, things seem to be ok.

Post a console log of your issue below:

[skipped until dhd starts and a few irrelevant bits, just to stay within the post maximum size]


[   17.401362@1]  [dhd] _dhd_module_init: in Dongle Host Driver, version 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   17.401362@1]  drivers/net/wireless/bcmdhd compiled on Mar 12 2023 at 19:12:24
[   17.401362@1]
[   17.403216@1]  [dhd] ANDROID_VERSION = 11
[   17.403693@1]  [dhd] ======== dhd_wlan_init_plat_data ========
[   17.404520@1]  [dhd] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=72, oob_irq_flags=0x8
[   17.405413@1]  [dhd] dhd_wlan_init_gpio: WL_REG_ON=-1
[   17.406043@1]  [dhd] dhd_wifi_platform_load: Enter
[   17.406682@1]  [dhd] Power-up adapter 'DHD generic adapter'
[   17.407337@1]  [dhd] wifi_platform_set_power = 1, delay: 200 msec
[   17.408091@1]  [dhd] ######### dhd_pwr_ctrl=1 #########
[   17.408739@1]  [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[   17.409497@1]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484
[   17.610409@1]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Enable! 484


[skipped]


[   18.142649@2]  [dhd] wifi_platform_bus_enumerate device present 1
[   18.142747@2]  [dhd] ======== Card detection to detect SDIO card! ========
[   18.143598@2]  sdio_reset_comm():
[  OK  ] Found device /dev/ttyS0.
[   18.191712@0]  mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[   18.194172@1]  mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   18.196590@1]  mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   18.200881@1]  mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[   18.208194@1]  mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[   18.257478@1]  mali fe400000.bifrost: Kernel DDK version r37p0-01eac0
[   18.258294@1]  mali fe400000.bifrost: max pp is 2
[   18.258347@1]  mali fe400000.bifrost: set min pp to default 1
[   18.258992@1]  mali fe400000.bifrost: min pp is 1
[   18.259519@1]  mali fe400000.bifrost: set min clk default to 0
[   18.260240@1]  mali fe400000.bifrost: min clk  is 0
[   18.260887@1]  mali fe400000.bifrost: hiu io source  0x0000000096fb7669
[   18.261693@1]  mali fe400000.bifrost: aobus base 0x000000003e065b4e
[   18.262479@1]  mali fe400000.bifrost: reset bus 0x00000000fb746beb
[   18.265847@1]  mali fe400000.bifrost: clk cntl reg = 0x0
[   18.265899@1]  mali fe400000.bifrost: num of pp used most of time 1
[   18.266659@1]  mali fe400000.bifrost: clock dvfs cfg table size is 6
[   18.267436@1]  mali fe400000.bifrost: no reset_cfg
[   18.268016@1]  mali fe400000.bifrost: no apb_reset
[   18.268654@1]  mali fe400000.bifrost: max clk set 4
[   18.269216@1]  mali fe400000.bifrost: max clk  is 4
[   18.269821@1]  mali fe400000.bifrost: turbo clk set to 5
[   18.270500@1]  mali fe400000.bifrost: turbo clk  is 5
[   18.276524@1]  mali fe400000.bifrost: default clk set to 4
[   18.276661@1]  mali fe400000.bifrost: default clk  is 4
[   18.277252@1]  mali fe400000.bifrost: ====================0====================
[   18.277252@1]  clk_freq= 285714285, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshold=<0 76>, clk_sample=285
[   18.279520@1]  mali fe400000.bifrost: ====================1====================
[   18.279520@1]  clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=5, threshold=<80 120>, clk_sample=400
[   18.281732@1]  mali fe400000.bifrost: ====================2====================
[   18.281732@1]  clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshold=<80 120>, clk_sample=500
[   18.294260@1]  mali fe400000.bifrost: ====================3====================
[   18.294260@1]  clk_freq= 666666666, clk_parent=fclk_div3, voltage=1150, keep_count=5, threshold=<80 120>, clk_sample=666
[   18.295917@1]  mali fe400000.bifrost: ====================4====================
[   18.295917@1]  clk_freq= 846000000, clk_parent=  gp0_pll, voltage=1150, keep_count=5, threshold=<80 255>, clk_sample=846
[   18.298142@1]  mali fe400000.bifrost: ====================5====================
[   18.298142@1]  clk_freq= 846000000, clk_parent=  gp0_pll, voltage=1150, keep_count=5, threshold=<80 255>, clk_sample=846
[   18.300438@1]  mali fe400000.bifrost: clock dvfs table size is 6
[   18.301173@1]  kernel version >= 5.4
[   18.333243@1]  gpu cooling register okay with err=0
[   18.333446@1]  gpu core cooling register okay with err=0
[   18.333851@1]  mali fe400000.bifrost: kbase_device_runtime_init
[   18.334668@1]  mali fe400000.bifrost: pm_callback_runtime_on
[   18.335289@1]  mali fe400000.bifrost: pm_runtime_get_sync ret=0
[   18.336022@1]  mali fe400000.bifrost: pm_runtime enabled
[   18.336697@1]  mali fe400000.bifrost: shader_present=1, tiler_present=1, l2_present=1
[   18.337852@1]  mali fe400000.bifrost: GPU identified as 0x3 arch 7.0.9 r0p0 status 0
[   18.338747@1]  mali fe400000.bifrost: No priority control manager is configured
[   18.339534@1]  mali fe400000.bifrost: No memory group manager is configured
[   18.369537@1]  mali fe400000.bifrost: Probed as mali0
[   18.403159@0]  r: b_s = 0, b_sz = 24, f: b_s = 1c, b_sz = 24
[   18.403223@0]  the final result: sel = 1, rx = 12
[   18.403997@0]  [sdio_reinit] finish
[   18.404388@0]  [dhd] dummy_probe: enter
[   18.405002@0]  [dhd] dummy_probe: enter
[   18.421526@1]  [dhd] bcmsdh_register: register client driver
[   18.421713@1]  [dhd] bcmsdh_sdmmc_probe: Enter num=1
[   18.422399@1]  [dhd] bcmsdh_sdmmc_probe: Enter num=2
[   18.422835@1]  [dhd] bus num (host idx)=2, slot num (rca)=1
[   18.423496@1]  [dhd] found adapter info 'DHD generic adapter'
[   18.424237@1]  [dhd] succeed to alloc static buf
[   18.424862@0]  [dhd] sdioh_attach: set sd_f2_blocksize 256
[   18.425510@0]  [dhd] sdioh_attach: sd clock rate = 200000000
[   18.427130@0]  [dhd] dhdsdio_probe : no mutex held
[   18.427178@0]  [dhd] dhdsdio_probe : set mutex lock
[   18.427873@0]  [dhd] F1 signature read @0x18000000=0x15294345
[   18.439135@1]  [dhd] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2
[   18.439903@1]  [dhd] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[   18.443032@1]  [dhd] dhd_conf_set_chiprev : devid=0xa9bf, chip=0x4345, chiprev=9
[   18.462842@1]  [dhd] dhd_log_dump_init: kernel log buf size = 512KB; logdump_prsrv_tailsize = 80KB; limit prsrv tail size to = 76KB
[   18.464579@1]  [dhd] dhd_attach(): thread:dhd_watchdog_thread:181 started
[   18.470771@0]  [dhd] dhd_attach(): thread:dhd_dpc:182 started
[   18.477724@0]  [dhd] dhd_attach(): thread:dhd_rxf:183 started
[   18.477836@0]  [dhd] dhd_deferred_work_init: work queue initialized
[   18.478570@0]  [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[   18.479479@0]  [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=10, TCPDATA_INFO_MAXNUM=10
[   18.480617@0]  [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[   18.481265@0]  [dhd] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[   18.494676@1]  [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[   18.494878@1]  [dhd] Dongle Host Driver, version 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   18.494878@1]  drivers/net/wireless/bcmdhd compiled on Mar 12 2023 at 19:12:24
[   18.494878@1]
[   18.498199@1]  [dhd] Register interface [wlan0]  MAC: b8:13:32:4a:f5:da
[   18.498199@1]
[   18.499168@1]  [dhd] [wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[   18.499494@1]  [dhd] dhd_bus_devreset: == Power OFF ==
[   18.500795@1]  [dhd] dhd_bus_stop: making DHD_BUS_DOWN
[   18.506749@0]  [dhd] bcmsdh_oob_intr_unregister: Enter
[   18.506803@0]  [dhd] bcmsdh_oob_intr_unregister: irq is not registered
[   18.507549@0]  [dhd] dhd_bus_devreset: making dhdpub up FALSE
[   18.508259@0]  [dhd] dhd_txglom_enable: enable 0
[   18.508829@0]  [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[   18.509628@0]  [dhd] wifi_platform_set_power = 0, delay: 0 msec
[   18.510367@0]  [dhd] ######### dhd_pwr_ctrl=1 #########
[   18.510973@0]  [dhd] ======== PULL WL_REG_ON(-1) LOW! ========
[   18.511644@0]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484
[  OK  ] Found device /dev/disk/by-uuid/0754-CAB2.
[   18.734541@3]  [dhd] [wlan0] wl_android_wifi_off : out
[   18.735543@3]  [dhd] Register interface [wlan1]  MAC: ba:13:32:4a:f5:da
[   18.735543@3]
[   18.735942@3]  [dhd] dhdsdio_probe : mutex is released.
[   18.736885@3]  [dhd] _dhd_module_init: Exit err=0



[skipped]




[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started ifup for wlan0.
         Starting Raise network interfaces...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily apt download activities.
[  OK  ] Listening on triggerhappy.socket.
[  OK  ] Listening on mpd.socket.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on lircd.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started UPnP Renderer front-end to MPD.
[  OK  ] Started volumio-remote-updater.service.
[  OK  ] Started Manage Sound Card State (restore and store).
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting Login Service...
[  OK  ] Started Volumio Iptables Module.
         Starting triggerhappy global hotkey daemon...
         Starting lircd(8) initialization helper tool...
         Starting Save/Restore Sound Card State...
         Starting Wireless Services...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting LSB: Load kernel �…d to enable cpufreq scaling...
[  OK  ] Started Load/Save RF Kill Switch Status.
         Starting DHCP Client Daemon...
[   21.633813@1]  [dhd] WEXT-ERROR) wl_iw_get_essid : Error getting the SSID -36
[   21.774025@3]  [dhd] dhd_pri_open : no mutex held
[   21.774068@3]  [dhd] dhd_pri_open : set mutex lock
[   21.774533@3]  [dhd] [wlan0] dhd_open : Enter
[   21.775553@3]  [dhd] Dongle Host Driver, version 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   21.775553@3]  drivers/net/wireless/bcmdhd compiled on Mar 12 2023 at 19:12:24
[   21.775553@3]
[   21.777343@3]  [dhd] dhd_open: ######### called for ifidx=0 #########
[   21.778144@3]  [dhd] [wlan0] wl_android_wifi_on : in g_wifi_on=0
[   21.779229@3]  [dhd] wifi_platform_set_power = 1, delay: 200 msec
[   21.779641@3]  [dhd] ######### dhd_pwr_ctrl=1 #########
[   21.780284@3]  [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[   21.781618@3]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484


[skipped]


[   22.792458@1]  [dhd] sdioh_start: set sd_f2_blocksize 256
[   22.793267@1]  [dhd] dhd_bus_devreset: == Power ON ==
[   22.793784@1]  [dhd] F1 signature read @0x18000000=0x15294345
[   22.796572@1]  [dhd] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2
[   22.797182@1]  [dhd] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[   22.797789@1]  [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[   22.798476@1]  [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[   22.832600@1]  [dhd] dhd_os_open_image1: /lib/firmware/brcm/config_bcm43456c5_ag.txt (30 bytes) open success
[   22.839960@3]  [dhd] dhd_conf_read_others : wl_preinit = pm2_sleep_ret=2000
[   22.840175@3]  [dhd] dhd_conf_set_path_params : Final fw_path=/lib/firmware/brcm/fw_bcm43456c5_ag.bin
[   22.841306@3]  [dhd] dhd_conf_set_path_params : Final nv_path=/lib/firmware/brcm/nvram_ap6256.txt
[   22.842411@3]  [dhd] dhd_conf_set_path_params : Final clm_path=/lib/firmware/brcm/clm_bcm43456c5_ag.blob
[   22.843637@3]  [dhd] dhd_conf_set_path_params : Final conf_path=/lib/firmware/brcm/config_bcm43456c5_ag.txt
[   22.849211@0]  [dhd] dhd_os_open_image1: /lib/firmware/brcm/fw_bcm43456c5_ag.bin (588047 bytes) open success
[   22.959006@1]  [dhd] dhd_os_open_image1: /lib/firmware/brcm/nvram_ap6256.txt (2099 bytes) open success
[   22.961183@1]  [dhd] #AP6256_NVRAM_V1.1_08252017
[   22.961600@2]  [dhd] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[   23.036499@0]  [dhd] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[   23.036821@0]  [dhd] bcmsdh_oob_intr_register: HW_OOB irq=72 flags=0x8
[   23.037684@1]  [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[   23.038942@1]  [dhd] wlc_ver_major 3, wlc_ver_minor 0
[   23.039519@1]  [dhd] dhd_preinit_ioctls: preinit_status IOVAR not supported, use legacy preinit
[   23.039981@1]  [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 1
[   23.040891@1]  [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=10, TCPDATA_INFO_MAXNUM=10
[   23.042444@1]  [dhd] dhd_legacy_preinit_ioctls: use firmware generated mac_address b8:13:32:4a:f5:da
[   23.043650@1]  [dhd] dhd_apply_default_clm: Ignore clm file /lib/firmware/brcm/clm_bcm43456c5_ag.blob
[   23.045433@2]  [dhd] Firmware up: op_mode=0x0005, MAC=b8:13:32:4a:f5:da
[   23.049063@1]  [dhd] dhd_legacy_preinit_ioctls Set scancache failed -23
[   23.049756@1]  [dhd] dhd_legacy_preinit_ioctls: event_log_max_sets: 31 ret: -23
[   23.051969@2]  [dhd] arp_enable:1 arp_ol:0
[   23.055302@3]  [dhd]   Driver: 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   23.055302@3]  [dhd]   Firmware: wl0: May 22 2020 16:26:47 version 7.45.96.64 (9313dba@shgit) (r745790) FWID 01-e801948 es7.c5.n4.a3
[   23.055302@3]  [dhd]   CLM: 9.2.9 (2016-02-03 04:34:31)
[   23.057980@3]  [dhd] dhd_txglom_enable: enable 1
[   23.058306@3]  [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[   23.059152@3]  [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[   23.060019@3]  [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[   23.060970@3]  [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[   23.061941@3]  [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[   23.063614@3]  [dhd] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[   23.065094@3]  [dhd] dhd_pno_init: Support Android Location Service
[   23.065519@3]  [dhd] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-4
[   23.066297@3]  [dhd] dhd_rtt_init : FTM is not supported
[   23.066980@3]  [dhd] dhd_rtt_init EXIT, err = 0
[   23.068922@3]  [dhd] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[   23.069521@3]  [dhd] failed to get wnm_bsstrans_resp
[   23.070674@3]  [dhd] failed to set WNM capabilities
[   23.070731@3]  [dhd] dhd_legacy_preinit_ioctls: Monitor mode is not enabled in FW cap
[   23.093220@2]  [dhd] dhd_legacy_preinit_ioctls: Failed to get preserve log # !
[   23.113666@3]  [dhd] dhd_conf_map_country_list : CN/38
[   23.113710@3]  [dhd] dhd_conf_set_country : set country CN, revision 38
[   23.116956@2]  [dhd] dhd_conf_set_country : Country code: CN (CN/38)
[   23.122095@0]  [dhd] [wlan0] wl_android_wifi_on : Success
[   23.160914@2]  [dhd] [wlan0] dhd_open : Exit ret=0
[   23.160956@2]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   23.161538@2]  [dhd] dhd_pri_open : mutex is released.
[   23.234646@0]  custom_internal_config
[   23.235376@2]  set phy setup_amp = 0
[   23.235536@2]  meson8b-dwmac fdc00000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY]
[   23.250649@2]  meson8b-dwmac fdc00000.ethernet eth0: No Safety Features support found
[   23.250970@2]  meson8b-dwmac fdc00000.ethernet eth0: PTP not supported by HW
[   23.251843@2]  meson8b-dwmac fdc00000.ethernet eth0: configuring for phy/rmii link mode
[   23.440274@3]  [dhd] dhd_static_if_open : no mutex held
[   23.440323@3]  [dhd] dhd_static_if_open : set mutex lock
[   23.440927@3]  [dhd] [wlan1] dhd_static_if_open : Enter
[   23.441567@3]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   23.442408@3]  [dhd] CFG80211-ERROR) wl_cfg80211_deinit_p2p_discovery : Disabling P2P Discovery Interface
[   23.443722@3]  [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[   23.446190@1]  [dhd] dhd_wlfc_enable: ret=0
[   23.448477@2]  [dhd] [wlan1] dhd_static_if_open : Exit ret=0
[   23.448521@2]  [dhd] dhd_static_if_open : mutex is released.
[   24.708149@1]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   24.708196@1]  [dhd] [wlan0] dhd_stop : Enter
[   24.708761@1]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   24.709586@1]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   24.710472@1]  [dhd] [wlan0] dhd_stop : Exit
[   24.829990@3]  [dhd] dhd_pri_open : no mutex held
[   24.830032@3]  [dhd] dhd_pri_open : set mutex lock
[   24.830496@3]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   24.831565@3]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   24.832033@3]  [dhd] dhd_pri_open : mutex is released.
[   25.966435@0]  meson8b-dwmac fdc00000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   27.417175@2]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   27.417221@2]  [dhd] [wlan0] dhd_stop : Enter
[   27.417777@2]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   27.418634@2]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   27.419480@2]  [dhd] [wlan0] dhd_stop : Exit
[   27.446558@3]  [dhd] dhd_pri_open : no mutex held
[   27.446611@3]  [dhd] dhd_pri_open : set mutex lock
[   27.447062@3]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   27.447919@3]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   27.448602@3]  [dhd] dhd_pri_open : mutex is released.
[   27.545727@3]  [dhd] [wlan0] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[   27.567038@3]  [dhd] [wlan0] wl_cfg80211_set_channel : netdev_ifidx(7), chan_type(1) target channel(4)
[   27.590371@1]  [dhd] _dhd_wlfc_mac_entry_update():2062, entry(32)
[   27.591569@3]  [dhd] [wlan0] wl_cfg80211_bcn_bringup_ap : Creating AP with sec=wpa2/psk/mfpn/aes
[   27.628517@1]  [dhd] [wlan0] wl_iw_event : Link UP with b8:13:32:4a:f5:da
[   27.628524@0]  [dhd] [wlan0] wl_notify_connect_status_ap : AP/GO Link up
[   27.628706@1]  [dhd] [wlan0] wl_ext_iapsta_event : [A] Link up w/o creating? (etype=16)
[   28.406288@2]  nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables.

Debian GNU/Linux 10 volumio ttyS0

Welcome to Volumio!
WebUI available at volumio.local (192.168.211.1)
volumio login: [   30.083161@0]  broken atomic modeset userspace detected, disabling atomic
[   30.106015@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.106071@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.106874@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.107503@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.108216@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.108876@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.109570@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.110275@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.111055@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.111685@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.112387@0]  [drm] am_hdmitx_connector_atomic_set_property
[   30.113097@0]  [drm] am_hdmitx_connector_atomic_set_property

Debian GNU/Linux 10 volumio ttyS0

Welcome to Volumio!
WebUI available at volumio.local (192.168.0.112)
volumio login: [   30.753112@3]  [drm] Disabling plane 0, so skip postion calc
[   35.041798@3]  [dhd] [wlan0] wl_escan_set_scan : LEGACY_SCAN
[   35.048604@0]  [dhd] CFG80211-ERROR) wl_escan_handler : escan is not ready. drv_scan_status 0x0 e_type 69 e_status 8
[   35.049272@0]  [dhd] CFG80211-ERROR) wl_escan_handler : [Repeats 0 times]
[   41.214623@0]  [drm] hdcp_tx22 load timeout
[   44.252662@2]  [dhd] [wlan0] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[   44.271343@3]  [dhd] [wlan0] wl_cfg80211_stop_ap : stopping AP operation
[   44.272856@1]  [dhd] [wlan0] wl_iw_event : Link Down with b8:13:32:4a:f5:da, reason=4
[   44.273090@0]  [dhd] _dhd_wlfc_mac_entry_update():2062, entry(32)
[   44.273162@1]  [dhd] [wlan0] wl_ext_iapsta_event : [A] Link down, reason=4
[   44.274378@2]  [dhd] dhd_wlfc_deinit():4119, maintain HOST RXRERODER flag in tvl
[   44.295207@0]  [dhd] [wlan0] wl_cfg80211_add_del_bss : wl bss 2 bssidx:0
[   44.386443@3]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   44.386479@3]  [dhd] [wlan0] dhd_stop : Enter
[   44.387078@3]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   44.387839@3]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   44.388735@3]  [dhd] [wlan0] dhd_stop : Exit
[   44.492505@3]  [dhd] dhd_pri_open : no mutex held
[   44.492537@3]  [dhd] dhd_pri_open : set mutex lock
[   44.493002@3]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   44.493870@3]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   44.494539@3]  [dhd] dhd_pri_open : mutex is released.
[   47.063786@0]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   47.063822@0]  [dhd] [wlan0] dhd_stop : Enter
[   47.064497@0]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   47.065274@0]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   47.066162@0]  [dhd] [wlan0] dhd_stop : Exit
[   47.084771@2]  [dhd] dhd_pri_open : no mutex held
[   47.084802@2]  [dhd] dhd_pri_open : set mutex lock
[   47.085268@2]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   47.086121@2]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   47.086833@2]  [dhd] dhd_pri_open : mutex is released.
[   47.149405@2]  [dhd] [wlan0] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[   47.173029@1]  [dhd] dhd_wlfc_enable: ret=0
[   47.173403@2]  [dhd] [wlan0] wl_cfg80211_set_channel : netdev_ifidx(7), chan_type(1) target channel(4)
[   47.197422@0]  [dhd] _dhd_wlfc_mac_entry_update():2062, entry(32)
[   47.198572@3]  [dhd] [wlan0] wl_cfg80211_bcn_bringup_ap : Creating AP with sec=open/mfpn/none
[   47.207458@0]  [dhd] _dhd_wlfc_deque_afq: queue is empty
[   57.311838@3]  [dhd] CFG80211-ERROR) wl_cfg80211_ap_timeout_work : ** AP LINK UP TIMEOUT **
[   57.312558@3]  [dhd] Dump dongle memory
[   57.364003@3]  [dhd] -------- memdump: buf(va)=ffffff8079a00000, buf(pa)=79a00000, bufsize=819200
[   57.364433@3]  [dhd] -------- dlb_buf[0]: buf(va)=ffffffc00906e610, buf(pa)=fffffffffa06e610, bufsize=1048576
[   57.365663@3]  [dhd] -------- dlb_buf[0] buffer: buf(va)=ffffff8055800000, buf(pa)=55800000, bufsize=39899
[   57.366893@3]  [dhd] -------- dlb_buf[0] present: buf(va)=ffffff8055809caa, buf(pa)=55809caa, bufsize=39899
[   57.368078@3]  [dhd] -------- dlb_buf[0] front: buf(va)=ffffff8055800000, buf(pa)=55800000, bufsize=39899
[   57.369270@3]  [dhd] -------- dlb_buf[1]: buf(va)=ffffffc00906e650, buf(pa)=fffffffffa06e650, bufsize=524288
[   57.370494@3]  [dhd] -------- dlb_buf[1] buffer: buf(va)=ffffff8055900000, buf(pa)=55900000, bufsize=0
[   57.371679@3]  [dhd] -------- dlb_buf[1] present: buf(va)=ffffff8055900000, buf(pa)=55900000, bufsize=0
[   57.372823@3]  [dhd] -------- dlb_buf[1] front: buf(va)=ffffff8055900000, buf(pa)=55900000, bufsize=0
[   57.373971@3]  [dhd] -------- dlb_buf[2]: buf(va)=ffffffc00906e690, buf(pa)=fffffffffa06e690, bufsize=8192
[   57.375190@3]  [dhd] -------- dlb_buf[2] buffer: buf(va)=ffffff807992c000, buf(pa)=7992c000, bufsize=0
[   57.376333@3]  [dhd] -------- dlb_buf[2] present: buf(va)=ffffff807992c000, buf(pa)=7992c000, bufsize=0
[   57.377503@3]  [dhd] -------- dlb_buf[2] front: buf(va)=ffffff807992c000, buf(pa)=7992c000, bufsize=0
[   57.378667@3]  [dhd] -------- concise_dbg_buf: buf(va)=ffffff8046b00000, buf(pa)=46b00000, bufsize=32768
[   57.379832@3]  [dhd] dhd_schedule_memdump: scheduling mem dump..
[   57.380593@3]  [dhd] CFG80211-ERROR) wl_cfg80211_ap_timeout_work : Notify hang event to upper layer
[   57.381731@3]  [dhd] dhd_os_send_hang_message: Event HANG send up due to  re=0 te=0 s=2
[   57.382739@3]  [dhd]   Driver: 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   57.382739@3]  [dhd]   Firmware: wl0: May 22 2020 16:26:47 version 7.45.96.64 (9313dba@shgit) (r745790) FWID 01-e801948 es7.c5.n4.a3
[   57.382739@3]  [dhd]   CLM: 9.2.9 (2016-02-03 04:34:31)
[   57.382739@3]    Chip: 4345 Rev 9
[   57.386221@3]  [dhd] MAC b8:13:32:4a:f5:da
[   57.386911@3]  [dhd] dhd_mem_dump: ENTER
[   57.387231@3]  [dhd]   Driver: 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   57.387231@3]  [dhd]   Firmware: wl0: May 22 2020 16:26:47 version 7.45.96.64 (9313dba@shgit) (r745790) FWID 01-e801948 es7.c5.n4.a3
[   57.387231@3]  [dhd]   CLM: 9.2.9 (2016-02-03 04:34:31)
[   57.387231@3]    Chip: 4345 Rev 9
[   57.390738@3]  [dhd] MAC b8:13:32:4a:f5:da
[   57.391235@3]  [dhd] dhd_mem_dump: call BUG_ON
[   57.391802@3]  [dhd] dhd_mem_dump: EXIT
[   57.392311@3]  [dhd] CFG80211-ERROR) wl_cfg80211_hang : In : chip crash eventing, reason=0x800b
[   57.393381@3]  [dhd] ndev->name : wlan0 dev close
[   57.394152@3]  [dhd] CFG80211-ERROR) wl_cfg80211_stop_ap : bus is not ready
[   57.395039@3]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   57.395531@3]  [dhd] [wlan0] dhd_stop : Enter
[   57.396068@3]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   57.396873@3]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   57.397782@3]  [dhd] [wlan0] dhd_stop : Exit
[   57.398973@3]  [dhd] ndev->name : wlan1 dev close
[   57.400598@3]  [dhd] [wlan1] dhd_static_if_stop : Enter
[   57.400654@3]  [dhd] CFG80211-ERROR) wl_cfg80211_del_iface : Bus state is down: 4119
[   57.401531@3]  [dhd] CFG80211-ERROR) wl_cfg80211_del_iface : iface del failed:-36
[   57.402507@3]  [dhd] dhd_query_bus_erros: iface_op_failed, cannot proceed
[   57.403356@3]  [dhd] [Repeats 0 times]
[   57.403802@3]  [dhd] ANDROID-ERROR) Del iface failed for static_if -36
[   57.404585@3]  [dhd] [wlan0] dhd_stop : Enter
[   57.405123@3]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   57.405943@3]  [dhd] CFG80211-ERROR) wl_cfg80211_bss_isup : 'cfg bss -C 0' failed: -19
[   57.406958@3]  [dhd] CFG80211-ERROR) wl_cfg80211_bss_isup : NOTE: this ioctl error is normal when the BSS has not been created yet.
[   57.408396@3]  [dhd] CFG80211-ERROR) wl_cfg80211_clear_security : wsec clear failed
[   57.409354@3]  [dhd] CFG80211-ERROR) wl_cfg80211_clear_security : auth clear failed
[   57.410318@3]  [dhd] CFG80211-ERROR) wl_cfg80211_clear_security : wpa_auth clear failed
[   57.411398@3]  [dhd] CFG80211-ERROR) wl_cfg80211_update_power_mode : error (-19)
[   57.412322@3]  [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[   57.413342@3]  [dhd] CFG80211-ERROR) wl_dongle_down : WLC_DOWN error (-19)
[   57.414163@3]  [dhd] dhd_stop: making dhdpub up FALSE
[   57.414853@3]  [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 1 -> mode 0
[   57.415698@3]  [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=10, TCPDATA_INFO_MAXNUM=10
[   57.416756@3]  [dhd] [wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[   57.417655@3]  [dhd] dhd_wl_ioctl_get_intiovar: get int iovar ampdu_hostreorder failed, ERR -19
[   57.418791@3]  [dhd] dhd_wl_ioctl_set_intiovar: set int iovar tlv failed, ERR -19
[   57.419695@3]  [dhd] dhd_bus_devreset: == Power OFF ==
[   57.420360@3]  [dhd] dhd_bus_stop: making DHD_BUS_DOWN
[   57.421260@3]  [dhd] bcmsdh_oob_intr_unregister: Enter
[   57.421612@3]  [dhd] dhd_bus_devreset: making dhdpub up FALSE
[   57.422299@3]  [dhd] dhd_txglom_enable: enable 0
[   57.422933@3]  [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[   57.423672@3]  [dhd] wifi_platform_set_power = 0, delay: 0 msec
[   57.424294@3]  [dhd] ######### dhd_pwr_ctrl=1 #########
[   57.424937@3]  [dhd] ======== PULL WL_REG_ON(-1) LOW! ========
[   57.425684@3]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484
[   57.626570@3]  [dhd] [wlan0] wl_android_wifi_off : out
[   57.626629@3]  [dhd] [wlan0] dhd_stop : Exit
[   57.627067@3]  [dhd] [wlan1] dhd_static_if_stop : Exit ret=0
[   57.628157@0]  [dhd] dhd_query_bus_erros: Dongle Reset occurred, cannot proceed
[   57.628685@0]  [dhd] [Repeats 0 times]
[   73.316624@0]  audio_ddr_mngr: frddrs[0] registered by device fe330000.audiobus:tdm@1
[   73.322147@0]  master_mode(1), binv(1), finv(1) out_skew(2), in_skew(3)
[   73.322486@1]  aml_T9015_audio_set_bias_level
[   73.322910@1]  aml_T9015_audio_set_bias_level
[   78.574155@2]  ss_free() samesrc 3, lvl 1
[   78.574252@2]  audio_ddr_mngr: frddrs[0] released by device fe330000.audiobus:tdm@1
[   78.575010@3]  aml_T9015_audio_set_bias_level
[   78.575493@3]  aml_T9015_audio_set_bias_level

Setting up a WLAN connection is dynamic. When no wlan connections has been configured, Volumio starts wifi in AP-mode (IP 192.168.211.1).
Once a WLAN connection is made, the hotspot is terminated.
Sometimes this works (see log in the next post).
In this case AP-Mode does start, but then after a few moments, it suddenly ends with a fatal, see timestamp [ 57.628157@0].

The following is a log of the situation where a wlan0 connection was made successfully.

(skipped )


[    9.371389@1]  [dhd] _dhd_module_init: in Dongle Host Driver, version 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[    9.371389@1]  drivers/net/wireless/bcmdhd compiled on Mar 12 2023 at 19:12:24
[    9.371389@1]
[    9.373225@1]  [dhd] ANDROID_VERSION = 11
[    9.373724@1]  [dhd] ======== dhd_wlan_init_plat_data ========
[    9.374623@1]  [dhd] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=72, oob_irq_flags=0x8
[    9.374634@1]  [dhd] dhd_wlan_init_gpio: WL_REG_ON=-1
[    9.374640@1]  [dhd] dhd_wifi_platform_load: Enter
[    9.374648@1]  [dhd] Power-up adapter 'DHD generic adapter'
[    9.374657@1]  [dhd] wifi_platform_set_power = 1, delay: 200 msec
[    9.374664@1]  [dhd] ######### dhd_pwr_ctrl=1 #########
[    9.374669@1]  [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[    9.374690@1]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484
[    9.513453@0]  systemd-journald[270]: Received request to flush runtime journal from PID 1
[    9.596754@1]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Enable! 484
[    9.766993@1]  meson-saradc fe026000.saradc: fe026000.saradc supply vref not found, using dummy regulator
[    9.781153@2]  Enable disable_nonboot_cpus in syscore shutdown.
[    9.784434@3]  rtc rtc0: invalid alarm value: 1969-06-17T1193026:22:07
[    9.785135@1]  meson-vrtc fe010288.rtc: registered as rtc0
[    9.785314@1]  meson-vrtc fe010288.rtc: setting system clock to 1970-01-01T00:00:09 UTC (9)
[    9.813945@2]  random: crng init done
[    9.813990@2]  random: random: 7 urandom warning(s) missed due to ratelimiting
[    9.815497@1]  aml_dma fe440400.aml_dma: Aml dma


[skipped]


[   10.178330@0]  [dhd] wifi_platform_bus_enumerate device present 1
[   10.178427@0]  [dhd] ======== Card detection to detect SDIO card! ========
[   10.179425@0]  sdio_reset_comm():
[   10.214323@0]  mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[   10.216710@0]  mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.219225@0]  mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.223848@0]  mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[   10.229325@0]  mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[   10.411817@0]  r: b_s = 0, b_sz = 22, f: b_s = 1c, b_sz = 24
[   10.411869@0]  the final result: sel = 1, rx = 2e
[   10.412444@0]  [sdio_reinit] finish
[   10.413014@0]  [dhd] dummy_probe: enter
[   10.413583@0]  [dhd] dummy_probe: enter
[   10.430186@0]  [dhd] bcmsdh_register: register client driver
[   10.430804@1]  [dhd] bcmsdh_sdmmc_probe: Enter num=1
[   10.431104@1]  [dhd] bcmsdh_sdmmc_probe: Enter num=2
[   10.431462@1]  [dhd] bus num (host idx)=2, slot num (rca)=1
[   10.432852@1]  [dhd] found adapter info 'DHD generic adapter'
[   10.432929@1]  [dhd] succeed to alloc static buf
[   10.433561@1]  [dhd] sdioh_attach: set sd_f2_blocksize 256
[   10.434193@1]  [dhd] sdioh_attach: sd clock rate = 200000000
[   10.436060@1]  [dhd] dhdsdio_probe : no mutex held
[   10.436104@1]  [dhd] dhdsdio_probe : set mutex lock
[   10.436690@1]  [dhd] F1 signature read @0x18000000=0x15294345
[   10.446514@0]  [dhd] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2
[   10.447318@0]  [dhd] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[   10.447790@0]  [dhd] dhd_conf_set_chiprev : devid=0xa9bf, chip=0x4345, chiprev=9
[  OK  ] Found device /dev/disk/by-uuid/0754-CAB2.
[   10.458524@1]  [dhd] dhd_log_dump_init: kernel log buf size = 512KB; logdump_prsrv_tailsize = 80KB; limit prsrv tail size to = 76KB
[   10.461139@1]  [dhd] dhd_attach(): thread:dhd_watchdog_thread:173 started
[   10.474176@1]  [dhd] dhd_attach(): thread:dhd_dpc:174 started
[   10.474639@1]  [dhd] dhd_attach(): thread:dhd_rxf:175 started
[   10.474960@1]  [dhd] dhd_deferred_work_init: work queue initialized
[   10.475727@1]  [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[   10.476630@1]  [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=10, TCPDATA_INFO_MAXNUM=10
[   10.477732@1]  [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[   10.478962@1]  [dhd] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[   10.497782@0]  [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[   10.498003@0]  [dhd] Dongle Host Driver, version 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   10.498003@0]  drivers/net/wireless/bcmdhd compiled on Mar 12 2023 at 19:12:24
[   10.498003@0]
[   10.512164@0]  [dhd] Register interface [wlan0]  MAC: b8:13:32:4a:f5:da
[   10.512164@0]
[   10.514617@1]  [dhd] [wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[   10.514874@1]  [dhd] dhd_bus_devreset: == Power OFF ==
[   10.515736@1]  [dhd] dhd_bus_stop: making DHD_BUS_DOWN
[   10.520872@1]  [dhd] bcmsdh_oob_intr_unregister: Enter
[   10.520921@1]  [dhd] bcmsdh_oob_intr_unregister: irq is not registered
[   10.521666@1]  [dhd] dhd_bus_devreset: making dhdpub up FALSE
[   10.522870@1]  [dhd] dhd_txglom_enable: enable 0
[   10.522947@1]  [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[   10.524359@1]  [dhd] wifi_platform_set_power = 0, delay: 0 msec
[   10.524432@1]  [dhd] ######### dhd_pwr_ctrl=1 #########
[   10.525073@1]  [dhd] ======== PULL WL_REG_ON(-1) LOW! ========
[   10.525824@1]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484
[   10.792330@2]  [dhd] [wlan0] wl_android_wifi_off : out
[   10.793272@2]  [dhd] Register interface [wlan1]  MAC: ba:13:32:4a:f5:da
[   10.793272@2]
[   10.793657@2]  [dhd] dhdsdio_probe : mutex is released.
[   10.806587@2]  [dhd] _dhd_module_init: Exit err=0


[skipped]


[  OK  ] Reached target Basic System.
         Starting Wireless Services...
[  OK  ] Started UPnP Renderer front-end to MPD.
[  OK  ] Started D-Bus System Message Bus.
         Starting triggerhappy global hotkey daemon...
         Starting LSB: Load kernel �…d to enable cpufreq scaling...
[   13.104708@3]  BT_RADIO going: off
[   13.104749@3]  AML_BT: going OFF,btpower_evt=0
[   13.105011@3]  sdio vendor is 0x2d0
         Starting WPA supplicant...
[  OK  ] Started Volumio Iptables Module.
[  OK  ] Started volumio-remote-updater.service.
         Starting lircd(8) initialization helper tool...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Login Service...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started triggerhappy global hotkey daemon.
[  OK  ] Found device /sys/subsystem/net/devices/wlan0.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started ifup for wlan0.
[  OK  ] Started Manage Sound Card State (restore and store).
         Starting Save/Restore Sound Card State...
         Starting DHCP Client Daemon...
[   13.482874@3]  [dhd] WEXT-ERROR) wl_iw_get_essid : Error getting the SSID -36
[  OK  ] Started Login Service.
[  OK  ] Started LSB: Load kernel m�…ded to enable cpufreq scaling.
[   13.650310@3]  custom_internal_config
[   13.653349@3]  set phy setup_amp = 0
[   13.653526@3]  meson8b-dwmac fdc00000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY]
         Starting LSB: set CPUFreq kernel parameters...
[   13.666119@0]  Fine spdif sysclk setting range(0~2000000), 6143970
[   13.669436@0]  spdif_set_cs(), status0=0x2000100
[   13.669653@0]  aml_audio_set_spdif_mute(), no pinctrl
[   13.669726@0]  Fine spdif sysclk setting range(0~2000000), 6143970
[   13.671372@3]  meson8b-dwmac fdc00000.ethernet eth0: No Safety Features support found
[   13.672126@0]  spdif_set_cs(), status0=0x0
[   13.672304@0]  Fine tdm clk setting range (0~2000000), 12287939
[   13.673291@0]  Error: parma_num = 0, band_id = 0
[   13.673570@0]  Error: parma_num = 1, band_id = 10377
[   13.674169@0]  Error: parma_num = 0, band_id = -64
[   13.677213@0]  Error: parma_num = 0, band_id = 0
[   13.677496@0]  vad_set_enable_enum, p_vad->end = 0, set value 0
[   13.678068@3]  meson8b-dwmac fdc00000.ethernet eth0: PTP not supported by HW
[   13.678080@0]  id=0 set inskew=0
[   13.678826@3]  meson8b-dwmac fdc00000.ethernet eth0: configuring for phy/rmii link mode
[   13.680280@2]  Fine spdif sysclk setting range(0~2000000), 6143970
[   13.681143@2]  spdif_set_cs(), status0=0x2000100
[   13.682185@0]  clk_set_force_mpll: force_mpll_clk = 0
[   13.682623@0]  update audio atmos flag! audio_type = 0
[   13.683621@2]  aml_audio_set_spdif_mute(), no pinctrl
[   13.683698@2]  Fine spdif sysclk setting range(0~2000000), 6143970
[   13.684461@2]  spdif_set_cs(), status0=0x0
[   13.685019@2]  Fine tdm clk setting range (0~2000000), 12287939
[   13.685880@2]  Error: parma_num = 0, band_id = 0
[   13.686405@2]  Error: parma_num = 1, band_id = 10377
[   13.686884@2]  Error: parma_num = 0, band_id = -64
[   13.687495@2]  Error: parma_num = 0, band_id = 0
[   13.688278@2]  vad_set_enable_enum, p_vad->end = 0, set value 0
[   13.688991@2]  id=0 set inskew=0
[   13.689204@2]  clk_set_force_mpll: force_mpll_clk = 0
[   13.689893@2]  update audio atmos flag! audio_type = 0
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[   13.751245@0]  [dhd] dhd_pri_open : no mutex held
[   13.751289@0]  [dhd] dhd_pri_open : set mutex lock
[   13.751754@0]  [dhd] [wlan0] dhd_open : Enter
[   13.752303@0]  [dhd] Dongle Host Driver, version 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   13.752303@0]  drivers/net/wireless/bcmdhd compiled on Mar 12 2023 at 19:12:24
[   13.752303@0]
[   13.755499@0]  [dhd] dhd_open: ######### called for ifidx=0 #########
[   13.755638@0]  [dhd] [wlan0] wl_android_wifi_on : in g_wifi_on=0
[   13.756376@0]  [dhd] wifi_platform_set_power = 1, delay: 200 msec
[   13.757137@0]  [dhd] ######### dhd_pwr_ctrl=1 #########
[   13.757782@0]  [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[   13.759196@0]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Disable! 484
         Starting Raise network interfaces...
[  OK  ] Reached target Sound Card.
[  OK  ] Started WPA supplicant.
[  OK  ] Started DHCP Client Daemon.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[   13.982018@3]  aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI  Enable! 484
[  OK  ] Started lircd(8) initialization helper tool.
[   14.326303@2]  lcd vlock_en=0, vlock_mode=0x8 i=101
[   14.404453@1]  Fine spdif sysclk setting range(0~2000000), 6143970
[   14.404804@1]  spdif_set_cs(), status0=0x2000100
[   14.405303@1]  aml_audio_set_spdif_mute(), no pinctrl
[   14.405357@1]  Fine spdif sysclk setting range(0~2000000), 6143970
[   14.406636@1]  spdif_set_cs(), status0=0x0
[   14.407100@1]  Fine tdm clk setting range (0~2000000), 12287939
[   14.407949@1]  Error: parma_num = 0, band_id = 0
[   14.408376@1]  Error: parma_num = 1, band_id = 10377
[   14.408989@1]  Error: parma_num = 0, band_id = -64
[   14.409590@1]  Error: parma_num = 0, band_id = 0
[   14.410422@1]  vad_set_enable_enum, p_vad->end = 0, set value 0
[   14.411082@1]  id=0 set inskew=0
[   14.411316@1]  clk_set_force_mpll: force_mpll_clk = 0
[   14.411991@1]  update audio atmos flag! audio_type = 0
[   14.490306@1]  [dhd] sdio_sw_reset: Enter
[   14.491337@0]  meson-gx-mmc fe088000.sdio: 52 [0xc00], TIMEOUT[0x2800]
[   14.492416@0]  meson-gx-mmc fe088000.sdio: 52 [0x80000c08], TIMEOUT[0x2800]
[   14.498344@0]  meson-gx-mmc fe088000.sdio: 52 [0xc00], TIMEOUT[0x2800]
[   14.499545@0]  meson-gx-mmc fe088000.sdio: 52 [0x80000c08], TIMEOUT[0x2800]
[   14.504942@0]  meson-gx-mmc fe088000.sdio: 8 [0x1aa], TIMEOUT[0x2800]
[   14.536047@1]  mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[   14.538362@3]  mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   14.540675@3]  mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[   14.544794@3]  mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[   14.549829@3]  mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[   14.679669@1]  r: b_s = 0, b_sz = 22, f: b_s = 1c, b_sz = 24
[   14.679712@1]  the final result: sel = 1, rx = 2e
[   14.680324@1]  [dhd] sdioh_start: set sd_f2_blocksize 256
[   14.681161@1]  [dhd] dhd_bus_devreset: == Power ON ==
[   14.681654@1]  [dhd] F1 signature read @0x18000000=0x15294345
[   14.684255@1]  [dhd] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2
[   14.684869@1]  [dhd] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[   14.685471@1]  [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[   14.686148@1]  [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[   14.687929@1]  [dhd] dhd_os_open_image1: /lib/firmware/brcm/config_bcm43456c5_ag.txt (30 bytes) open success
[   14.695687@2]  [dhd] dhd_conf_read_others : wl_preinit = pm2_sleep_ret=2000
[   14.695903@2]  [dhd] dhd_conf_set_path_params : Final fw_path=/lib/firmware/brcm/fw_bcm43456c5_ag.bin
[   14.697034@2]  [dhd] dhd_conf_set_path_params : Final nv_path=/lib/firmware/brcm/nvram_ap6256.txt
[   14.698146@2]  [dhd] dhd_conf_set_path_params : Final clm_path=/lib/firmware/brcm/clm_bcm43456c5_ag.blob
[   14.699365@2]  [dhd] dhd_conf_set_path_params : Final conf_path=/lib/firmware/brcm/config_bcm43456c5_ag.txt
[   14.702587@2]  [dhd] dhd_os_open_image1: /lib/firmware/brcm/fw_bcm43456c5_ag.bin (588047 bytes) open success
[   14.766790@0]  [dhd] dhd_os_open_image1: /lib/firmware/brcm/nvram_ap6256.txt (2099 bytes) open success
[   14.767341@0]  [dhd] #AP6256_NVRAM_V1.1_08252017
[   14.768241@0]  [dhd] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[   14.843300@0]  [dhd] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[   14.843622@0]  [dhd] bcmsdh_oob_intr_register: HW_OOB irq=72 flags=0x8
[   14.844436@1]  [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[   14.845633@1]  [dhd] wlc_ver_major 3, wlc_ver_minor 0
[   14.846191@1]  [dhd] dhd_preinit_ioctls: preinit_status IOVAR not supported, use legacy preinit
[   14.846731@1]  [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 1
[   14.847612@1]  [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=10, TCPDATA_INFO_MAXNUM=10
[   14.849120@1]  [dhd] dhd_legacy_preinit_ioctls: use firmware generated mac_address b8:13:32:4a:f5:da
[   14.849935@1]  [dhd] dhd_apply_default_clm: Ignore clm file /lib/firmware/brcm/clm_bcm43456c5_ag.blob
[   14.852185@1]  [dhd] Firmware up: op_mode=0x0005, MAC=b8:13:32:4a:f5:da
[   14.855215@1]  [dhd] dhd_legacy_preinit_ioctls Set scancache failed -23
[   14.855894@1]  [dhd] dhd_legacy_preinit_ioctls: event_log_max_sets: 31 ret: -23
[   14.858033@1]  [dhd] arp_enable:1 arp_ol:0
[   14.861356@1]  [dhd]   Driver: 101.10.361.17 (wlan=r892223-20220415-1)(20220705-1)
[   14.861356@1]  [dhd]   Firmware: wl0: May 22 2020 16:26:47 version 7.45.96.64 (9313dba@shgit) (r745790) FWID 01-e801948 es7.c5.n4.a3
[   14.861356@1]  [dhd]   CLM: 9.2.9 (2016-02-03 04:34:31)
[   14.864037@1]  [dhd] dhd_txglom_enable: enable 1
[   14.864358@1]  [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[   14.865125@1]  [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[   14.866068@1]  [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[   14.867052@1]  [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[   14.867991@1]  [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[   14.869640@1]  [dhd] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[   14.871073@1]  [dhd] dhd_pno_init: Support Android Location Service
[   14.871506@1]  [dhd] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-4
[   14.872274@1]  [dhd] dhd_rtt_init : FTM is not supported
[   14.872931@1]  [dhd] dhd_rtt_init EXIT, err = 0
[   14.874710@1]  [dhd] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[   14.875124@1]  [dhd] failed to get wnm_bsstrans_resp
[   14.876239@1]  [dhd] failed to set WNM capabilities
[   14.876351@1]  [dhd] dhd_legacy_preinit_ioctls: Monitor mode is not enabled in FW cap
[   14.894626@1]  [dhd] dhd_legacy_preinit_ioctls: Failed to get preserve log # !
[   14.914920@1]  [dhd] dhd_conf_map_country_list : CN/38
[   14.914962@1]  [dhd] dhd_conf_set_country : set country CN, revision 38
[   14.918093@1]  [dhd] dhd_conf_set_country : Country code: CN (CN/38)
[   14.923282@1]  [dhd] [wlan0] wl_android_wifi_on : Success
[   14.962147@1]  [dhd] [wlan0] dhd_open : Exit ret=0
[   14.962189@1]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   14.962797@1]  [dhd] dhd_pri_open : mutex is released.
[   14.964575@2]  [dhd] dhd_static_if_open : no mutex held
[   14.964621@2]  [dhd] dhd_static_if_open : set mutex lock
[   14.967332@2]  [dhd] [wlan1] dhd_static_if_open : Enter
[   14.967377@2]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   14.968152@2]  [dhd] CFG80211-ERROR) wl_cfg80211_deinit_p2p_discovery : Disabling P2P Discovery Interface
[   14.969353@2]  [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[   14.972016@0]  [dhd] dhd_wlfc_enable: ret=0
[   14.973143@2]  [dhd] [wlan1] dhd_static_if_open : Exit ret=0
[   14.973188@2]  [dhd] dhd_static_if_open : mutex is released.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting Network Time Service...
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
         Starting Flexible IR remot�…/output application support...
[   15.196354@0]  meson8b-dwmac fdc00000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
         Starting Music Player Daemon...
[  OK  ] Reached target Network is Online.
         Starting LSB: Brings up/down network automatically...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Shairport Sync - AirPlay Audio Receiver.
         Starting Samba NMB Daemon...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Terminate Plymouth Boot Screen...
         Starting Hold until boot process finishes up...
[  OK  ] Started Network Time Service.
[   15.787782@0]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   15.787836@0]  [dhd] [wlan0] dhd_stop : Enter
[   15.788364@0]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   15.789191@0]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   15.790082@0]  [dhd] [wlan0] dhd_stop : Exit
[   15.936233@2]  [dhd] dhd_pri_open : no mutex held
[   15.936277@2]  [dhd] dhd_pri_open : set mutex lock
[   15.936742@2]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   15.937602@2]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   15.938313@2]  [dhd] dhd_pri_open : mutex is released.
[   18.470590@2]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   18.470636@2]  [dhd] [wlan0] dhd_stop : Enter
[   18.471192@2]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   18.471996@2]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   18.472893@2]  [dhd] [wlan0] dhd_stop : Exit
[   18.508680@1]  [dhd] dhd_pri_open : no mutex held
[   18.508726@1]  [dhd] dhd_pri_open : set mutex lock
[   18.509192@1]  [dhd] [wlan0] dhd_open : Primary net_device is already up
[   18.510062@1]  [dhd] [wlan0] dhd_pri_open : tx queue started
[   18.510815@1]  [dhd] dhd_pri_open : mutex is released.
[   18.572347@0]  [dhd] P2P interface registered
[   18.578466@1]  [dhd] CFGP2P-ERROR) wl_cfgp2p_set_discovery : p2p_disc 1 error -16
[   18.578729@1]  [dhd] CFGP2P-ERROR) wl_cfgp2p_init_discovery : set discover error
[   18.587502@1]  [dhd] CFGP2P-ERROR) wl_cfgp2p_enable_discovery :  init discovery error -16
[   18.587845@1]  [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[   18.596780@2]  [dhd] CFGP2P-ERROR) wl_cfgp2p_start_p2p_device : P2P enable discovery failed, ret=-16
[   18.598022@2]  [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[   18.654265@3]  [dhd] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[   20.985013@2]  nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
[   20.997377@2]  [dhd] [wlan0] wl_conn_debug_info : Connecting with 78:29:ed:59:74:44 ssid "muq-10022", len (9), channel=36(chan_cnt=1), sec=wpa2/psk/mfpn/aes, rssi=-69
[   21.063426@0]  [dhd] [wlan0] wl_iw_event : Link UP with 78:29:ed:59:74:44
[   21.063632@0]  [dhd] [wlan0] wl_ext_iapsta_event : [S] Link UP with 78:29:ed:59:74:44
[   21.066375@3]  [dhd] [wlan0] wl_bss_connect_done : Report connect result - connection succeeded
[   21.077408@0]  [dhd] [wlan0] wl_add_keyext : key index (0)
[   21.094447@1]  [dhd] kck:
[   21.094483@1]  [dhd]   0000: 31 dc f6 b5 78 a7 4d 9f 1d 09 21 1f 12 57 46 87
[   21.094979@1]  [dhd] kek:
[   21.095310@1]  [dhd]   0000: 51 ed 80 9c cd b1 6a 75 50 39 90 aa aa 8f 41 59
[   21.096192@1]  [dhd] replay_ctr:
[   21.096596@1]  [dhd]   0000: 00 00 00 00 00 00 00 01

Debian GNU/Linux 10 vim1s ttyS0

Welcome to Volumio!
WebUI available at vim1s.local (192.168.0.112)
vim1s login: [   29.031259@3]  broken atomic modeset userspace detected, disabling atomic
[   29.050884@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.050940@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.051632@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.052333@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.053048@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.053745@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.054544@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.055161@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.055853@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.056555@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.057257@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.057966@3]  [drm] am_hdmitx_connector_atomic_set_property
[   29.741925@3]  [drm] Disabling plane 0, so skip postion calc
[   32.862443@3]  [drm] hdcp_tx22 load timeout
[   33.885610@0]  [dhd] [wlan0] wl_escan_set_scan : LEGACY_SCAN
[   33.895774@0]  [dhd] CFG80211-ERROR) wl_escan_handler : escan is not ready. drv_scan_status 0x0 e_type 69 e_status 8
[   33.896423@0]  [dhd] CFG80211-ERROR) wl_escan_handler : [Repeats 0 times]
[   39.576147@3]  Fine spdif sysclk setting range(0~2000000), 6143970
[   39.576476@3]  spdif_set_cs(), status0=0x2000100
[   39.576993@3]  aml_audio_set_spdif_mute(), no pinctrl
[   39.577050@3]  Fine spdif sysclk setting range(0~2000000), 6143970
[   39.578322@3]  spdif_set_cs(), status0=0x0
[   39.578794@3]  Fine tdm clk setting range (0~2000000), 12287939
[   39.579635@3]  Error: parma_num = 0, band_id = 0
[   39.580063@3]  Error: parma_num = 1, band_id = 10377
[   39.580665@3]  Error: parma_num = 0, band_id = -64
[   39.581278@3]  Error: parma_num = 0, band_id = 0
[   39.582045@3]  vad_set_enable_enum, p_vad->end = 0, set value 0
[   39.582829@3]  id=0 set inskew=0
[   39.582986@3]  clk_set_force_mpll: force_mpll_clk = 0
[   39.583695@3]  update audio atmos flag! audio_type = 0
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Started Show Plymouth Reboot Screen.
         Stopping Manage Sound Card State (restore and store)...
         Stopping LSB: Load kernel �…d to enable cpufreq scaling...
         Stopping Samba NMB Daemon...
[  OK  ] Stopped Samba NMB Daemon.
[  OK  ] Stopped LSB: Brings up/down network automatically.
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped target Network.
         Stopping ifup for eth0...
         Stopping WPA supplicant...
         Stopping ifup for wlan0...
         Stopping Raise network interfaces...
[  OK  ] Stopped WPA supplicant.
[  OK  ] Stopped Manage Sound Card State (restore and store).
[   80.598309@3]  [dhd] [wlan0] wl_cfg80211_disconnect : Reason 3, act 1, bssid 78:29:ed:59:74:44
[   80.600079@2]  [dhd] [wlan0] wl_handle_link_down : Link down: WLC_E_LINK(16), reason 2 from 78:29:ed:59:74:44
[   80.600091@1]  [dhd] [wlan0] wl_iw_event : [0 times] disconnected with 78:29:ed:59:74:44, event 11, reason 8
[   80.600128@1]  [dhd] [wlan0] wl_ext_iapsta_event : [S] Link down with 78:29:ed:59:74:44, WLC_E_DISASSOC(11), reason 8
[   80.600688@2]  [dhd] [wlan0] wl_handle_link_down : Disconnect event sent to upper layerevent:16 e->reason=33554432 reason=2 ie_len=0 from 78:29:ed:59:74:44
[   80.601883@1]  [dhd] [wlan0] wl_iw_event : Link Down with 78:29:ed:59:74:44, reason=2
[   80.605950@1]  [dhd] [wlan0] wl_ext_iapsta_event : [S] Link down with 78:29:ed:59:74:44, WLC_E_LINK(16), reason 2
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped LSB: Load kernel m�…ded to enable cpufreq scaling.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped target NFS client services.
[   80.838091@2]  [dhd] [wlan0] dhd_pri_stop : tx queue stopped
[   80.838139@2]  [dhd] [wlan0] dhd_stop : Enter
[   80.838663@2]  [dhd] dhd_stop: ######### called for ifidx=0 #########
[   80.839467@2]  [dhd] [wlan0] dhd_stop : static if operational. skip chip reset.
[   80.840377@2]  [dhd] [wlan0] dhd_stop : Exit
[   80.844980@2]  meson8b-dwmac fdc00000.ethernet eth0: Link is Down
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped ifup for wlan0.
[  OK  ] Stopped DHCP Client Daemon.
[  OK  ] Stopped ifup for eth0.

Hello @gkkpch

How you setup the Wi-Fi as AP mode? Could you please share the steps?

Setting up wifi is part of the Volumio internal code I’m not that familiar with.
I’ll add it as soon as I have it…

I guess you could use a normal hostapd setup for this, start it and wait to see it crash after some tijmeVolumio runs a service “hostapd.service” and “dnsmasq.service”
You also need to install “hostapd” and “dnsmasq”

Contents /lib/systemd/system/hostapd.service:

[Unit]
Description=Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
After=network.target
# For Volumio hotspot functionality
Wants=dnsmasq.service

[Service]
Type=forking
PIDFile=/run/hostapd.pid
Restart=on-failure
RestartSec=2
Environment=DAEMON_CONF=/etc/hostapd/hostapd.conf
EnvironmentFile=-/etc/default/hostapd
ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF}

[Install]
WantedBy=multi-user.target

Contents of /lib/systemd/system/dnsmasq.service:

[Unit]
Description=dnsmasq - A lightweight DHCP and caching DNS server
Requires=network.target
Wants=nss-lookup.target
Before=nss-lookup.target
After=network.target
# For Volumio hotspot functionality
After=hostapd.service
PartOf=hostapd.service

[Service]
Type=forking
PIDFile=/run/dnsmasq/dnsmasq.pid

# Test the config file and refuse starting if it is not valid.
ExecStartPre=/usr/sbin/dnsmasq --test

# We run dnsmasq via the /etc/init.d/dnsmasq script which acts as a
# wrapper picking up extra configuration files and then execs dnsmasq
# itself, when called with the "systemd-exec" function.
ExecStart=/etc/init.d/dnsmasq systemd-exec

# The systemd-*-resolvconf functions configure (and deconfigure)
# resolvconf to work with the dnsmasq DNS server. They're called like
# this to get correct error handling (ie don't start-resolvconf if the
# dnsmasq daemon fails to start.
ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf
ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf


ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

Contents of /etc/dnsmasq.d/hostspot.conf

# dnsmasq hotspot configuration for Volumio
# Only listen on wifi interface
interface=wlan0
# Always return 192.168.211.1 for any query not answered from /etc/hosts or DHCP and not sent to an upstream nameserver
address=/#/192.168.211.1
# DHCP server not active on wired lan interface
no-dhcp-interface=eth0
# IPv4 address range, netmask and lease time
dhcp-range=192.168.211.100,192.168.211.200,255.255.255.0,24h
# DNS server
dhcp-option=option:dns-server,192.168.211.1
expand-hosts
domain=local
# Facility to which dnsmasq will send syslog entries
log-facility=local7

In case you want to use a Volumio image for your tests:

Volumiobuster-3.438-2023-03-17-vim1s

Note: this is an early developer version, not suitable for the public yet and is not supported and cannot be updated:

A released version will be announced on the Volumio forum later in spring.

Hello @gkkpch

Thank you, we will check on our side.

OK, just to emphasize once more, this Debian based installation works on all our platforms (arm/x86), including khadas vim3l (kernel 4.9 and 6.1). Even with unsupported vim1, vim2 and vim3 (all 4.9)