Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 11:07:34 +0200
From:      Volodymyr Kostyrko <arcade@b1t.name>
To:        freebsd-wireless@freebsd.org
Subject:   hostapd doesn't understand many options from provided example hostapd.conf
Message-ID:  <52F9E856.9090604@b1t.name>

next in thread | raw e-mail | index | archive | help
Hi all.

ifconfig wlan0 create results in:

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether f8:1a:67:73:bf:84
         inet6 fe80::fa1a:67ff:fe73:bf84%wlan0 prefixlen 64 scopeid 0x5
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
         status: running
         ssid test channel 4 (2427 MHz 11g ht/40+) bssid f8:1a:67:73:bf:84
         regdomain NONE country UA indoor ecm authmode OPEN privacy OFF
         txpower 30 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8
         shortgi wme burst dtimperiod 1 -dfs

While after starting hostapd I'll have:

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether f8:1a:67:73:bf:84
         inet6 fe80::fa1a:67ff:fe73:bf84%wlan0 prefixlen 64 scopeid 0x5
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
         status: running
         ssid test channel 4 (2427 MHz 11g) bssid f8:1a:67:73:bf:84
         regdomain NONE country UA indoor ecm authmode OPEN privacy OFF
         txpower 30 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs

The key difference is "mode 11ng" vs "mode 11g" and "2427 MHz 11g 
ht/40+" vs "2427 MHz 11g". man for `hostapd.conf` misses docs about 
hw_mode and examples looks like they are from a different world: there's 
no `ieee80211h` option and `ieee80211n` is actually not supported (yet 
present in /usr/share/examples/hostapd/hostapd.conf).

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F9E856.9090604>