Commit Graph

31 Commits

Author SHA1 Message Date
nakayama 86cb1865fd Avoid use of wi_pci_reset when it uses other chip like PLX bridge chip.
This solves PCI bus error on sparc64 with Eumitcom WL11000P.
2004-03-28 09:44:59 +00:00
dyoung ea63a1a6cd PR 23428: support National Datacomm Corporation NCP130A2 board.
Thanks T. M. Pederson for sending the patches.
2003-12-14 10:04:33 +00:00
dyoung 609617af90 Enable RSSI-based rate-adaptation for wi(4). This enables wi(4)-based
APs to run at "full speed" where before they ran at just 1 or 2Mb/s.
The AP will adapt the data rate for each client based on packet
losses and the received signal strength.

I have also enabled rate adaptation for STA mode and for IBSS mode,
but the hardware gives us less control over the data rate in those
modes.
2003-12-07 05:44:49 +00:00
dyoung 23d8f48692 Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.
2003-11-16 09:02:42 +00:00
dyoung ef743c64b6 Switch wi(4) to the new 802.11 layer. 2003-10-13 08:07:21 +00:00
scw 5b05921978 Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer
to pci_attach_args. The latter is allocated on the stack during auto-
configuration and so will not be valid after that time.

It's amazing how the old code worked for so long. I guess pci_attach_args
is allocated deep in pid#0's kernel stack on most platforms.
2003-09-29 14:10:35 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr 960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
christos 2d2910a91a PR/21108: Christopher SEKIYA: if_wi_pci.c rev 1.21 is incorrect for PLX-9052 2003-04-12 08:17:45 +00:00
jdc 8e265123d8 Add support for USRobotics Wireless Access PCI adapter (model 132415).
From Sergio Jimenez in PR kern/20642.
2003-03-29 20:49:03 +00:00
dyoung 243f751604 Support so-called "PLX" bridge for wi(4). From FreeBSD via Simon
Burge. Simon writes,

"Here's the patch that Grant and I have been using on a combinations of
architectures and both NetBSD 1.6 and -current.

"This is based on FreeBSD - look for
        /* We have to do a magic PLX poke to enable interrupts */
in
        http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wi/if_wi_pci.c
2003-03-29 03:25:22 +00:00
perry 935d1a04e3 Fix PR/20903 for real.
Identical patches supplied by:
Masuda Hideo <h-masuda@ootani.nagata.kobe.jp>
Christopher SEKIYA <wileyc@rezrov.net>
2003-03-28 13:58:40 +00:00
perry 964bf1e7f5 ifdef out something dependent on PCI_VENDOR_COREGA for now. 2003-03-27 20:09:07 +00:00
perry 3086473c25 Tell driver to accept the Corega CGWLPCIA11.
Submitted by h-masuda@ootani.nagata.kobe.jp in PR #20903
2003-03-27 14:43:30 +00:00
dyoung 404d2ac6e8 Introduced sc_reset to wi_softc. The bus-specific front-end gets
to fill this.
2003-03-27 04:34:16 +00:00
dyoung ea6658283d Since the I/O and memory enable bits are written to the PCI CSR by
the PCI bus code, and because wi(4) does not use bus-mastering, we
may entirely skip writing the PCI CSR.
2003-01-02 06:26:49 +00:00
dyoung b356d306f5 For confidence's sake, enable I/O and memory accesses (which were
previously NOT enabled), but do not enable bus-mastering (which
was previously enabled, but which neither Lucent nor Prism support).
2003-01-01 02:36:54 +00:00
dyoung 053c1688c8 Per discussion in PR 18794, fix PCI resets. Alas, this does not
seem to fix PR 18794.
2002-12-31 06:33:20 +00:00
soren 75a75e1d7a WI_PCI_CBMA belongs in dev/pci. 2002-10-21 11:57:25 +00:00
thorpej b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej 387fc6dc87 Use CFATTACH_DECL(). 2002-09-30 20:37:04 +00:00
onoe 2f8340c369 Nuke unneeded member sc_ifp and use #define sc_if instead,
to prepare jumbo commit for wi.c
2002-09-30 06:29:29 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
thorpej 8972c9d466 Make the PCI reset more robust. From David Young <dyoung@ojctech.com>. 2002-09-23 14:12:35 +00:00
jdolecek 46d335a320 move wi_pci_reset() from ic/wi.c to pci/if_wi_pci.c, where is belongs 2002-04-04 17:43:31 +00:00
jdolecek e9ee3f796e fix sligh confusion on whether or not to supply dv_xname to printf() in
error cases of attach
Noticed in kern/16197 by George E Sollish.
2002-04-04 17:30:32 +00:00
augustss 5fff88daf1 Note to self: set variable before using it. 2002-01-15 13:50:59 +00:00
augustss a80d13d476 Cosmetic error message fix. 2002-01-13 19:40:51 +00:00
augustss e4f23fb652 Add code to handle PCMCIA cards placed on a PCI card with the PLX chip.
From OpenBSD and FreeBSD.
2002-01-13 19:38:25 +00:00
lukem 9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
ichiro cbcfff63ec Add Intersil Prism2.5 Mini-PCI wavelan. 2001-10-13 15:00:23 +00:00