From c67f918d581b524182a91b083f5649439eaa0815 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 18 Mar 2003 04:22:42 +0000 Subject: 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. --- sys/dev/wi/if_wivar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/wi/if_wivar.h') 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; -- cgit v1.1