Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40] optional in hostapd.conf #78

Open
rkrkrk0987 opened this issue Jun 11, 2024 · 7 comments

Comments

@rkrkrk0987
Copy link

Hi there,

please make ht_capab [DSSS_CCK-40] optional, some older cards don't support it

thank you

@mattlongman
Copy link
Owner

Hi there,

please make ht_capab [DSSS_CCK-40] optional, some older cards don't support it

thank you

The default ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40] can be overwritten using the hostapd_config_override option.

This option with ht_capab=[HT40][SHORT-GI-20] would append this to the hostapd config file, and so it would ignore the previous ht_capab entry.

@rkrkrk0987
Copy link
Author

Tried it, overwrite doesn't work

@mattlongman
Copy link
Owner

Tried it, overwrite doesn't work

Ok, thanks. Could you share your config please?

@rkrkrk0987
Copy link
Author

rkrkrk0987 commented Jun 12, 2024

ssid: xxx
wpa_passphrase: xxx.
channel: 5
address: 192.168.88.1
netmask: 255.255.255.0
broadcast: 192.168.88.255
interface: wlp1s0u1u3
hide_ssid: false
dhcp: 1
dhcp_start_addr: 192.168.88.10
dhcp_end_addr: 192.168.88.30
allow_mac_addresses:
- E8:88:cxxxe:1d
deny_mac_addresses: []
debug: 0
hostapd_config_override: []
client_internet_access: false
client_dns_override: []
dnsmasq_config_override: []

@rkrkrk0987
Copy link
Author

rkrkrk0987 commented Jun 12, 2024

i tried
hostapd_config_override:
- t_capab=[HT40][SHORT-GI-20]

but without success

i ended up cloning your addon localy without ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40] in hostapd.config

@gentoo-root
Copy link

Same issue. Adding an override:

hostapd_config_override:
  - ht_capab=[HT40][SHORT-GI-20]

doesn't have an effect:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Starting Hass.io Access Point Addon
Warning: nmcli (1.46.0) and NetworkManager (1.44.2) versions don't match. Restarting NetworkManager is advised.
# Custom hostapd config options:
Add to hostapd.conf: ht_capab=[HT40][SHORT-GI-20]
Warning: nmcli (1.46.0) and NetworkManager (1.44.2) versions don't match. Restarting NetworkManager is advised.
Add DNS: dhcp-option=6,xxx.xxx.xxx.xxx
# Custom dnsmasq config options:
<...>
rfkill: Cannot open RFKILL control device
Driver does not support configured HT capability [DSSS_CCK-40]
wlp1s0u1u4: interface state UNINITIALIZED->DISABLED
wlp1s0u1u4: AP-DISABLED 
wlp1s0u1u4: Unable to setup interface.
wlp1s0u1u4: interface state DISABLED->DISABLED
wlp1s0u1u4: AP-DISABLED 
wlp1s0u1u4: CTRL-EVENT-TERMINATING 
hostapd_free_hapd_data: Interface wlp1s0u1u4 wasn't started
nl80211: deinit ifname=wlp1s0u1u4 disabled_11b_rates=0
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Could you implement a way to change ht_capab?

@ValentynKhylchuk
Copy link

ValentynKhylchuk commented Aug 12, 2024

Hi.
I have same issue on Orange Pi Zero 3.
hostapd_config_override does not help. The only way to fix it for me was to fork this repo and change that configuration line manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants