From owner-freebsd-bugs Fri Mar 1 13:20:27 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 934FA37B4F7 for ; Fri, 1 Mar 2002 13:20:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g21LK0f62840; Fri, 1 Mar 2002 13:20:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 012ED37B41A for ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/35463: [patch] wi(4) doesn't comprehend standard ad-hoc mode Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 01 13:20:00 PST 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message