From: Stam, Michel [FINT] Date: Thu, 14 Jul 2016 08:34:57 +0000 Subject: [ath9k-devel] AuthSAE rekeying issues with ATH9K In-Reply-To: References: <0b4e57144856409f996b9445e9c34a77@nldataex01.ad.fugro.com> Message-ID: <29a93467c2144fd5984435bcee0ebb87@nldataex01.ad.fugro.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi Adrian, I have a patch which does what you want, but that did not fix the issue. This basically reads back then writes the key material for the MIC and the TKIP. See replumb_did_not_work.diff, attached. I tried the replumbing in ath9k_cmn_rx_skb_postprocess(), which is in drivers/net/wireless/ath/ath9k/common.c. That was not very successful either. Lastly I tried ath_rx_tasklet in drivers/net/wireless/ath/ath9k/recv.c. This function actually invokes the ath9k_cmn_rx_skb_postprocess() function. I'm guessing that these registers should not be written at a whim, but that needs an understanding of the chips workings that I lack. I had wanted to keep track of the NL80211_STA_INFO_RX_DROP_MISC, which seems to radically increase when things go wrong (mind, it also increases on a working link sometimes). This variable seems to be derived from flags set in the ath9k driver, which are decoded by the mac80211 layer. Thus keeping track on a per-station level proved to be tricky. As mentioned before, a patch that did fix the issue was resetting the chip when a key was installed. This caused a lot of packet loss and rekeying to happen. That's here: https://github.com/cozybit/authsae/files/347910/ath9k-install_key-buckshot.diff.txt. Thanks, Michel Stam -------------- next part -------------- An embedded message was scrubbed... From: Adrian Chadd Subject: Re: [ath9k-devel] AuthSAE rekeying issues with ATH9K Date: Wed, 13 Jul 2016 20:41:17 +0000 Size: 5497 Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160714/3b776627/attachment.eml -------------- next part -------------- A non-text attachment was scrubbed... Name: replumb_did_not_work.diff Type: application/octet-stream Size: 4369 bytes Desc: replumb_did_not_work.diff Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160714/3b776627/attachment.obj