<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/key.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-02-17T23:13:51Z</updated>
<entry>
<title>mac80211: add missing synchronize_rcu</title>
<updated>2011-02-17T23:13:51Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2011-01-03T18:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8767f2c394355cf72898f528a901040a7f36881'/>
<id>urn:sha1:a8767f2c394355cf72898f528a901040a7f36881</id>
<content type='text'>
commit d2460f4b2fa6dbdeec800414f9cf5b1fc8b71197 upstream.

commit ad0e2b5a00dbec303e4682b403bb6703d11dcdb2
Author: Johannes Berg &lt;johannes.berg@intel.com&gt;
Date:   Tue Jun 1 10:19:19 2010 +0200

    mac80211: simplify key locking

removed the synchronization against RCU and thus
opened a race window where we can use a key for
TX while it is already freed. Put a synchronisation
into the right place to close that window.

Reported-by: Jussi Kivilinna &lt;jussi.kivilinna@mbnet.fi&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;

</content>
</entry>
<entry>
<title>cfg80211/mac80211: allow per-station GTKs</title>
<updated>2010-10-06T20:30:40Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-10-05T17:39:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e31b82136d1adc7a599b6e99d3321e5831841f5a'/>
<id>urn:sha1:e31b82136d1adc7a599b6e99d3321e5831841f5a</id>
<content type='text'>
This adds API to allow adding per-station GTKs,
updates mac80211 to support it, and also allows
drivers to remove a key from hwaccel again when
this may be necessary due to multiple GTKs.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>cfg80211/mac80211: use lockdep_assert_held</title>
<updated>2010-09-16T19:46:00Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-09-15T11:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46a5ebaf02d69e26ee0f47a0b8d2d9bc619240d4'/>
<id>urn:sha1:46a5ebaf02d69e26ee0f47a0b8d2d9bc619240d4</id>
<content type='text'>
Instead of using a WARN_ON(!mutex_is_locked())
use lockdep_assert_held() which compiles away
completely when lockdep isn't enabled, and
also is a more accurate assertion since it
checks that the current thread is holding the
mutex.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: allow vendor specific cipher suites</title>
<updated>2010-08-27T17:27:07Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-08-27T11:26:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ffc2a905b1faae4c0fe39d66f0752c3a4cbb3c7'/>
<id>urn:sha1:3ffc2a905b1faae4c0fe39d66f0752c3a4cbb3c7</id>
<content type='text'>
Allow drivers to specify their own set of cipher
suites to advertise vendor-specific ciphers. The
driver is then required to implement hardware
crypto offload for it.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Juuso Oikarinen &lt;juuso.oikarinen@nokia.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>net/mac80211: Use wiphy_&lt;level&gt;</title>
<updated>2010-08-25T18:33:17Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2010-08-20T23:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0fb9a9ec27718fbf7fa3153bc94becefb716ceeb'/>
<id>urn:sha1:0fb9a9ec27718fbf7fa3153bc94becefb716ceeb</id>
<content type='text'>
Standardize logging messages from
	printk(KERN_&lt;level&gt; "%s: " fmt , wiphy_name(foo), args);
to
	wiphy_&lt;level&gt;(foo, fmt, args);

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>mac80211: move key tfm setup</title>
<updated>2010-08-16T20:45:20Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-08-10T07:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60ae0f20058d19ada94093dc3ef7ae0737597fba'/>
<id>urn:sha1:60ae0f20058d19ada94093dc3ef7ae0737597fba</id>
<content type='text'>
There's no need to keep separate if statements
for setting up the CCMP/AES-CMAC tfm structs;
move that into the existing switch statement.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: use cipher suite selectors</title>
<updated>2010-08-16T20:45:11Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-08-10T07:46:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97359d1235eaf634fe706c9faa6e40181cc95fb8'/>
<id>urn:sha1:97359d1235eaf634fe706c9faa6e40181cc95fb8</id>
<content type='text'>
Currently, mac80211 translates the cfg80211
cipher suite selectors into ALG_* values.
That isn't all too useful, and some drivers
benefit from the distinction between WEP40
and WEP104 as well. Therefore, convert it
all to use the cipher suite selectors.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Acked-by: Gertjan van Wingerde &lt;gwingerde@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: Don't squash error codes in key setup functions</title>
<updated>2010-08-16T19:26:38Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2010-08-01T16:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ac62ba7c985109868a18d959986425148481f47'/>
<id>urn:sha1:1ac62ba7c985109868a18d959986425148481f47</id>
<content type='text'>
ieee80211_add_key() currently returns -ENOMEM in case of any error,
including a missing crypto algorithm.  Change ieee80211_key_alloc()
and ieee80211_aes_{key_setup_encrypt,cmac_key_setup}() to encode
errors with ERR_PTR() rather than returning NULL, and change
ieee80211_add_key() accordingly.

Compile-tested only.

Reported-by: Marcin Owsiany &lt;porridge@debian.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: Fix key freeing to handle unlinked keys</title>
<updated>2010-07-27T18:59:58Z</updated>
<author>
<name>Jouni Malinen</name>
</author>
<published>2010-07-26T22:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32162a4dab0e6a4ca7f886a01173b5f9b80843be'/>
<id>urn:sha1:32162a4dab0e6a4ca7f886a01173b5f9b80843be</id>
<content type='text'>
Key locking simplification removed key-&gt;sdata != NULL verification from
ieee80211_key_free(). While that is fine for most use cases, there is one
path where this function can be called with an unlinked key (i.e.,
key-&gt;sdata == NULL &amp;&amp; key-&gt;local == NULL). This results in a NULL pointer
dereference with the current implementation. This is known to happen at
least with FT protocol when wpa_supplicant tries to configure the key
before association.

Avoid the issue by passing in the local pointer to
ieee80211_key_free(). In addition, do not clear the key from hw_accel
or debugfs if it has not yet been added. At least the hw_accel one could
trigger another NULL pointer dereference.

Signed-off-by: Jouni Malinen &lt;j@w1.fi&gt;
Reviewed-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: Use a separate CCMP PN receive counter for management frames</title>
<updated>2010-06-15T20:00:49Z</updated>
<author>
<name>Jouni Malinen</name>
</author>
<published>2010-06-11T17:27:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9190252c952a33efa1ceff4ef35188f8a27b81cb'/>
<id>urn:sha1:9190252c952a33efa1ceff4ef35188f8a27b81cb</id>
<content type='text'>
When management frame protection (IEEE 802.11w) is used, we must use a
separate counter for tracking received CCMP packet number for the
management frames. The previously used NUM_RX_DATA_QUEUESth queue was
shared with data frames when QoS was not used and that can cause
problems in detecting replays incorrectly for robust management frames.
Add a new counter just for robust management frames to avoid this issue.

Signed-off-by: Jouni Malinen &lt;jouni.malinen@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
