<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/net/wireless/ath/key.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/net/wireless/ath/key.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/net/wireless/ath/key.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2020-12-17T06:51:17Z</updated>
<entry>
<title>ath: Modify ath_key_delete() to not need full key entry</title>
<updated>2020-12-17T06:51:17Z</updated>
<author>
<name>Jouni Malinen</name>
<email>jouni@codeaurora.org</email>
</author>
<published>2020-12-14T17:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=144cd24dbc36650a51f7fe3bf1424a1432f1f480'/>
<id>urn:sha1:144cd24dbc36650a51f7fe3bf1424a1432f1f480</id>
<content type='text'>
tkip_keymap can be used internally to avoid the reference to key-&gt;cipher
and with this, only the key index value itself is needed. This allows
ath_key_delete() call to be postponed to be handled after the upper
layer STA and key entry have already been removed. This is needed to
make ath9k key cache management safer.

Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201214172118.18100-5-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath: Export ath_hw_keysetmac()</title>
<updated>2020-12-17T06:51:14Z</updated>
<author>
<name>Jouni Malinen</name>
<email>jouni@codeaurora.org</email>
</author>
<published>2020-12-14T17:21:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d2d3e36498dd8e0c83ea99861fac5cf9e8671226'/>
<id>urn:sha1:d2d3e36498dd8e0c83ea99861fac5cf9e8671226</id>
<content type='text'>
ath9k is going to use this for safer management of key cache entries.

Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201214172118.18100-4-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath: Use safer key clearing with key cache entries</title>
<updated>2020-12-17T06:51:07Z</updated>
<author>
<name>Jouni Malinen</name>
<email>jouni@codeaurora.org</email>
</author>
<published>2020-12-14T17:21:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=56c5485c9e444c2e85e11694b6c44f1338fc20fd'/>
<id>urn:sha1:56c5485c9e444c2e85e11694b6c44f1338fc20fd</id>
<content type='text'>
It is possible for there to be pending frames in TXQs with a reference
to the key cache entry that is being deleted. If such a key cache entry
is cleared, those pending frame in TXQ might get transmitted without
proper encryption. It is safer to leave the previously used key into the
key cache in such cases. Instead, only clear the MAC address to prevent
RX processing from using this key cache entry.

This is needed in particularly in AP mode where the TXQs cannot be
flushed on station disconnection. This change alone may not be able to
address all cases where the key cache entry might get reused for other
purposes immediately (the key cache entry should be released for reuse
only once the TXQs do not have any remaining references to them), but
this makes it less likely to get unprotected frames and the more
complete changes may end up being significantly more complex.

Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201214172118.18100-2-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath: Let user know which keycache method is complaining.</title>
<updated>2013-04-08T19:28:37Z</updated>
<author>
<name>Ben Greear</name>
<email>greearb@candelatech.com</email>
</author>
<published>2013-04-01T22:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fedf1d809cb05662d57c447dbb1559f3f563bf4f'/>
<id>urn:sha1:fedf1d809cb05662d57c447dbb1559f3f563bf4f</id>
<content type='text'>
Should make the warning messages more useful.

Signed-off-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>ath9k: fix dynamic WEP related regression</title>
<updated>2012-06-25T19:14:13Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-06-23T17:23:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bed3d9c0b71f9afbfec905cb6db3b9f16be29d4d'/>
<id>urn:sha1:bed3d9c0b71f9afbfec905cb6db3b9f16be29d4d</id>
<content type='text'>
commit 7a532fe7131216a02c81a6c1b1f8632da1195a58
ath9k_hw: fix interpretation of the rx KeyMiss flag

This commit used the rx key miss indication to detect packets that were
passed from the hardware without being decrypted, however it seems that
this bit is not only undefined in the static WEP case, but also for
dynamically allocated WEP keys. This caused a regression when using
WEP-LEAP.

This patch fixes the regression by keeping track of which key indexes
refer to CCMP keys and only using the key miss indication for those.

Reported-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>ath: Convert ath_dbg(bar, ATH_DBG_&lt;FOO&gt;, to ath_dbg(bar, FOO</title>
<updated>2011-12-19T19:35:31Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-12-15T22:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d2182b69dcb6a68b1ef6070b2efd094e13dea3f1'/>
<id>urn:sha1:d2182b69dcb6a68b1ef6070b2efd094e13dea3f1</id>
<content type='text'>
Add ATH_DBG_ to macros to shorten the uses and
reduce the line count.

Coalesce ath_dbg formats.
Add missing spaces to coalesced formats.
Add missing newline terminations to ath_dbg formats.
Align ath_dbg arguments where appropriate.
Standardize ath_dbg formats without periods.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE</title>
<updated>2011-10-31T23:31:08Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-05-27T20:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ee40fa0656a730491765545ff7550f3c1ceb0fbc'/>
<id>urn:sha1:ee40fa0656a730491765545ff7550f3c1ceb0fbc</id>
<content type='text'>
These were getting the macros from an implicit module.h
include via device.h, but we are planning to clean that up.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;

drivers/net: Add export.h to wireless/brcm80211/brcmfmac/bcmsdh.c

This relatively recently added file uses EXPORT_SYMBOL and hence
needs export.h included so that it is compatible with the module.h
split up work.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>ath: use get_unaligned_le{16,32} in ath_hw_keysetmac()</title>
<updated>2011-07-18T18:29:41Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2011-07-15T23:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d47d78dff4d6d72eec59dcdf0f6dd44064088112'/>
<id>urn:sha1:d47d78dff4d6d72eec59dcdf0f6dd44064088112</id>
<content type='text'>
Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>ath9k: assign keycache slots to unencrypted stations</title>
<updated>2011-04-19T19:38:06Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2011-04-17T21:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=93ae2dd2230393566738a5f211ffbaa33b056d56'/>
<id>urn:sha1:93ae2dd2230393566738a5f211ffbaa33b056d56</id>
<content type='text'>
Frame filtering relies on having a valid destination index (keycache slot),
to keep track of the destination. Assigning a keycache slot (configured
to unencrypted, with no key data attached) improves powersave handling in
AP mode with no encryption.
The dummy keycache entry for a station is cleared, when a real key gets
added.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>ath: Speedup key set/reset ops for HTC driver</title>
<updated>2011-03-30T18:15:11Z</updated>
<author>
<name>Rajkumar Manoharan</name>
<email>rmanoharan@atheros.com</email>
</author>
<published>2011-03-15T14:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b0a9ede228175c25f76314a028d305fd5b2de427'/>
<id>urn:sha1:b0a9ede228175c25f76314a028d305fd5b2de427</id>
<content type='text'>
By enabling buffered register write for ath9k_htc driver
avoids unnecessary dissociation while rekeying phase under
heavy traffic exchange.

Signed-off-by: Rajkumar Manoharan &lt;rmanoharan@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
