Subject: kern/33778: Intel Pro Wireless 3945ABG support (wpi driver)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <camjelemon@gmail.com>
List: netbsd-bugs
Date: 06/20/2006 17:55:01
>Number:         33778
>Category:       kern
>Synopsis:       Intel Pro Wireless 3945ABG support (wpi driver)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 20 17:55:01 +0000 2006
>Originator:     Jean-Baptiste Campesato
>Release:        Current
>Organization:
>Environment:
>Description:
Hello,
I ported Damien Bergamini's wpi driver for Intel Pro Wireless 3945ABG from OpenBSD and FreeBSD.
To work, a firmware must be loaded to the NIC, so I used firmload.
The firmware must be here:
/usr/pkg/libdata/if_wpi/ipw3945.ucode
It is loaded to the NIC when the interface is set to up.
You can get the firmware here: http://bughost.org/ipw3945/ucode/ipw3945-ucode-1.13.tgz

You can get the driver here: http://zulzul.free.fr/wpi/
- wpi.diff is a diff for CVS current (this morning)
- wpi-netbsd.tar.gz contains the three .c and .h driver files.
(Added files in src/sys/dev/pci: if_wpi.c if_wpireg.h if_wpivar.h
 Modified files in src/sys/dev/pci: files.pci pcidevs pcidevs.h pcidevs_data.h
 Modified files in sys/sys/arch/i386/conf: GENERIC GENERIC_LAPTOP)

- A new feature from OpenBSD hasn't already added: "Load the firmware block by block".
- I haven't written/imported the man yet.
- You might want to export amrr in wlan.
- On some laptops, the radio button transmitter must be pushed twice before setting the interface to up, or you will get a "Fatal firmware error" (this problem exists in the original driver).

BSS  : Seems ok
IBSS : Not tested
WEP  : Seems ok
WPA  : Doesn't seem to work (As for FreeBSD, I get "Fatal firmware error" when using wpa_supplicant)
WME  : Not tested

Cordially,
Jean-Baptiste Campesato

PS: I have already contacted tech-kern ~+two weeks ago, but I was asked to send-pr. I didn't know where send-pr. So, sorry if this PR isn't in the good category...
>How-To-Repeat:

>Fix: