From owner-freebsd-net@FreeBSD.ORG Tue Apr 1 15:27:47 2008 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 9F0B41065671 for ; Tue, 1 Apr 2008 15:27:47 +0000 (UTC) (envelope-from kvilius.simas@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 72CA88FC2D for ; Tue, 1 Apr 2008 15:27:47 +0000 (UTC) (envelope-from kvilius.simas@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1416969rvb.43 for ; Tue, 01 Apr 2008 08:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=nPnkjIXnz5b948Ouakb/lNoaBeOXiGP0qDpy/pWdM/Q=; b=P8ESM42gl6oPiV1VJRXaTsaC2BLmYVJyswbFGSz1sR+CyzT0P769VwRfudCozdyVYgj4xLX2x0iFRqWy80x0S4l2nRzguwYN95J4gVlSwhHI4EhX37bS9wMnCASKvo0dsjL356Lxxg5frSuQ+LxMiv5rfQLSCm5nQ0navabDxvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LD/LWZi/K+O18vLc6gMXmeze6hryxn+fRhN1RgVnrKWTgqYjQAzj4qsZNkyAJ6o2Bf4dx75xuPpn3oEYybXF7ZKVDW9iJSwiTLoxtX4fsbGzMehxYM7eEjCramRSN3py5SnilVdojk4EUFwSGLJ39TPAa1VtC3D572twLkoWt6g= Received: by 10.141.129.14 with SMTP id g14mr4370205rvn.274.1207063666997; Tue, 01 Apr 2008 08:27:46 -0700 (PDT) Received: by 10.141.49.9 with HTTP; Tue, 1 Apr 2008 08:27:46 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 18:27:46 +0300 From: "Simas Kvilius" To: remko@freebsd.org In-Reply-To: <200804010640.m316e4Fr099103@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804010640.m316e4Fr099103@freefall.freebsd.org> Cc: freebsd-net@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: kern/122319: [wi] imposible to enable ad-hoc demo mode with Orinoco Gold PC card 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: Tue, 01 Apr 2008 15:27:47 -0000 Addition info: Today I tested FreeBSD6.3 wi driver and inspected underlying wi code. I found out that FreeBSD6.3 has the same adhoc demo bug as 7.0 (inability to turn on ad-hoc demo mode), I added following code to /dev/wi/if_wi.c line 385: ic->ic_caps |= IEEE80211_C_AHDEMO; This code line completely fixed issues with my Lucent Orinoco wireless card in FreeBSD6.3, now I'm able to do both tasks: enable ad-hoc mode and change radio channels. ifconfig wi0 media DS/11Mbps mode 11b mediaopt adhoc,flag0 <-- this command enables ad-hoc demo mode as it should ifconfig wi0 channel 13 <-- this command changes radio channel as it should This discovery implies two things: 1. Inability to enable ad-hoc demo mode in FreeBSD6.3 and FreeBSD7.0 and inability to change channels if FreeBSD are two separate (and probably unrelated) bugs. 2. Because in FreeBSD6.3 I can change channels, but in FreeBSD I can not, the bug lies somewhere in code, which was updated between FreeBSD6.3 and 7.0, moreover I discovered that I cannot change channel in standard adhoc mode as well as in adhoc demo mode, so this bug is general to adhoc mode. On Tue, Apr 1, 2008 at 9:40 AM, wrote: > Synopsis: [wi] imposible to enable ad-hoc demo mode with Orinoco Gold PC card > > Responsible-Changed-From-To: freebsd-bugs->freebsd-net > Responsible-Changed-By: remko > Responsible-Changed-When: Tue Apr 1 06:39:55 UTC 2008 > Responsible-Changed-Why: > reassign to networking team > > http://www.freebsd.org/cgi/query-pr.cgi?pr=122319 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >