From nobody@FreeBSD.org  Fri Mar  1 13:11:30 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 012ED37B41A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Mar 2002 13:11:30 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g21LBTf61345;
	Fri, 1 Mar 2002 13:11:29 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203012111.g21LBTf61345@freefall.freebsd.org>
Date: Fri, 1 Mar 2002 13:11:29 -0800 (PST)
From: Landon Fuller <landonf@fullers.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] wi(4) doesn't comprehend standard ad-hoc mode
X-Send-Pr-Version: www-1.0

>Number:         35463
>Category:       kern
>Synopsis:       [patch] wi(4) doesn't comprehend standard ad-hoc mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 01 13:20:00 PST 2002
>Closed-Date:    Tue Jul 23 03:11:47 PDT 2002
>Last-Modified:  Tue Jul 23 03:11:47 PDT 2002
>Originator:     Landon Fuller
>Release:        4.5-STABLE
>Organization:
>Environment:
FreeBSD shorty 4.5-STABLE FreeBSD 4.5-STABLE #10: Sun Feb 24 10:54:31 PST 2002     root@shorty:/usr/src/sys/compile/SHORTY  i386
>Description:
The wi(4) driver for WaveLAN based 802.11b cards does not recognize standard adhoc mode (ptype == 0x4), and ifconfig returns incorrect status. The card can be put into standard ad-hoc operating mode via wicontrol
>How-To-Repeat:
wicontrol -i wi0 -p 4; ifconfig wi0
>Fix:
Patch against -STABLE:
http://public.boredom.org/~swift/code/if_wi.diff

Define WI_PORTTYPE_PADHOC as 0x3, WI_PORTTYPE_ADHOC as 0x4, and check for both when returning ad-hoc status information. Use WI_PORTTYPE_ADHOC in wi_media_change()
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: eric 
State-Changed-When: Tue Jul 23 02:44:56 PDT 2002 
State-Changed-Why:  
driver now supports ibss 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35463 
>Unformatted:
