From owner-freebsd-wireless@FreeBSD.ORG Tue Feb 11 09:07:35 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1D25E3D for ; Tue, 11 Feb 2014 09:07:35 +0000 (UTC) Received: from ratatosk.b1t.name (ratatosk.b1t.name [46.150.100.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5C619A8 for ; Tue, 11 Feb 2014 09:07:35 +0000 (UTC) Received: from [192.168.1.129] (mau.donbass.com [92.242.127.250]) by ratatosk.b1t.name (Postfix) with ESMTPSA id 78356777 for ; Tue, 11 Feb 2014 11:07:34 +0200 (EET) Message-ID: <52F9E856.9090604@b1t.name> Date: Tue, 11 Feb 2014 11:07:34 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: hostapd doesn't understand many options from provided example hostapd.conf Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 09:07:35 -0000 Hi all. ifconfig wlan0 create results in: wlan0: flags=8843 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 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng 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 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 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g 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.