Hostapd conf question

Hi, when I list the hostapd configuration file I see ht_capa=null then somtehing for 2,4 iface. 5 iface doesn’t have this null thing… Is this normal or something is corrupted? Here is screenshot:

login as: root
root@192.168.2.1's password:


BusyBox v1.37.0 (2025-10-29 21:01:23 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r31640-e373a32a7c
 -----------------------------------------------------

 OpenWrt recently switched to the "apk" package manager!

 OPKG Command           APK Equivalent      Description
 ------------------------------------------------------------------
 opkg install <pkg>     apk add <pkg>       Install a package
 opkg remove <pkg>      apk del <pkg>       Remove a package
 opkg upgrade           apk upgrade         Upgrade all packages
 opkg files <pkg>       apk info -L <pkg>   List package contents
 opkg list-installed    apk info            List installed packages
 opkg update            apk update          Update package lists
 opkg search <pkg>      apk search <pkg>    Search for packages
 ------------------------------------------------------------------

For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet

root@ax3000t:~# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
spectrum_mgmt_required=0
supported_rates=60 90 120 180 240 360 480 540
basic_rates=60 120 240
beacon_int=100
noscan=0
rssi_reject_assoc_rssi=0
rssi_ignore_probe_request=0
acs_exclude_dfs=0
min_tx_power=0
hw_mode=g
channel=1
ieee80211n=1
ht_coex=0
ht_capab=null[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][MAX-AMSDU-7935][RX-STBC1]
he_bss_color=128
he_spr_sr_control=3
ieee80211ax=1
he_su_beamformer=1
he_su_beamformee=1
he_mu_beamformer=1
he_twt_required=0
he_default_pe_duration=4
he_rts_threshold=1023
he_mu_edca_qos_info_param_count=0
he_mu_edca_qos_info_q_ack=0
he_mu_edca_qos_info_queue_request=0
he_mu_edca_qos_info_txop_request=0
he_mu_edca_ac_be_aifsn=8
he_mu_edca_ac_be_aci=0
he_mu_edca_ac_be_ecwmin=9
he_mu_edca_ac_be_ecwmax=10
he_mu_edca_ac_be_timer=255
he_mu_edca_ac_bk_aifsn=15
he_mu_edca_ac_bk_aci=1
he_mu_edca_ac_bk_ecwmin=9
he_mu_edca_ac_bk_ecwmax=10
he_mu_edca_ac_bk_timer=255
he_mu_edca_ac_vi_ecwmin=5
he_mu_edca_ac_vi_ecwmax=7
he_mu_edca_ac_vi_aifsn=5
he_mu_edca_ac_vi_aci=2
he_mu_edca_ac_vi_timer=255
he_mu_edca_ac_vo_aifsn=5
he_mu_edca_ac_vo_aci=3
he_mu_edca_ac_vo_ecwmin=5
he_mu_edca_ac_vo_ecwmax=7
he_mu_edca_ac_vo_timer=255
stationary_ap=1
mbssid=0

#num_global_macaddr=1

# Setup interface: phy0-ap0
interface=phy0-ap0
bssid=cc:d8:43:b2:f1:b2
ssid2="BackOffice"
ctrl_interface=/var/run/hostapd
ap_isolate=0
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
skip_inactivity_poll=0
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
bridge=br-lan
snoop_iface=br-lan
ocv=0
preamble=1
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
dtim_period=3
wmm_enabled=1
sae_require_mfp=1
sae_pwe=2
wpa_passphrase=mojabeti12
wpa_psk_file=/var/run/hostapd-phy0-ap0.psk
dynamic_vlan=0
wpa_disable_eapol_key_retries=0
wpa=2
wpa_pairwise=CCMP
rrm_neighbor_report=1
rrm_beacon_report=1
rnr=1
vlan_file=/var/run/hostapd-phy0-ap0.vlan
ieee80211w=2
group_mgmt_cipher=AES-128-CMAC
okc=1
wpa_key_mgmt=SAE
rsn_override_key_mgmt=SAE
rsn_override_pairwise=GCMP-256 CCMP
rsn_override_mfp=2
#default_macaddr
root@ax3000t:~#

Please use the "Preformatted text </>" button for logs, scripts, configs and general console output.
grafik
Please edit your post accordingly. Thank you! :slight_smile:

You are using ucode scripts. Can not guess it is wrong or right not knowing your configuration. Adding one parameter it does not magically add to random OTHER parameter. Correct spelling is the boss here.

Thank you for helping, here are my configs

root@ax3000t:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.path='platform/soc/18000000.wifi'
wireless.radio0.band='2g'
wireless.radio0.channel='1'
wireless.radio0.htmode='HE20'
wireless.radio0.country='US'
wireless.radio0.cell_density='1'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='BackOffice'
wireless.default_radio0.encryption='sae'
wireless.default_radio0.dtim_period='3'
wireless.default_radio0.key='XXXXXXXX'
wireless.default_radio0.ocv='0'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.path='platform/soc/18000000.wifi+1'
wireless.radio1.band='5g'
wireless.radio1.channel='124'
wireless.radio1.htmode='HE80'
wireless.radio1.country='US'
wireless.radio1.cell_density='1'
wireless.default_radio1=wifi-iface
wireless.default_radio1.device='radio1'
wireless.default_radio1.network='lan'
wireless.default_radio1.mode='ap'
wireless.default_radio1.ssid='BackOffice'
wireless.default_radio1.encryption='sae'
wireless.default_radio1.dtim_period='3'
wireless.default_radio1.key='XXXXXXXX'
wireless.default_radio1.ocv='0'
root@ax3000t:~#

Remove dtim period parameter
Set to 2 if you feel urge to change it from 1
(not really related to issue at hand.
Otherwise config looks completely default
Can you show where you add the parameter in /etc/config/wireless ?

I setup dtim to 3 because I use usteer and this video recommend it if you have iphone yt_usteer My wife has iphone…


root@ax3000t:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi'
        option band '2g'
        option channel '1'
        option htmode 'HE20'
        option country 'US'
        option cell_density '1'


config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'BackOffice'
        option encryption 'sae'
        option dtim_period '3'
        option key 'XXXXXX'
        option ocv '0'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi+1'
        option band '5g'
        option channel '124'
        option htmode 'HE80'
        option country 'US'
        option cell_density '1'


config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'BackOffice'
        option encryption 'sae'
        option dtim_period '3'
        option key 'XXXXXX'
        option ocv '0'

root@ax3000t:~#

So tjis appears out of nowhere?

It is there even when I do firstboot so I guess it is some bug in the code. I have 2 of these ax3000t… I think you have this ax3000t… can you look at it?

You have to report a bug wrt ucode wifi scripts. No such null on 24.10 with shell script (probably owut down the road just in case it is suddenly fixed)

fixed in this commit

1 Like