[Ndiswrapper-general] Centrino wlan driver loading
Status: Beta
Brought to you by:
pgiri
From: Stefan <ste...@gm...> - 2003-11-22 12:21:12
|
Hello, I managed to load the driver for the Intel Corp. PRO/Wireless LAN 2100 3B M= ini=20 PCI Adapter (rev 04), the wireless card built into every centrino laptop. The driver loads, the Network device registered. The Mac address is correct= ,=20 iwconfig can read out some information too. There are still a lot of=20 unimplemented functions(See the attached console log). When WEP is=20 disabled(in the access point configuration) the card connects without the=20 need to set special parameters. When trying to send anything(I started the= =20 dhcp client) a kernel panic occurs(It looks like a very hard crash, the=20 system is just dead, it doesn't print any information, just the capslock le= d=20 is flashing). When I unload the module(I activated WEP again, so the wlan card did not=20 connect) the driver crashes too(see the log). This is due to an unimplement= ed=20 function, maybe returning NDIS_STATUS_SUCCESS is enough to prevent this. Have attached diffs for various files and two new files, ndisevent.c and=20 ndisevent.h. Don't forget to add ndisevent.o to the Makefile's list of=20 objects to compile. Please note the patch for ndis.c: I included a line len=3D4096 in=20 NdisMMapIoSpace. The len is 0 normally, and until the bug is fixed it's sti= ll=20 neccessary to force len=3D4096. A emergency solution would be to check the = PCI=20 vendor and device, and if len =3D=3D 0, pci_venor=3D=3D8086[intel] and=20 pci_device=3D=3D1043[PRO/Wireless LAN 2100 3B Mini PCI Adapter] then len is= set=20 to 4096. Cheers, Stefan D=F6singer (Hope I attached all my changed files) |