<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wireless/mediatek, 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-10-10T10:00:22Z</updated>
<entry>
<title>wifi: mt76: mt7915: hold dev-&gt;mt76.mutex while disabling tx worker</title>
<updated>2024-10-10T10:00:22Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-08-27T09:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f1e70b5de01568bc2364a4b7879779b4c31fb8f'/>
<id>urn:sha1:3f1e70b5de01568bc2364a4b7879779b4c31fb8f</id>
<content type='text'>
[ Upstream commit 8f7152f10cb434f954aeff85ca1be9cd4d01912b ]

Prevent racing against other functions disabling the same worker

Link: https://patch.msgid.link/20240827093011.18621-17-nbd@nbd.name
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: add dummy HW offload of IEEE 802.11 fragmentation</title>
<updated>2024-10-10T10:00:22Z</updated>
<author>
<name>Benjamin Lin</name>
</author>
<published>2024-08-27T09:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6d1b64eedbf904d1fee90a0fca9eb5d61d540d9'/>
<id>urn:sha1:a6d1b64eedbf904d1fee90a0fca9eb5d61d540d9</id>
<content type='text'>
[ Upstream commit f2cc859149240d910fdc6405717673e0b84bfda8 ]

Currently, CONNAC2 series do not support encryption for fragmented Tx frames.
Therefore, add dummy function mt7915_set_frag_threshold() to prevent SW
IEEE 802.11 fragmentation.

Signed-off-by: Benjamin Lin &lt;benjamin-jw.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20240827093011.18621-16-nbd@nbd.name
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: disable tx worker during tx BA session enable/disable</title>
<updated>2024-10-10T10:00:15Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-08-27T09:29:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=846d5bb4c1e7bcbe3887b16a67c379c545e07d3c'/>
<id>urn:sha1:846d5bb4c1e7bcbe3887b16a67c379c545e07d3c</id>
<content type='text'>
[ Upstream commit 256cbd26fbafb30ba3314339106e5c594e9bd5f9 ]

Avoids firmware race condition.

Link: https://patch.msgid.link/20240827093011.18621-7-nbd@nbd.name
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7615: check devm_kasprintf() returned value</title>
<updated>2024-10-04T14:33:37Z</updated>
<author>
<name>Ma Ke</name>
</author>
<published>2024-09-05T01:47:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e0b04c335b13ed9b124f6d48c15943f85ea05ec4'/>
<id>urn:sha1:e0b04c335b13ed9b124f6d48c15943f85ea05ec4</id>
<content type='text'>
commit 5acdc432f832d810e0d638164c393b877291d9b4 upstream.

devm_kasprintf() can return a NULL pointer on failure but this returned
value is not checked. Fix this lack and check the returned value.

Found by code review.

Cc: stable@vger.kernel.org
Fixes: 0bb4e9187ea4 ("mt76: mt7615: fix hwmon temp sensor mem use-after-free")
Signed-off-by: Ma Ke &lt;make24@iscas.ac.cn&gt;
Reviewed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Link: https://patch.msgid.link/20240905014753.353271-1-make24@iscas.ac.cn
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc</title>
<updated>2024-10-04T14:33:37Z</updated>
<author>
<name>Ming Yen Hsieh</name>
</author>
<published>2024-08-19T01:53:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb60020cb5b3ea4715e538c77e745c16516c5656'/>
<id>urn:sha1:fb60020cb5b3ea4715e538c77e745c16516c5656</id>
<content type='text'>
commit 9679ca7326e52282cc923c4d71d81c999cb6cd55 upstream.

Due to the lack of checks on the clc array, if the firmware supports
more clc configuration, it will cause illegal memory access.

Cc: stable@vger.kernel.org
Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Ming Yen Hsieh &lt;mingyen.hsieh@mediatek.com&gt;
Link: https://patch.msgid.link/20240819015334.14580-1-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he</title>
<updated>2024-10-04T14:33:37Z</updated>
<author>
<name>Ma Ke</name>
</author>
<published>2024-08-13T08:12:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=174c803b432596cdd7dd3ec5e0ec52b561969ee2'/>
<id>urn:sha1:174c803b432596cdd7dd3ec5e0ec52b561969ee2</id>
<content type='text'>
commit f503ae90c7355e8506e68498fe84c1357894cd5b upstream.

Fix the NULL pointer dereference in mt7996_mcu_sta_bfer_he
routine adding an sta interface to the mt7996 driver.

Found by code review.

Cc: stable@vger.kernel.org
Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Signed-off-by: Ma Ke &lt;make24@iscas.ac.cn&gt;
Link: https://patch.msgid.link/20240813081242.3991814-1-make24@iscas.ac.cn
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: check devm_kasprintf() returned value</title>
<updated>2024-10-04T14:33:37Z</updated>
<author>
<name>Ma Ke</name>
</author>
<published>2024-09-03T01:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1eaca38ad2f4d2af982bf814ca39ff67af345225'/>
<id>urn:sha1:1eaca38ad2f4d2af982bf814ca39ff67af345225</id>
<content type='text'>
commit 267efeda8c55f30e0e7c5b7fd03dea4efec6916c upstream.

devm_kasprintf() can return a NULL pointer on failure but this returned
value is not checked. Fix this lack and check the returned value.

Found by code review.

Cc: stable@vger.kernel.org
Fixes: 6ae39b7c7ed4 ("wifi: mt76: mt7921: Support temp sensor")
Signed-off-by: Ma Ke &lt;make24@iscas.ac.cn&gt;
Reviewed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Link: https://patch.msgid.link/20240903014955.4145423-1-make24@iscas.ac.cn
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7921: Check devm_kasprintf() returned value</title>
<updated>2024-10-04T14:33:36Z</updated>
<author>
<name>Ma Ke</name>
</author>
<published>2024-09-03T01:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b9f8545875aa77c401fceb2b0567a1020cf19fc'/>
<id>urn:sha1:2b9f8545875aa77c401fceb2b0567a1020cf19fc</id>
<content type='text'>
commit 1ccc9e476ce76e8577ba4fdbd1f63cb3e3499d38 upstream.

devm_kasprintf() can return a NULL pointer on failure but this returned
value is not checked. Fix this lack and check the returned value.

Found by code review.

Cc: stable@vger.kernel.org
Fixes: 6ae39b7c7ed4 ("wifi: mt76: mt7921: Support temp sensor")
Signed-off-by: Ma Ke &lt;make24@iscas.ac.cn&gt;
Reviwed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Link: https://patch.msgid.link/20240903014455.4144536-1-make24@iscas.ac.cn
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7996: fix uninitialized TLV data</title>
<updated>2024-10-04T14:32:28Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-08-27T09:30:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=057ff7597e7759defc8a67529c9ce1d87e355eed'/>
<id>urn:sha1:057ff7597e7759defc8a67529c9ce1d87e355eed</id>
<content type='text'>
[ Upstream commit 9e461f4a2329109571f4b10f9bcad28d07e6ebb3 ]

Use skb_put_zero instead of skb_put

Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Link: https://patch.msgid.link/20240827093011.18621-23-nbd@nbd.name
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: fix rx filter setting for bfee functionality</title>
<updated>2024-10-04T14:32:28Z</updated>
<author>
<name>Howard Hsu</name>
</author>
<published>2024-08-27T09:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f35c96dbed5d98da2e87554eb981721bb5fbc885'/>
<id>urn:sha1:f35c96dbed5d98da2e87554eb981721bb5fbc885</id>
<content type='text'>
[ Upstream commit 6ac80fce713e875a316a58975b830720a3e27721 ]

Fix rx filter setting to prevent dropping NDPA frames. Without this
change, bfee functionality may behave abnormally.

Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Signed-off-by: Howard Hsu &lt;howard-yh.hsu@mediatek.com&gt;
Link: https://patch.msgid.link/20240827093011.18621-21-nbd@nbd.name
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
</feed>
