cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

Bill Paul wpaul at
Sat Dec 20 16:00:09 PST 2003

wpaul       2003/12/20 16:00:08 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c ndis_var.h subr_ndis.c 
    sys/dev/if_ndis      if_ndis.c if_ndisvar.h 
  Big round of updates:
  - Make ndis_get_info()/ndis_set_info() sleep on the setdone/getdone
    routines if they get back NDIS_STATUS_PENDING.
  - Add a bunch of net80211 support so that 802.11 cards can be twiddled
    with ifconfig. This still needs more work and is not guaranteed to
    work for everyone. It works on my 802.11b/g card anyway.
  The problem here is Microsoft doesn't provide a good way to a) learn
  all the rates that a card supports (if it has more than 8, you're
  kinda hosed) and b) doesn't provide a good way to distinguish between
  802.11b, 802.11b/g an 802.11a/b/g cards, so you sort of have to guess.
  Setting the SSID and switching between infrastructure/adhoc modes
  should work. WEP still needs to be implemented. I can't find any API
  for getting/setting the channel other than the registry/sysctl keys.
  Revision  Changes    Path
  1.7       +35 -8     src/sys/compat/ndis/kern_ndis.c
  1.3       +2 -0      src/sys/compat/ndis/ndis_var.h
  1.8       +4 -1      src/sys/compat/ndis/subr_ndis.c
  1.6       +401 -22   src/sys/dev/if_ndis/if_ndis.c
  1.4       +10 -1     src/sys/dev/if_ndis/if_ndisvar.h

More information about the cvs-all mailing list