<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/mediatek/mt76/mcu.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-07-11T11:40:03Z</updated>
<entry>
<title>mt76: add len parameter to __mt76_mcu_msg_alloc signature</title>
<updated>2022-07-11T11:40:03Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-06-30T12:55:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b146f238d1200f975b5f6d833ef70dab4f4474d4'/>
<id>urn:sha1:b146f238d1200f975b5f6d833ef70dab4f4474d4</id>
<content type='text'>
Introduce len to __mt76_mcu_msg_alloc signature in order to add the
capability to specify two different value for allocation and copy length.

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: add gfp to mt76_mcu_msg_alloc signature</title>
<updated>2022-05-13T07:39:35Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-05-11T23:06:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a0a2034e2da0013347cd4c796ea04b5aa14f3854'/>
<id>urn:sha1:a0a2034e2da0013347cd4c796ea04b5aa14f3854</id>
<content type='text'>
Introduce __mt76_mcu_msg_alloc utility routine in order to specify gfp
flags for mcu message allocation.

Acked-by: Sean Wang &lt;sean.wang@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: drop MCU header size from buffer size in __mt76_mcu_send_firmware</title>
<updated>2021-10-20T08:36:49Z</updated>
<author>
<name>Sean Wang</name>
<email>sean.wang@mediatek.com</email>
</author>
<published>2021-09-17T23:54:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5b8f1840c3e11e5422f395a0acb0bbb1ba5f889f'/>
<id>urn:sha1:5b8f1840c3e11e5422f395a0acb0bbb1ba5f889f</id>
<content type='text'>
Each firmware piece with mt7915 and mt7921 do not have the MCU header to
reroute the packet to the internal RAM. So we do not need to consider the
MCU header size in __mt76_mcu_send_firmware.
Move the MCU header overhead calculation to mt76_mcu_send_firmware (for
older chipsets)

Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Fixes: 1c099ab44727 ("mt76: mt7921: add MCU support")
Signed-off-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: introduce __mt76_mcu_send_firmware routine</title>
<updated>2021-10-20T08:36:49Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2021-09-15T15:07:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=215a2efae38fc75e847007f7c189b2e2d5850549'/>
<id>urn:sha1:215a2efae38fc75e847007f7c189b2e2d5850549</id>
<content type='text'>
Introduce __mt76_mcu_send_firmware routine to specify mcu message max
length. This is a preliminary patch to support mt7921s driver.

Co-developed-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Signed-off-by: Sean Wang &lt;sean.wang@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: move mcu queues to mt76_dev q_mcu array</title>
<updated>2020-12-04T13:31:15Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2020-11-11T13:47:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e637763b606b7a4512e4324529170b193cbe2848'/>
<id>urn:sha1:e637763b606b7a4512e4324529170b193cbe2848</id>
<content type='text'>
Move mcu queue to a dedicated array q_mcu in mt76_dev structure.
This is a preliminary patch to move data queues in mt76_phy and properly
support dbdc

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: dma: rely on mt76_queue in mt76_dma_tx_cleanup signature</title>
<updated>2020-12-04T13:31:14Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2020-11-11T13:47:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e5655492e33c2e6b83ddb07c75fe91a64f07b8bc'/>
<id>urn:sha1:e5655492e33c2e6b83ddb07c75fe91a64f07b8bc</id>
<content type='text'>
This is a preliminary patch to move data queues in mt76_phy and properly
support dbdc

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: move mt76_mcu_send_firmware in common module</title>
<updated>2020-12-04T13:31:11Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2020-10-14T10:03:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3cb43b66060a5620cb1878668740c799235ad463'/>
<id>urn:sha1:3cb43b66060a5620cb1878668740c799235ad463</id>
<content type='text'>
Move mt76_mcu_send_firmware routine in common code since it is actually
shared between mt7615, mt7663, mt7603 and mt7915 devices

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: implement functions to get the response skb for MCU calls</title>
<updated>2020-12-04T12:46:15Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-09-30T03:03:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ae5ad6272d25775944e7cbab15a5020107bab56e'/>
<id>urn:sha1:ae5ad6272d25775944e7cbab15a5020107bab56e</id>
<content type='text'>
Can be used by the caller to get the response data directly instead of using the
hack of storing the result in internal data structures from .mcu_parse_response

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: make mcu_ops-&gt;mcu_send_msg optional</title>
<updated>2020-12-04T12:46:15Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-09-30T02:46:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=64537a02131712a3b2f596c8a5785a8f3c0b6c47'/>
<id>urn:sha1:64537a02131712a3b2f596c8a5785a8f3c0b6c47</id>
<content type='text'>
Remove it from mt7615 and mt7915 and implement it in core code instead

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: move waiting and locking out of mcu_ops-&gt;mcu_skb_send_msg</title>
<updated>2020-12-04T12:46:15Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2020-09-30T02:35:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e452c6eb55fbfd21eef6e95f63a0265655d5b677'/>
<id>urn:sha1:e452c6eb55fbfd21eef6e95f63a0265655d5b677</id>
<content type='text'>
This removes some code duplication and prepares the code for making
the MCU API more flexible

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