Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 17:55:13 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net80211 ieee80211_crypto.c ieee80211_crypto.h ieee80211_ioctl.c
Message-ID:  <200504121755.j3CHtDIP056403@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504121755.j3CHtDIP056403>