BPI-R4 hostapd not support wifi ac

Hello I am working on BPI R4 with debian11 and hostapd The current hostapd support wifi ax and works well with following configs:

driver=nl80211
interface=wlan1
country_code=IT
ieee80211d=1
ieee80211h=1
hw_mode=a
ieee80211ax=1
ieee80211n=1 
channel=0
vht_oper_chwidth=2
wmm_enabled=1
basic_rates=10 20 55 110 60 90 120 180 240 360 480 540
supported_rates=10 20 55 110 60 90 120 180 240 360 480 540
local_pwr_constraint=255
beacon_int=100
dtim_period=2
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][MAX-AMSDU-7935][RX-STBC1]
vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][VHT160][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]
ssid=wifi
ieee80211w=2
wpa=2
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
wpa_passphrase=TestTest
wpa_pairwise=CCMP
rsn_pairwise=CCMP
logger_syslog=-1
logger_syslog_level=0
debug=4

I would like to ask how to make hostapd support WIFI AC and BE as AX

please note wlan2 not showing Access point with any of AC and AX

I tried to re-compiling hostapd by

git clone https://w1.fi/hostapd.git

but after all complete the : systemctl restart hostapd@wlan1 return error

interface wifi only works with debug mode :

hostapd -D /etc/hostapd/wlan1.conf

Ac is supported with debian binary,but you need to add ac option in the config

ax and sae and autochannel acs imho not. Thats why i tried building hostapd in my arm crosscompile repo,but not completely added binaries to images repo…i guess service still uses debian binary i do not want to override

Yes by adding the following to .conf file of hostapd for re-compiling

# IEEE 802.11 configurations
CONFIG_IEEE80211W=y          # Management Frame Protection (MFP)
CONFIG_SAE=y                 # WPA3 SAE (Simultaneous Authentication of Equals)
CONFIG_SAE_PK=y              # SAE Public Key
CONFIG_FILS=y                # Fast Initial Link Setup
CONFIG_IEEE80211R=y          # Fast BSS Transition (FT)
CONFIG_DPP=y                 # Device Provisioning Protocol
CONFIG_OWE=y                 # Opportunistic Wireless Encryption
CONFIG_IEEE80211AX=y         # Enable 802.11ax (Wi-Fi 6)
CONFIG_HS20=y                # Hotspot 2.0 support
CONFIG_IEEE80211N=y          # Enable 802.11n (Wi-Fi 4)
CONFIG_IEEE80211AC=y         # Enable 802.11ac (Wi-Fi 5)
CONFIG_IEEE80211BE=y         # Enable 802.11be (Wi-Fi 7) support
CONFIG_WPA3=y                # Enable WPA3
CONFIG_WPA3_SAE=y   
CONFIG_DEBUG=y
CONFIG_ACS=y

But it return the issue as I mentioned before

With config i meant the wlan1.conf ac is supported without self compile

As I mentioned in first ieee80211ac=1 , the AP not appear with wlan1 and wlan2