I am using X86J4105 board and linux image for custom development. I use hostapd to make the WiFi work in AP mode. Now I am able to make the WiFi work in AP mode in 2.4Ghz band. But if I change hostapd.conf to 5Ghz mode and try to run WiFi in AP mode in 5Ghz band it fails with the following message:
Configuration file: /etc/hostapd/hostapd.conf
wlo2: interface state UNINITIALIZED->COUNTRY_UPDATE
wlo2: IEEE 802.11 Configured channel (10) not found from the channel list of current mode (2) IEEE 802.11a
wlo2: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
wlo2: interface state COUNTRY_UPDATE->DISABLED
wlo2: Unable to setup interface.
wlo2: interface state DISABLED->DISABLED
hostapd_free_hapd_data: Interface wlo2 wasn’t started
nl80211: deinit ifname=wlo2 disabled_11b_rates=0
So it looks like HW is disabling 5GHz AP mode support for WiFi card, Kindly confirm the same.
Also how to make WiFi work in AP mode in 5Ghz band?