[ath9k-devel] AuthSAE rekeying issues with ATH9K
Stam, Michel [FINT] <[email protected]> Thu, 14 Jul 2016 19:47:18 +0000
| Newsgroups | org.ath9k.lists.ath9k-devel |
|---|---|
| Message-ID | <[email protected]> |
Hey Adrian, Just saw your email, I took a quick look and I was able to find a struct ieee80211_key_conf which contains the key material. I suppose that the ath_node needs to be extracted from the ieee80211_sta -> drv_priv by looking up the source mac address in the struct ieee80211_hdr somewhere in ath9k_rx_accept()? The ath_node could then give the ps_key which contains the key cache index. This function also houses decrypt_errors which could be used for detection. I suppose that ieee80211_find_sta_by_ifaddr( ) with the destination and source mac as arguments would nicely fit the bill. The struct ath_node could also contain the key material, which could then be used for the replumbing. Any particular pattern I must follow when writing the key material? Or will ath_key_delete( ) followed by a ath_hw_set_keycache_entry( ) suffice? Kind regards, Michel Stam -------------- next part -------------- An embedded message was scrubbed... From: Adrian Chadd <[email protected]> Subject: Re: [ath9k-devel] AuthSAE rekeying issues with ATH9K Date: Thu, 14 Jul 2016 18:58:44 +0000 Size: 5356 Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160714/c7ca3f6b/attachment.mht