driver=nl80211
country_code=US # nothing worked until I set country_code to US
ieee80211d=1
#hw_mode=g
#channel=48 # select a suitable 2.4GHz or 5GHz channel from “iw list” (in the 5ghz band I could only make channels 36, 40, 44, 48 work even though more are listed)
wmm_enabled=1
ieee80211n=1
ieee80211ac=1
This does not seem to help.
I see that the AP is still ‘802.11abgn’
I get following when I run: iwconfig
wlan0 IEEE 802.11abgn Mode:Master Tx-Power=31 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
So, channel 149 is not listed. If I try to run hostapd with channel 149 in hostapd.conf, it won’t work and I get:
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
wlan0: IEEE 802.11 Configured channel (149) not found from the channel list of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
wlan0: interface state COUNTRY_UPDATE->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
I have also tried using channel 42 or 58 (as shown in the image posted by dusty_nv), but same thing happens. The thing is, those channels are not listed in iw list, and I don’t know how to enable them. Any ideas?