Subject: kern/17841: wi(4) drivers disunited: NetBSD is missing HostAP mode, adequate ioctl's, bug fixes from OpenBSD & FreeBSD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dyoung@ojctech.com>
List: netbsd-bugs
Date: 08/04/2002 21:10:58
>Number:         17841
>Category:       kern
>Synopsis:       wi(4) drivers disunited: NetBSD is missing HostAP mode, adequate ioctl's, bug fixes from OpenBSD & FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 04 21:12:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Young
>Release:        current sources
>Organization:
OJC Technologies
>Environment:
NetBSD noam.onthejob.net 1.5ZC NetBSD 1.5ZC (dyoung_wi) #28: Mon Jun  3 23:11:03 CDT 2002     dyoung@<PRIVATE>:/home/dyoung/anoncvs/src/sys/arch/i386/compile/dyoung_wi i386
>Description:
Useful features of wi(4) in FreeBSD and OpenBSD are missing from NetBSD, including

  * media type selection
  * COR resets
  * Host AP mode

This patch unifies NetBSD and OpenBSD wi(4) sources as of
OpenBSD's if_wi.c version 1.61 (31 May 2002). It adds a compatibility layer of macros in a new source file, wicompat.h. It adds pieces of the FreeBSD sources\, too.

I have not tried to apply this patch to OpenBSD and compile, yet.

>How-To-Repeat:
Compare feature sets in Open, Net, FreeBSD.
>Fix:
Apply the patch at http://che.ojctech.com/~dyoung/wip/wip.tgz
>Release-Note:
>Audit-Trail:
>Unformatted: