I wrote a bsp6.2 image without any customization to imx6ull.
I changed the value of interface to uap0 in hostapd.conf.
I started hostapd but it fails.
Does anyone know of a solution?
The log is below.
root@colibri-imx6ull-06587415:~# hostapd /etc/hostapd.conf
nl80211: kernel reports: Registration to specific type not supported
rfkill: WLAN soft blocked
Failed to set beacon parameters
uap0: Could not connect to kernel driver
Interface initialization failed
uap0: interface state UNINITIALIZED->DISABLED
uap0: AP-DISABLED
uap0: Unable to setup interface.
uap0: interface state DISABLED->DISABLED
uap0: AP-DISABLED
uap0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface uap0 wasn't started
nl80211: deinit ifname=uap0 disabled_11b_rates=0
More detailed logs are below.
root@colibri-imx6ull-06587415:~# hostapd -d /etc/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-14-72:1
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supports Probe Response offload in AP mode
nl80211: TDLS channel switch
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: key_mgmt=0xd0f enc=0x10f auth=0x7 flags=0x894f97ac0 rrm_flags=0x0 probe_resp_offloads=0x7 max_stations=8 max_remain_on_chan=5000 max_scan_ssids=10
nl80211: interface uap0 in phy phy0
nl80211: Set mode ifindex 6 iftype 3 (AP)
nl80211: Setup AP(uap0) - device_ap_sme=1 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x14e83d8 (device SME)
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=04 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=0501 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=0503 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=0504 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=06 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=08 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=09 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=0a multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=11 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x14e83d8 match=7f multicast=0
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x14e83d8 match= multicast=0
nl80211: kernel reports: Registration to specific type not supported
nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Failed to subscribe to handle Authentication frames - SAE offload may not work
nl80211: Enable Probe Request reporting nl_preq=0x14e8468
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x14e8468 match= multicast=0
rfkill: initial event: idx=1 type=1 op=0 soft=1 hard=0
rfkill: WLAN soft blocked
nl80211: Could not yet enable interface 'uap0' due to rfkill
nl80211: Add own interface ifindex 6 (ifidx_reason -1)
nl80211: if_indices[16]: 6(-1)
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=US (DFS-FCC)
nl80211: 902-904 @ 2 MHz 30 mBm
nl80211: 904-920 @ 16 MHz 30 mBm
nl80211: 920-928 @ 8 MHz 30 mBm
nl80211: 2400-2472 @ 40 MHz 30 mBm
nl80211: 5150-5250 @ 80 MHz 23 mBm
nl80211: 5250-5350 @ 80 MHz 24 mBm (DFS)
nl80211: 5470-5730 @ 160 MHz 24 mBm (DFS)
nl80211: 5730-5850 @ 80 MHz 30 mBm
nl80211: 5850-5895 @ 40 MHz 27 mBm (no outdoor) (no IR)
nl80211: 5925-7125 @ 320 MHz 12 mBm (no outdoor) (no IR)
nl80211: 57240-71000 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED][NO_IR] 2472[DISABLED][NO_IR] 2484[DISABLED][NO_IR]
nl80211: Mode IEEE 802.11a: 5040[DISABLED] 5060[DISABLED] 5080[DISABLED] 5170 5190 5210 5230 5180 5200 5220 5240 5260[NO_IR][RADAR] 5280[NO_IR][RADAR] 5300[NO_IR][RADAR] 5320[NO_IR][RADAR] 5500[NO_IR][RADAR] 5520[NO_IR][RADAR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED][NO_IR] 2472[DISABLED][NO_IR] 2484[DISABLED][NO_IR]
Completing interface initialization
Mode: IEEE 802.11g Channel: 1 Frequency: 2412 MHz
DFS 0 channels required radar detection
nl80211: Set freq 2412 (ht_enabled=0, vht_enabled=0, he_enabled=0, bandwidth=20 MHz, cf1=2412 MHz, cf2=0 MHz)
* freq=2412
* he_enabled=0
* vht_enabled=0
* ht_enabled=0
* channel_type=0
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
hostapd_setup_bss(hapd=0x14e5288 (uap0), first=1)
nl80211: flush -> DEL_STATION uap0 (all)
nl80211: Station flush failed: ret=-100 (Network is down)
Using interface uap0 with hwaddr c0:e4:34:2f:c0:f7 and ssid "test"
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=55): 80 00 00 00 ff ff ff ff ff ff c0 e4 34 2f c0 f7 c0 e4 34 2f c0 f7 00 00 00 00 00 00 00 00 00 00 64 00 01 04 00 04 74 65 73 74 01 08 82 84 8b 96 0c 12 18 24 03 01 01
nl80211: Beacon tail - hexdump(len=42): 2a 01 04 32 04 30 48 60 6c 3b 02 51 00 7f 01 04 dd 18 00 50 f2 02 01 01 01 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=6
nl80211: beacon_int=100
nl80211: beacon_rate=0
nl80211: rate_type=0
nl80211: dtim_period=2
nl80211: ssid=test
* beacon_int=100
* dtim_period=2
nl80211: proberesp (offload) - hexdump(len=97): 50 00 00 00 00 00 00 00 00 00 c0 e4 34 2f c0 f7 c0 e4 34 2f c0 f7 00 00 00 00 00 00 00 00 00 00 64 00 01 04 00 04 74 65 73 74 01 08 82 84 8b 96 0c 12 18 24 03 01 01 2a 01 04 32 04 30 48 60 6c 3b 02 51 00 7f 01 04 dd 18 00 50 f2 02 01 01 01 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: hidden SSID not in use
nl80211: privacy=0
nl80211: auth_algs=0x3
nl80211: wpa_version=0x0
nl80211: key_mgmt_suites=0x4
nl80211: pairwise_ciphers=0x0
nl80211: group_cipher=0x1
nl80211: beacon_ies - hexdump(len=3): 7f 01 04
nl80211: proberesp_ies - hexdump(len=3): 7f 01 04
nl80211: assocresp_ies - hexdump(len=3): 7f 01 04
nl80211: ap_max_inactivity=300
nl80211: Beacon set failed: -100 (Network is down)
Failed to set beacon parameters
uap0: Flushing old station entries
nl80211: flush -> DEL_STATION uap0 (all)
nl80211: Station flush failed: ret=-100 (Network is down)
uap0: Could not connect to kernel driver
uap0: Deauthenticate all stations
nl80211: sta_remove -> DEL_STATION uap0 ff:ff:ff:ff:ff:ff --> -100 (Network is down)
hostapd_free_hapd_data(uap0)
Interface initialization failed
uap0: interface state UNINITIALIZED->DISABLED
uap0: AP-DISABLED
uap0: Unable to setup interface.
hostapd_interface_deinit_free(0x14e45f8)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x14e45f8)
uap0: interface state DISABLED->DISABLED
hostapd_bss_deinit: deinit bss uap0
uap0: Deauthenticate all stations
nl80211: sta_remove -> DEL_STATION uap0 ff:ff:ff:ff:ff:ff --> -100 (Network is down)
uap0: AP-DISABLED
hostapd_cleanup(hapd=0x14e5288 (uap0))
uap0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface uap0 wasn't started
hostapd_interface_deinit_free: driver=0x4fa5b0 drv_priv=0x14e82d0 -> hapd_deinit
nl80211: deinit ifname=uap0 disabled_11b_rates=0
nl80211: Disable Probe Request reporting nl_preq=0x89c60ce1
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=6)
netlink: Operstate: ifindex=6 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Unsubscribe mgmt frames handle 0x89c60b51 (deinit)
hostapd_interface_free(0x14e45f8)
hostapd_interface_free: free hapd 0x14e5288
hostapd_cleanup_iface(0x14e45f8)
hostapd_cleanup_iface_partial(0x14e45f8)
hostapd_cleanup_iface: free iface=0x14e45f8
The environment is as follows.
Model: Toradex 0040 Colibri iMX6ULL 512MB WB IT V1.1A
TDX Wayland with XWayland Upstream 6.2.0-devel-20231106092702+build.0 (kirkstone) colibri-imx6ull-06587415 ttymxc0
Colibri-iMX6ULL_Reference-Minimal-Image-upstream
Thank you.