Subject: Re: ath driver and wep
To: None <>
From: David Young <>
List: current-users
Date: 10/02/2005 16:30:51
On Sun, Oct 02, 2005 at 11:22:52AM -0700, Sam Leffler wrote:
> All ath key caches have more entries than the 4 used for the global (aka 
> wep) key table.  It's rare that only the first 4 entries are used; even 
> in sta mode you use other entries.  This means that if you want to 
> handle the most general case you must be prepared to restore all the 
> data which may require mucking with the net80211 data structures (or get 
> help from the net80211 layer to minimize layer violations).

Do you think this would work, modulo the devilish details?

        1 Link a driver's ieee80211_keys together---put the list head in
          ic->ic_crypto, say.  Modify net80211's set/delete-key methods
          to maintain the ieee80211_keys list.

        2 Modify the drivers' set/delete-key methods to do nothing if
          the power is off.

        3 In the drivers' xxx_newstate() methods, write keys to the
          hardware on a INIT->* transition, using the set-key method.


David Young             OJC Technologies      Urbana, IL * (217) 278-3933