[solved] Wavlink WL-WN570HA1, Cannot set wlan0 to N

on a Wavlink WL-WN570HA1, through Luci or manually editing
the /var/run/hostapd-phy0.conf to set hw_mode to N, it reverts to g.
why? is there a fix?

root@OpenWrt:~# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=DE
ieee80211d=1
hw_mode=g
beacon_int=100
channel=6

ieee80211n=1
ht_coex=0
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][RX-STBC1]

interface=wlan0
ctrl_interface=/var/run/hostapd
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=0
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
auth_algs=1
wpa=0
ssid=PoseCafe
bssid=80:3f:5d:c3:67:35

'hwmode=n' is not a valid setting in /etc/config/wireless or hostapd.conf. The only settings possible are 'b' (never used), 'g', and 'a'. Selection of b or g means 2 GHz operation and a is for 5 GHz. To get n speeds, combine hwmode g with an htmode. 'HT20' is almost always used on 2 GHz.

There is no need to edit hostapd.conf, it will be automatically generated in RAM from the UCI scripts /etc/config/wireless.

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.