From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 15 13:07:31 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A459216A4CE for ; Tue, 15 Feb 2005 13:07:31 +0000 (GMT) Received: from walk.com.br (mail.walk.com.br [200.205.240.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D7C143D39 for ; Tue, 15 Feb 2005 13:07:30 +0000 (GMT) (envelope-from luiz@microeletronica.com.br) Received: (qmail 12715 invoked by uid 1006); 15 Feb 2005 13:07:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Feb 2005 13:07:26 -0000 Date: Tue, 15 Feb 2005 11:07:26 -0200 (BRDT) From: Luiz Otavio Souza X-X-Sender: luiz@serv-qmp.walk.com.br To: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= In-Reply-To: <4211CE08.4090603@yan.com.br> Message-ID: <20050215105504.L6906@serv-qmp.walk.com.br> References: <4211511A.7030600@yan.com.br> <20050215001315.K98034@serv-qmp.walk.com.br> <4211CE08.4090603@yan.com.br> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-524697314-1108472846=:6906" cc: freebsd-hackers@freebsd.org Subject: Re: Senao Wireless Hidden SSID X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 13:07:31 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-524697314-1108472846=:6906 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Daniel, Sorry, i'm wrong about that. The hidden ssid ready driver is in OpenBSD (see WI_RID_ENH_SECURITY in=20 if_wi_ieee.h). The NetBSD porting is just an auto rate fix. The ifconfig support is in 6-CURRENT (or in the patch for 5.X). []s Luiz On Tue, 15 Feb 2005, [ISO-8859-1] Daniel Dias Gon=E7alves wrote: > Luiz, > > NetBSD 2.0 have mode HIDDEN SSID in ifconfig and wi(4) ? > Who is porting the NetBSD wi driver ? Has a page of the patch? > Has some HACK to wi driver on FreeBSD as that one that force TX RATE: > > --------//-------- > http://excamera.com/cgi-bin/blosxom.cgi > Sun, 16 May 2004 > > *wi hostap fix, kind of* > I spent a few hours tinkering (tampering?) with this driver, and have a f= ix.=20 > I've verified that it works: my download speed went up from 170 kbytes/se= c to=20 > 470 kbytes/sec, which is what I'd expect on an 11Mbps network. If anyone'= s=20 > interested, here it is: The Intersil manual on page 4-28 says that transm= it=20 > packets need to have their TxRate field filled in with 10,20,55 or 110,= =20 > depending on the transmission speed. The 4.X driver sets the field=20 > tx_frame.wi_tx_rate in function wihap_check_tx(), called from wi_start().= The=20 > 5.X driver calls this field frmhdr.wi_tx_rate, and leaves it zero. If you= =20 > want to run at 11MBps, add a line > > frmhdr.wi_tx_rate =3D 110; > > in wi_start(), just before the call to wi_write_bap(). (Obviously, this i= s=20 > just a cheesy hack. The real code would have to find the actual tx rate. = I=20 > just want to point out where the problem lies). > --------//-------- > > []s Daniel Dias Gon=E7alves --0-524697314-1108472846=:6906--