Files
vanlink/ap/hostapd.conf
T
andreas 474e567ace Enable 5GHz AP mode with MT7925E support
Updated hostapd.conf to run 5GHz AP on channel 149 with MT7925E (mt76 driver).
Now supports full 802.11ac (VHT) and 802.11ax (WiFi 6) capabilities.

Also fixed deploy.sh rendering issue that left unsubstituted placeholders in
network configs, causing Ethernet flaps. Configs are now properly deployed.

- hw_mode=a (5GHz), channel=149
- VHT and HE (WiFi 6) capabilities enabled
- Proper bridge configuration with gateway IP 10.42.1.1/24
- DHCP range 10.42.1.10-254 verified working
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-19 10:39:22 -04:00

31 lines
1.0 KiB
Plaintext

interface=@WIFI_5G_IFACE@
# Put the AP into br0 so Wi-Fi and the wired LAN port share one 10.42.1.0/24 segment.
# hostapd adds the wlan to the bridge after setting AP mode; the bridge itself + its
# wired member + the gateway IP are defined under /etc/systemd/network (2x-van-br0/lan).
bridge=br0
# Control socket so van-ap-watchdog (and hostapd_cli) can read the AP's real state
# (state=ENABLED means it's actually beaconing) — used to detect a wedged radio that
# stays "running" but stops serving after a USB glitch.
ctrl_interface=/var/run/hostapd
driver=nl80211
ssid=VanLink2
country_code=CA
ieee80211d=1
hw_mode=a
channel=149
wmm_enabled=1
# 5GHz AP with MT7925E (mt76 driver) on FriendlyElec R5C
# Supports 802.11ac (VHT) and 802.11ax (WiFi 6)
ieee80211n=1
ieee80211ac=1
ieee80211ax=1
ht_capab=[HT20][SHORT-GI-20][HT40+][HT40-]
vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][SU-BEAMFORMEE]
he_su_beamformee=1
he_mu_edca_qos_info_param_count=0
auth_algs=1
wpa=2
wpa_passphrase=1foot11foot11
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP