[ath9k-devel] AuthSAE rekeying issues with ATH9K
Stam, Michel [FINT] <[email protected]> Thu, 14 Jul 2016 08:34:57 +0000
| Newsgroups | org.ath9k.lists.ath9k-devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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