cvs commit: src/sys/net80211 ieee80211_crypto.c ieee80211_crypto.h ieee80211_ioctl.c

Sam Leffler sam at FreeBSD.org
Tue Apr 12 10:55:14 PDT 2005


sam         2005-04-12 17:55:13 UTC

  FreeBSD src repository

  Modified files:
    sys/net80211         ieee80211_crypto.c ieee80211_crypto.h 
                         ieee80211_ioctl.c 
  Log:
  Revise crypto api lightly to improve group key handling:
  o don't pre-assign key index to the global key table entries so device
    has a chance to decide what to use
  o make ieee80211_crypto_newkey take the desired flags as an argument
    instead of wacking the key structure directly; this eliminates a
    bunch of code warts
  o add a new flag IEEE80211_KEY_GROUP to indicate a key is a WPA Group
    key so devices don't need to guess (temporarily add this flag in the
    ioctl code until we can get wpa_supplicant+hostapd updated)
  o shuffle IEEE80211_KEY_* bits to move flags used internally to the high
    nibble of the flags word
  
  Reviewed by:    Tai-hwa Liang
  
  Revision  Changes    Path
  1.8       +31 -24    src/sys/net80211/ieee80211_crypto.c
  1.7       +6 -3      src/sys/net80211/ieee80211_crypto.h
  1.20      +7 -6      src/sys/net80211/ieee80211_ioctl.c


More information about the cvs-all mailing list