<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/key.c, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-03-04T13:31:28Z</updated>
<entry>
<title>wifi: mac80211: add link id to ieee80211_gtk_rekey_add()</title>
<updated>2024-03-04T13:31:28Z</updated>
<author>
<name>Shaul Triebitz</name>
</author>
<published>2024-02-28T08:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04577bfa99ac8cfb7a43dbbba09584e0b1086cee'/>
<id>urn:sha1:04577bfa99ac8cfb7a43dbbba09584e0b1086cee</id>
<content type='text'>
In MLO, we need the link id in the GTK key to be given by
the driver after rekeying in wowlan, so add that.

Signed-off-by: Shaul Triebitz &lt;shaul.triebitz@intel.com&gt;
Reviewed-by: Miriam Rachel Korenblit &lt;miriam.rachel.korenblit@intel.com&gt;
Link: https://msgid.link/20240228094500.ce1bfc83a680.I43a6f8ab2804ee07116a37d5b9ec601b843464b1@changeid
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: add support for SPP A-MSDUs</title>
<updated>2024-01-26T08:39:49Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2024-01-02T19:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b220ed8b2172fd8edb22a62a5c3a9a9c9f2b6bd'/>
<id>urn:sha1:3b220ed8b2172fd8edb22a62a5c3a9a9c9f2b6bd</id>
<content type='text'>
If software crypto is used, simply add support for SPP A-MSDUs
(and use it whenever enabled as required by the cfg80211 API).

If hardware crypto is used, leave it up to the driver to set
the NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT flag and then check
sta-&gt;spp_amsdu or the IEEE80211_KEY_FLAG_SPP_AMSDU key flag.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Daniel Gabay &lt;daniel.gabay@intel.com&gt;
Reviewed-by: Gregory Greenman &lt;gregory.greenman@intel.com&gt;
Signed-off-by: Miri Korenblit &lt;miriam.rachel.korenblit@intel.com&gt;
Link: https://msgid.link/20240102213313.b8ada4514e2b.I1ac25d5f158165b5a88062a5a5e4c4fbeecf9a5d@changeid
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: fix another key installation error path</title>
<updated>2023-10-23T10:29:54Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-10-20T07:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5dfb9416b6eecb19a3ee0277b0432aa0f9b9f7c'/>
<id>urn:sha1:e5dfb9416b6eecb19a3ee0277b0432aa0f9b9f7c</id>
<content type='text'>
Due to overlapping changes and merges, another error
path ended up broken. Fix this one as well.

Reported-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge wireless into wireless-next</title>
<updated>2023-10-06T14:08:47Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-10-05T20:57:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d6904bf26b96ef087514cb7a8c50b62a4911c99'/>
<id>urn:sha1:7d6904bf26b96ef087514cb7a8c50b62a4911c99</id>
<content type='text'>
Resolve several conflicts, mostly between changes/fixes in
wireless and the locking rework in wireless-next. One of
the conflicts actually shows a bug in wireless that we'll
want to fix separately.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: fix potential key leak</title>
<updated>2023-09-25T06:40:07Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-09-19T06:34:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d097ae01ebd48adc028aebcf760117a5317975dc'/>
<id>urn:sha1:d097ae01ebd48adc028aebcf760117a5317975dc</id>
<content type='text'>
When returning from ieee80211_key_link(), the key needs to
have been freed or successfully installed. This was missed
in a number of error paths, fix it.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: fix potential key use-after-free</title>
<updated>2023-09-25T06:40:04Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-09-19T06:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31db78a4923ef5e2008f2eed321811ca79e7f71b'/>
<id>urn:sha1:31db78a4923ef5e2008f2eed321811ca79e7f71b</id>
<content type='text'>
When ieee80211_key_link() is called by ieee80211_gtk_rekey_add()
but returns 0 due to KRACK protection (identical key reinstall),
ieee80211_gtk_rekey_add() will still return a pointer into the
key, in a potential use-after-free. This normally doesn't happen
since it's only called by iwlwifi in case of WoWLAN rekey offload
which has its own KRACK protection, but still better to fix, do
that by returning an error code and converting that to success on
the cfg80211 boundary only, leaving the error for bad callers of
ieee80211_gtk_rekey_add().

Reported-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Fixes: fdf7cb4185b6 ("mac80211: accept key reinstall without changing anything")
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: remove ampdu_mlme.mtx</title>
<updated>2023-09-11T09:27:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-08-28T12:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=463559b7c3fe5fab1a4b60cd3454ef84a5dc51b8'/>
<id>urn:sha1:463559b7c3fe5fab1a4b60cd3454ef84a5dc51b8</id>
<content type='text'>
We now hold the wiphy mutex everywhere that we use or
needed the A-MPDU locking, so we don't need this mutex
any more. Remove it.

Most of this change was done automatically with spatch.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: remove key_mtx</title>
<updated>2023-09-11T09:27:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-08-28T12:00:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a8b665e6bcc3d554beb0d7cc1e4fd78dd94b55d'/>
<id>urn:sha1:2a8b665e6bcc3d554beb0d7cc1e4fd78dd94b55d</id>
<content type='text'>
We now hold the wiphy mutex everywhere that we use or
needed the key_mtx, so we don't need this mutex any
more. Remove it.

Most of this change was done automatically with spatch.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: remove sta_mtx</title>
<updated>2023-09-11T09:27:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-08-28T12:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d3acf4311a0401e3e97c2f2302256cd9d7f5692'/>
<id>urn:sha1:4d3acf4311a0401e3e97c2f2302256cd9d7f5692</id>
<content type='text'>
We now hold the wiphy mutex everywhere that we use or
needed the sta_mtx, so we don't need this mutex any
more. Remove it.

Most of this change was done automatically with spatch.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mac80211: move key tailroom work to wiphy work</title>
<updated>2023-09-11T09:27:20Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2023-08-28T11:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3208fb739e522fcae7cb8342ac82ebb45d32a2b'/>
<id>urn:sha1:e3208fb739e522fcae7cb8342ac82ebb45d32a2b</id>
<content type='text'>
This way we hold the wiphy mutex there, as a step towards
removing some of the additional locks we have.

Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
</feed>
