<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/mediatek/mt76/mt76.h, 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>2023-05-11T14:11:16Z</updated>
<entry>
<title>wifi: mt76: add flexible polling wait-interval support</title>
<updated>2023-05-11T14:11:16Z</updated>
<author>
<name>Deren Wu</name>
<email>deren.wu@mediatek.com</email>
</author>
<published>2023-01-14T04:56:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=82bc21981168078bdaf078b7f8fccdaa887e772e'/>
<id>urn:sha1:82bc21981168078bdaf078b7f8fccdaa887e772e</id>
<content type='text'>
[ Upstream commit 35effe6c0c24adcf0f732bb1c3d75573d4c88e63 ]

The default waiting unit is 10ms and the value is too much for
data path related control. Provide a new API mt76_poll_msec_tick()
to support different cases, such as 1ms polling waiting kick.

Reviewed-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Deren Wu &lt;deren.wu@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Stable-dep-of: c397fc1e6365 ("wifi: mt76: mt7921e: fix probe timeout after reboot")
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: do not run mt76_unregister_device() on unregistered hw</title>
<updated>2023-03-30T10:50:50Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2023-02-22T23:10:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2d34f27714c97a9786a30b3bb54944d6d8ed612f'/>
<id>urn:sha1:2d34f27714c97a9786a30b3bb54944d6d8ed612f</id>
<content type='text'>
[ Upstream commit 41130c32f3a18fcc930316da17f3a5f3bc326aa1 ]

Trying to probe a mt7921e pci card without firmware results in a
successful probe where ieee80211_register_hw hasn't been called. When
removing the driver, ieee802111_unregister_hw is called unconditionally
leading to a kernel NULL pointer dereference.
Fix the issue running mt76_unregister_device routine just for registered
hw.

Link: https://bugs.debian.org/1029116
Link: https://bugs.kali.org/view.php?id=8140
Reported-by: Stuart Hayhurst &lt;stuart.a.hayhurst@gmail.com&gt;
Fixes: 1c71e03afe4b ("mt76: mt7921: move mt7921_init_hw in a dedicated work")
Tested-by: Helmut Grohne &lt;helmut@freexian.com&gt;
Signed-off-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@kernel.org&gt;
Link: https://lore.kernel.org/r/be3457d82f4e44bb71a22b2b5db27b644a37b1e1.1677107277.git.lorenzo@kernel.org
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: fix coverity overrun-call in mt76_get_txpower()</title>
<updated>2022-12-01T16:29:14Z</updated>
<author>
<name>Deren Wu</name>
<email>deren.wu@mediatek.com</email>
</author>
<published>2022-11-27T02:35:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=03dd0d49de7db680a856fa566963bb8421f46368'/>
<id>urn:sha1:03dd0d49de7db680a856fa566963bb8421f46368</id>
<content type='text'>
Make sure the nss is valid for nss_delta array. Return zero
if the index is invalid.

Coverity message:
Event overrun-call: Overrunning callee's array of size 4 by passing
argument "n_chains" (which evaluates to 15) in call to
"mt76_tx_power_nss_delta".
int delta = mt76_tx_power_nss_delta(n_chains);

Fixes: 07cda406308b ("mt76: fix rounding issues on converting per-chain and combined txpower")
Signed-off-by: Deren Wu &lt;deren.wu@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: enable WED RX stats</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:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c6cde7b751ee6fb0d4c2216c2edd9b0b5ffee04d'/>
<id>urn:sha1:c6cde7b751ee6fb0d4c2216c2edd9b0b5ffee04d</id>
<content type='text'>
Introduce the capability to report WED RX stats to mac80211.

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: add info parameter to rx_skb signature</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:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c3137942771eceef923158980b6cccae572e81d1'/>
<id>urn:sha1:c3137942771eceef923158980b6cccae572e81d1</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: add WED RX support to mt76_dma_{add,get}_buf</title>
<updated>2022-12-01T16:29:14Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-11-12T15:40:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cd372b8c99c5a5cf6a464acebb7e4a79af7ec8ae'/>
<id>urn:sha1:cd372b8c99c5a5cf6a464acebb7e4a79af7ec8ae</id>
<content type='text'>
Introduce the capability to configure RX WED in mt76_dma_{add,get}_buf
utility routines.

Tested-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Co-developed-by: Sujuan Chen &lt;sujuan.chen@mediatek.com&gt;
Signed-off-by: Sujuan Chen &lt;sujuan.chen@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>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: move aggr_stats array in mt76_phy</title>
<updated>2022-12-01T16:29:13Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-11-02T22:29:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d107501ae881c20c1c822c8080a645f73a042c68'/>
<id>urn:sha1:d107501ae881c20c1c822c8080a645f73a042c68</id>
<content type='text'>
Move aggregation stats array per-phy instead of share it between multiple
interfaces. This is a preliminary patch to add mt7996 driver support.

Signed-off-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: mt7915: add ack signal support</title>
<updated>2022-12-01T16:29:12Z</updated>
<author>
<name>Ryder Lee</name>
<email>ryder.lee@mediatek.com</email>
</author>
<published>2022-10-14T02:57:48Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a71b648e352787db13184b9355c0b3ffc8a0824a'/>
<id>urn:sha1:a71b648e352787db13184b9355c0b3ffc8a0824a</id>
<content type='text'>
This reports signal strength of ACK packets from the peer as measured
at each interface.

Tested-by: Shurong Wen &lt;shurong.wen@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>Revert "mt76: use IEEE80211_OFFLOAD_ENCAP_ENABLED instead of MT_DRV_AMSDU_OFFLOAD"</title>
<updated>2022-12-01T16:29:12Z</updated>
<author>
<name>Ben Greear</name>
<email>greearb@candelatech.com</email>
</author>
<published>2022-10-01T14:19:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5b0fb852237622bd4f48e80079216107c2b9fc1c'/>
<id>urn:sha1:5b0fb852237622bd4f48e80079216107c2b9fc1c</id>
<content type='text'>
This reverts commit f17f4864504d754bcbf31e4c89412cdf9946c409 and adds the
MT_DRV_AMSDU_OFFLOAD flag for MT7921 USB/SDIO

The reverted commit significantly decreases performance when running
a test where two MT7915 radios have 16 station vdevs each, configured
for AC mode, and transmitting UDP traffic to AP.

Co-developed-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Reported-by: Carson Vandegriffe &lt;carson.vandegriffe@candelatech.com&gt;
Signed-off-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
