Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 23:52:08 GMT
From:      Simas Kvilius <kvilius.simas@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/122319: [wi] imposible to enable ad-hoc demo mode with Orinoco Gold PC card
Message-ID:  <200803312352.m2VNq8xl077343@www.freebsd.org>
Resent-Message-ID: <200804010000.m31003d7051080@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122319
>Category:       kern
>Synopsis:       [wi] imposible to enable ad-hoc demo mode with Orinoco Gold PC card
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 01 00:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Simas Kvilius
>Release:        7.0
>Organization:
Home
>Environment:
>Description:
I'm using old Lucent orinoco wireless card in ad-hoc demo mode.
It seems someone forgot to implement ad-hoc demo mode in the newest wi
driver (driver which comes with RELENG7). I added  following statement
to if_wi.c line 407 to indicate, that my card supports ad-hoc demo
mode (someone definitely forgot to include this):

ic->ic_caps |= IEEE80211_C_AHDEMO;

Now I can enable ad-hoc demo mode using ifconfig utility (with command
ifconfig wi0 mode 11b media DS/11Mbps mediaopt adhoc mediaopt flag0),
but it seems there is another bug. Now I cannot change radio channel
(nic is always stuck in channel 3, i think this channel is hardcoded
as default ibss channel inside my nic).
Could anyone fix this bug with channels (I tried to figure out where
problem is, but it seems I'm to lame to do kernel hacking of this
level by myself). My card was working fine with FreeBSD 5.1 (both with
ifconfig and wicontrol tools) and Linux.
>How-To-Repeat:
1. Try to enable adhoc mode on Lucent Orinoco Gold PC card using "ifconfig wi0 mode 11b media DS/11Mbps mediaopt adhoc mediaopt flag0"

2. Try to change channel using ifconfig wi0 channel 13 (or any other channel)
>Fix:
Add  following statement
to if_wi.c line 407 to indicate:

ic->ic_caps |= IEEE80211_C_AHDEMO;

(this solves only the first part of the problem)


>Release-Note:
>Audit-Trail:
>Unformatted:



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