From owner-freebsd-net@FreeBSD.ORG Wed Sep 2 15:02:13 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A48110656A3 for ; Wed, 2 Sep 2009 15:02:13 +0000 (UTC) (envelope-from sinister@gmail.com) Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by mx1.freebsd.org (Postfix) with ESMTP id C07328FC2B for ; Wed, 2 Sep 2009 15:02:12 +0000 (UTC) Received: by ywh15 with SMTP id 15so2656431ywh.10 for ; Wed, 02 Sep 2009 08:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:subject :date:mime-version:content-type:x-priority:x-msmail-priority :x-mailer:x-mimeole; bh=ipOb24+dBq13hjNV+LppVI2klilW87gxWGDbYOxwix0=; b=GMFBT5xvr08Zglja5Rb1ua6KcvLrOozzk4gqdcJU5DAlvTmUot6dRUqQL2uoRQ69WA 1siZqypZgOCJkaV8ozLLgAcxMqXxlKcLz8qo+kTmRp4qLkpr8YHRCT8lfkQ+xnIR8TIi 7hYo4YQdWL/04JVf8q0eLD3wfaklPhznKS/Vk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:mime-version:content-type :x-priority:x-msmail-priority:x-mailer:x-mimeole; b=OImyRJxV3+GfxXOXNRfkXe+B/FajK28bneCPnZqcogSNjEkRAeUq0fmgcFQsSvtTyw y3SDv3cNMixq0A04aq4g/XDfTL3vc2nBU7Sx1AridS9z7BqsCqhM2N9R8NNT1k1SLeof Gp88gJYUdlKIhTlB3Y7lvdRJC6oLByi5/wMKI= Received: by 10.91.143.18 with SMTP id v18mr6176440agn.71.1251903731737; Wed, 02 Sep 2009 08:02:11 -0700 (PDT) Received: from dts (markofthebeast.ca [216.8.139.47]) by mx.google.com with ESMTPS id 30sm11787agc.19.2009.09.02.08.02.10 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 08:02:10 -0700 (PDT) Message-ID: <4790A7EF670C4698ADB76933788A218F@dts> From: Sin To: Date: Wed, 2 Sep 2009 11:02:07 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: toggle short / long preamble with hostapd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 15:02:13 -0000 Hello, Does anyone know how to enable short preamble in 7-STABLE ? I'm using ath with hostapd in ap mode. It seems there was an option in = hostapd.conf, but this is not in FreeBSD's = /usr/share/examples/hostapd/hostapd.conf The missing hostapd.conf option was found in google: # Short Preamble # This parameter can be used to enable optional use of short preamble = for # frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network = performance. # This applies only to IEEE 802.11b-compatible networks and this should = only be # enabled if the local hardware supports use of short preamble. If any = of the # associated STAs do not support short preamble, use of short preamble = will be # disabled (and enabled when such STAs disassociate) dynamically. # 0 =3D do not allow use of short preamble (default) # 1 =3D allow use of short preamble #preamble=3D1 my version of hostapd is " v0.5.10 " - I was not able to set this option hostapd.conf: interface=3Dath0 #preamble=3D1 debug=3D1 ctrl_interface=3D/var/run/hostapd ctrl_interface_group=3Dwheel ssid=3Dprivate wpa=3D1 wpa_passphrase=3Dapassword wpa_key_mgmt=3DWPA-PSK wpa_pairwise=3DTKIP rc.conf: hostapd_enable=3D"YES" ifconfig_ath0=3D"mode 11g hidessid mediaopt hostap" ifconfig ath0: ath0: flags=3D8943 = metric 0 mtu 1500 ether 00:17:9a:4c:e7:83 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g = status: associated ssid private channel 1 (2412 Mhz 11g) bssid 00:17:9a:4c:e7:83 authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP = 3:128-bit txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS burst hidessid = dtimperiod 1