freebsd-skq/sys/dev/if_ndis
Bill Paul 55cfa737d7 Unbreak the Intel 2100 Centrino wireless driver (and probably others):
- In subr_ndis.c, my_strcasecmp() actually behaved like my_strncasecmp():
  we really need it to behave like the former, not the latter. (It was
  falsely matching "RadioEnable", which defaults to 1 with "RadioEnableHW"
  which the driver creates itself and to 0, because we were using
  strlen("RadioEnable") as the length to test. This caused the radio to
  always be turned off. :( )

- In if_ndis.c, only set IEEE80211_CHAN_A for channels if we actually
  set any IEEE80211_MODE_11A rates. (ieee80211_attach() will "helpfully"
  add IEEE80211_MODE_11A to ic_modecaps for you if you initialize any
  802.11a channels. This caused "ndis0: 11a rates:" to erroneously be
  displayed during driver load.)

- Also in if_ndis.c, when using TESTSETRATE() to add in any missing 802.11b
  rates, remember to OR the rates with IEEE80211_RATE_BASIC, otherwise
  comparing against existing basic rates won't match. (1, 2, 5.5 and
  11Mbps are basic rates, according to the 802.11b spec.) This erroneously
  cause 11Mbps to be added to the 11b rate list twice.
2004-06-04 04:43:36 +00:00
..
if_ndis_pccard.c Explicitly #include <sys/module.h> in these files too (they use 2004-06-01 23:27:36 +00:00
if_ndis_pci.c Explicitly #include <sys/module.h> in these files too (they use 2004-06-01 23:27:36 +00:00
if_ndis.c Unbreak the Intel 2100 Centrino wireless driver (and probably others): 2004-06-04 04:43:36 +00:00
if_ndisvar.h Continue my efforts to imitate Windows as closely as possible by 2004-04-14 07:48:03 +00:00