diff options
author | imp <imp@FreeBSD.org> | 2003-03-18 04:22:42 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-03-18 04:22:42 +0000 |
commit | c67f918d581b524182a91b083f5649439eaa0815 (patch) | |
tree | 392c4a2b1c15326b4a3126fe8b6be04b61029112 /sys/dev/wi/if_wivar.h | |
parent | 78371158c8a40f9bc2f40c86692e1e8b2a6c6725 (diff) | |
download | FreeBSD-src-c67f918d581b524182a91b083f5649439eaa0815.zip FreeBSD-src-c67f918d581b524182a91b083f5649439eaa0815.tar.gz |
o Lucent cards don't seem to like multiple buffers for tx. Use only
one tx buffer for these cards. The old driver only used one. We use
1 for symbol, and 3 for prism cards.
o Don't do the maximum loops thing in the ISR. In fact, revert to the
old interrupt handler. Lucent cards don't seem to work too well if
you don't disable/enable interrupts from the card in the ISR.
Between these two changes, Lucent cards suck less. They work in
autoselect mode only. And seem to get 1Mbps or 2Mbps only. Setting a
specific media speed doesn't work, and I've had a few issues even with
these patches. They turn a former brick into a nearly useful card.
These patches work on the prism 2 and 2.5 PC Card cards that I have.
I've not tested this on PCI cards. I suspect, but couldn't find
proof, that they were the reason that the ISR was changed so radically
from its FreeBSD roots in NetBSD. We might need to have a variant ISR
if so.
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r-- | sys/dev/wi/if_wivar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h index 6b6200f..11ee69f 100644 --- a/sys/dev/wi/if_wivar.h +++ b/sys/dev/wi/if_wivar.h @@ -120,6 +120,7 @@ struct wi_softc { char sc_net_name[IEEE80211_NWID_LEN]; int sc_buflen; /* TX buffer size */ + int sc_ntxbuf; #define WI_NTXBUF 3 struct { int d_fid; |