<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/mediatek/mt76/tx.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-09-30T18:03:03Z</updated>
<entry>
<title>wifi: mt76: fix race condition related to checking tx queue fill status</title>
<updated>2023-09-30T18:03:03Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2023-08-29T08:39:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0335c034e7265d36d956e806f33202c94a8a9860'/>
<id>urn:sha1:0335c034e7265d36d956e806f33202c94a8a9860</id>
<content type='text'>
When drv_tx calls race against local tx scheduling, the queue fill status checks
can potentially race, leading to dma queue entries being overwritten.
Fix this by deferring packets from drv_tx calls to the tx worker, in order to
ensure that all regular queue tx comes from the same context.

Reported-by: Ryder Lee &lt;Ryder.Lee@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: report non-binding skb tx rate when WED is active</title>
<updated>2023-07-25T19:59:40Z</updated>
<author>
<name>Peter Chiu</name>
<email>chui-hao.chiu@mediatek.com</email>
</author>
<published>2023-05-10T04:53:19Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e890c3cf7897b1d07b19124ad2e42c687b3b99e5'/>
<id>urn:sha1:e890c3cf7897b1d07b19124ad2e42c687b3b99e5</id>
<content type='text'>
AQL relies on accurate tx rate reporting, so add this patch for
non-binding skb rate when WED is enabled.

Co-developed-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Peter Chiu &lt;chui-hao.chiu@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: rework tx bytes counting when WED is active</title>
<updated>2023-07-25T19:59:40Z</updated>
<author>
<name>Peter Chiu</name>
<email>chui-hao.chiu@mediatek.com</email>
</author>
<published>2023-05-10T04:53:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f39d499345dddb8382986fd5a2a0e84a63b1a6d5'/>
<id>urn:sha1:f39d499345dddb8382986fd5a2a0e84a63b1a6d5</id>
<content type='text'>
Concurrent binding/non-binding skbs could be handled anywhere which leads
to mixed byte counting, so switch to use PPDU TxS reporting regardless Tx
paths when WED is active.

Fixes: 43eaa3689507 ("wifi: mt76: add PPDU based TxS support for WED device")
Co-developed-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Peter Chiu &lt;chui-hao.chiu@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: add missing locking to protect against concurrent rx/status calls</title>
<updated>2023-04-17T13:39:05Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2023-04-14T12:10:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5b8ccdfb943f6a03c676d2ea816dd38c149e920b'/>
<id>urn:sha1:5b8ccdfb943f6a03c676d2ea816dd38c149e920b</id>
<content type='text'>
According to the documentation, ieee80211_rx_list must not run concurrently
with ieee80211_tx_status (or its variants).

Cc: stable@vger.kernel.org
Fixes: 88046b2c9f6d ("mt76: add support for reporting tx status with skb")
Reported-by: Brian Coverstone &lt;brian@mainsequence.net&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: ieee80211: correctly mark FTM frames non-bufferable</title>
<updated>2023-04-13T14:32:02Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2023-03-31T14:59:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2c9abe653bc5134eeab411c46dde008d8a1c37b0'/>
<id>urn:sha1:2c9abe653bc5134eeab411c46dde008d8a1c37b0</id>
<content type='text'>
The checks of whether or not a frame is bufferable were not
taking into account that some action frames aren't, such as
FTM. Check this, which requires some changes to the function
ieee80211_is_bufferable_mmpdu() since we need the whole skb
for the checks now.

Reviewed-by: Ilan Peer &lt;ilan.peer@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: handle possible mt76_rx_token_consume failures</title>
<updated>2023-01-16T15:27:16Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2023-01-13T10:58:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e5c3ac895750b39ef53b84ff4814617ecd69d556'/>
<id>urn:sha1:e5c3ac895750b39ef53b84ff4814617ecd69d556</id>
<content type='text'>
Take into account possible error conditions of mt76_rx_token_consume
routine in mt7915_mmio_wed_init_rx_buf() and mt76_dma_add_buf()

Fixes: cd372b8c99c5 ("wifi: mt76: add WED RX support to mt76_dma_{add,get}_buf")
Fixes: 4f831d18d12d ("wifi: mt76: mt7915: enable WED RX support")
Signed-off-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry picked from commit 96f134dc19645be4994e89a2f68fa89309becbee)
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20230113105848.34642-2-nbd@nbd.name
</content>
</entry>
<entry>
<title>wifi: mt76: introduce rxwi and rx token utility routines</title>
<updated>2022-12-01T16:29:14Z</updated>
<author>
<name>Sujuan Chen</name>
<email>sujuan.chen@mediatek.com</email>
</author>
<published>2022-11-12T15:40:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2666bece0905a3e8ccb792602dbc76a63aaafe4b'/>
<id>urn:sha1:2666bece0905a3e8ccb792602dbc76a63aaafe4b</id>
<content type='text'>
This is a preliminary patch to introduce WED RX support for mt7915.

Tested-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Co-developed-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Sujuan Chen &lt;sujuan.chen@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: fix rate reporting / throughput regression on mt7915 and newer</title>
<updated>2022-10-06T05:19:04Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2022-09-27T09:38:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6b430f72b2bc14fd0ac922dda92eaa51c82e15a4'/>
<id>urn:sha1:6b430f72b2bc14fd0ac922dda92eaa51c82e15a4</id>
<content type='text'>
mt7915 and newer need to report the rate_info that's stored in wcid-&gt;rate,
since they don't fill info-&gt;status.rates.

Cc: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
Reported-by: Mikhail Gavrilov &lt;mikhail.v.gavrilov@gmail.com&gt;
Link: https://lore.kernel.org/all/CABXGCsP0znm9pS-MiKtyxTXR7XiyFVqen0qzNpicGHDZKCzbwg@mail.gmail.com/
Fixes: 44fa75f207d8 ("mac80211: extend current rate control tx status API")
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Tested-by: Mikhail Gavrilov &lt;mikhail.v.gavrilov@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/20220927093823.6007-1-nbd@nbd.name
</content>
</entry>
<entry>
<title>mt76: convert MT_TX_HW_QUEUE_EXT_PHY to MT_TX_HW_QUEUE_PHY</title>
<updated>2022-07-11T11:40:03Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-07-04T07:02:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a062f00173913ec244053a7fac35544e917bd6f9'/>
<id>urn:sha1:a062f00173913ec244053a7fac35544e917bd6f9</id>
<content type='text'>
Report phy_indx in tx_info-&gt;hw_queue. This is a preliminary patch to add
newer chipset support

Co-developed-by: Bo Jiao &lt;bo.jiao@mediatek.com&gt;
Signed-off-by: Bo Jiao &lt;bo.jiao@mediatek.com&gt;
Signed-off-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: introduce phys array in mt76_dev structure</title>
<updated>2022-07-11T11:40:03Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-07-04T07:02:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=dc44c45c8cd062292c45626b5c941397a0ff5ead'/>
<id>urn:sha1:dc44c45c8cd062292c45626b5c941397a0ff5ead</id>
<content type='text'>
Introduce phys array in mt76_dev structure to reference mt76_phy
supported by the chipset. This is a preliminary patch to introduce
newer chipset support.

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