<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/mediatek/mt76/agg-rx.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-05-13T07:39:35Z</updated>
<entry>
<title>mt76: do not attempt to reorder received 802.3 packets without agg session</title>
<updated>2022-05-13T07:39:35Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2022-04-20T11:20:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3968a66475b40691c37b5e6c76975f699671e10e'/>
<id>urn:sha1:3968a66475b40691c37b5e6c76975f699671e10e</id>
<content type='text'>
Fixes potential latency / packet drop issues in cases where a BA session has
not (yet) been established.

Fixes: e195dad14115 ("mt76: add support for 802.3 rx frames")
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: fix rx reordering with non explicit / psmp ack policy</title>
<updated>2022-05-13T07:39:34Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2022-04-20T10:27:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f5874fc6f54e58da8afb01092286f5e18a54c55d'/>
<id>urn:sha1:f5874fc6f54e58da8afb01092286f5e18a54c55d</id>
<content type='text'>
When the QoS ack policy was set to non explicit / psmp ack, frames are treated
as not being part of a BA session, which causes extra latency on reordering.
Fix this by only bypassing reordering for packets with no-ack policy

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: report Rx timestamp</title>
<updated>2021-04-12T21:07:24Z</updated>
<author>
<name>Ryder Lee</name>
<email>ryder.lee@mediatek.com</email>
</author>
<published>2021-03-29T17:25:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0fda6d7bb5a29b241fba8d37b92567c6bec79655'/>
<id>urn:sha1:0fda6d7bb5a29b241fba8d37b92567c6bec79655</id>
<content type='text'>
Frame reception timestamp (low 32-bits) that indicates the value of the
local TSF timer value at the time the first bit of the MAC header in the
received frame (PPDU unit) arriving at the MAC.

Signed-off-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: add support for 802.3 rx frames</title>
<updated>2021-04-11T16:50:37Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-12-16T15:05:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e195dad1411594809cb955c96a7a514bcc4ad638'/>
<id>urn:sha1:e195dad1411594809cb955c96a7a514bcc4ad638</id>
<content type='text'>
Do not try to access the header when receiving them

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: add Rx stats support for radiotap</title>
<updated>2020-05-12T17:52:35Z</updated>
<author>
<name>Ryder Lee</name>
<email>ryder.lee@mediatek.com</email>
</author>
<published>2020-04-24T19:32:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=77ae1d5e13eb51651899fbfb6d7a34bc5ee7d4af'/>
<id>urn:sha1:77ae1d5e13eb51651899fbfb6d7a34bc5ee7d4af</id>
<content type='text'>
HE deivces need to add Rx radiotap header.

Signed-off-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: avoid rx reorder buffer overflow</title>
<updated>2020-05-12T17:52:35Z</updated>
<author>
<name>Ryder Lee</name>
<email>ryder.lee@mediatek.com</email>
</author>
<published>2020-04-24T19:32:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7c4f744d6703757be959f521a7a441bf34745d99'/>
<id>urn:sha1:7c4f744d6703757be959f521a7a441bf34745d99</id>
<content type='text'>
Enlarge slot to support 11ax 256 BA (256 MPDUs in an AMPDU)

Signed-off-by: Chih-Min Chen &lt;chih-min.chen@mediatek.com&gt;
Signed-off-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: clear skb pointers from rx aggregation reorder buffer during cleanup</title>
<updated>2020-02-14T09:06:02Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2019-12-13T23:15:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9379df2fd9234e3b67a23101c2370c99f6af6d77'/>
<id>urn:sha1:9379df2fd9234e3b67a23101c2370c99f6af6d77</id>
<content type='text'>
During the cleanup of the aggregation session, a rx handler (or release timer)
on another CPU might still hold a pointer to the reorder buffer and could
attempt to release some packets.
Clearing pointers during cleanup avoids a theoretical use-after-free bug here.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: use AC specific reorder timeout</title>
<updated>2020-02-14T09:06:01Z</updated>
<author>
<name>Markus Theil</name>
<email>markus.theil@tu-ilmenau.de</email>
</author>
<published>2019-12-14T09:58:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e7ec563eae04d16b5d2c4f56c3ac8254f7e4cb09'/>
<id>urn:sha1:e7ec563eae04d16b5d2c4f56c3ac8254f7e4cb09</id>
<content type='text'>
Before this patch, mt76 handled rx traffic for all TIDs equally,
when released from reorder buffer early. This patch uses an AC specific
reorder timeout, in order to release partial aggregated frames for video
ACs earlier. Voice ACs are currently not aggregated (thanks to Felix for
this hint). For example, ath10k also uses AC specific reorder timeouts
(reported by firmware in that case).

Signed-off-by: Markus Theil &lt;markus.theil@tu-ilmenau.de&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wireless/mediatek: Replace rcu_swap_protected() with rcu_replace_pointer()</title>
<updated>2019-12-12T18:20:51Z</updated>
<author>
<name>Paul E. McKenney</name>
<email>paulmck@kernel.org</email>
</author>
<published>2019-12-11T18:30:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a191c9e9f73a78e8801b5eeb3d43bbd6fd73b86f'/>
<id>urn:sha1:a191c9e9f73a78e8801b5eeb3d43bbd6fd73b86f</id>
<content type='text'>
This commit replaces the use of rcu_swap_protected() with the more
intuitively appealing rcu_replace_pointer() as a step towards removing
rcu_swap_protected().

Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=Z7-GGtM6wcvtyytXZA1+BHqta4gg6Hw@mail.gmail.com/
Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Reported-by: "Martin K. Petersen" &lt;martin.petersen@oracle.com&gt;
[ paulmck: Apply Matthias Brugger feedback. ]
Signed-off-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;
Reviewed-by: "Martin K. Petersen" &lt;martin.petersen@oracle.com&gt;
Acked-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Cc: Felix Fietkau &lt;nbd@nbd.name&gt;
Cc: Lorenzo Bianconi &lt;lorenzo.bianconi83@gmail.com&gt;
Cc: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Cc: Roy Luo &lt;royluo@google.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Cc: &lt;linux-wireless@vger.kernel.org&gt;
Cc: &lt;netdev@vger.kernel.org&gt;
Cc: &lt;linux-arm-kernel@lists.infradead.org&gt;
Cc: &lt;linux-mediatek@lists.infradead.org&gt;
</content>
</entry>
<entry>
<title>mt76: fix aggregation stop issue</title>
<updated>2019-11-20T12:23:50Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2019-10-07T10:30:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e7aaa72f4728451487d7a3fe54225796d08ab1e5'/>
<id>urn:sha1:e7aaa72f4728451487d7a3fe54225796d08ab1e5</id>
<content type='text'>
Cancel the workqueue after the tid has been cleaned up, in order to
avoid a possible rescheduling from within the work function.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
