Commit Graph

12 Commits

Author SHA1 Message Date
christos 4ab501cfa2 - Fix the recursive iwn_init() call problem properly.
- Don't print the scan request while scanning all the time. Perhaps I will
  remove this completely.
2010-07-02 14:47:25 +00:00
christos e59f7b7733 Patch from Sverre Froyen to avoid panic when an ioctl happens while the
driver is initializing.
2010-06-18 21:10:23 +00:00
christos 6d79f6d119 Align usage of *free and *alloc and clean up the firmware read code.
This fixes two panics that occur for kernels compiled with DIAGNOSTIC and
DEBUG. From Sverre Froyen
2010-04-23 20:56:20 +00:00
christos fea8380812 Update with newer version from Sverre Froyen 2010-04-16 01:40:41 +00:00
pooka 10fe49d72c Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
2010-01-19 22:06:18 +00:00
pooka 64da563d90 Forward declare struct bpf_if and use that as the type for bpf_if
instead of "void *".  Buys us oo times the type-safety for 0 times
the price.
(no functional change)
2010-01-17 19:45:06 +00:00
christos b2b9799d39 Add support for the 5100 and newer firmware. Tested also with the 4900.
Thanks to everyone for helping and testing.
2009-09-11 01:28:20 +00:00
blymn 215b203640 Pay more attention to the state of the RF kill switch, such as don't
bring the interface up when the RF is off.
2008-12-22 11:32:04 +00:00
cube 1f9f95eab3 - Make RX queue free list code look like in if_wpi.c, including:
- Protect RX queue free list with a mutex, as it was done in so many
  network drivers now that it calls for common code, as dyoung@ points
  out.

However, for now it should improve a bit iwn(4)'s stability.
2008-08-18 21:19:22 +00:00
skrll 5c7461ba78 More whitespace and RCSIds. 2008-02-09 19:14:53 +00:00
ober 0a7ceb2bfb Clean up white space and KNF everything. 2008-02-09 18:19:33 +00:00
ober 5b57893f60 Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@.  OK nick@ moof@
2008-02-09 12:25:43 +00:00