<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/drivers/net/wireless/mediatek/mt76/debugfs.c, branch rust-6.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=rust-6.8</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=rust-6.8'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2023-09-30T18:03:05Z</updated>
<entry>
<title>wifi: mt76: Drop unnecessary error check for debugfs_create_dir()</title>
<updated>2023-09-30T18:03:05Z</updated>
<author>
<name>Jinjie Ruan</name>
<email>ruanjinjie@huawei.com</email>
</author>
<published>2023-09-03T03:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=1f39e1d95a210ac98422b5111962f9bb9f2428a4'/>
<id>urn:sha1:1f39e1d95a210ac98422b5111962f9bb9f2428a4</id>
<content type='text'>
debugfs_create_dir() returns ERR_PTR and never return NULL.

As Russell suggested, this patch removes the error checking for
debugfs_create_dir(). This is because the DebugFS kernel API is developed
in a way that the caller can safely ignore the errors that occur during
the creation of DebugFS nodes. The debugfs APIs have a IS_ERR() judge in
start_creating() which can handle it gracefully. So these checks are
unnecessary.

Fixes: 17f1de56df05 ("mt76: add common code shared between multiple chipsets")
Signed-off-by: Jinjie Ruan &lt;ruanjinjie@huawei.com&gt;
Suggested-by: Russell King (Oracle) &lt;linux@armlinux.org.uk&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: move leds struct in mt76_phy</title>
<updated>2022-12-09T15:45:39Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-12-07T16:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=3abd46ddf80a4f1bbe22372b9b808f12dfe2602b'/>
<id>urn:sha1:3abd46ddf80a4f1bbe22372b9b808f12dfe2602b</id>
<content type='text'>
Move leds struct in mt76_phy in order to have leds associated to phy
(e.g. in dbdc mode) instead of per device.

Tested-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
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: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>wifi: mt76: move leds field in leds struct</title>
<updated>2022-12-09T15:45:39Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2022-12-07T16:19:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=a00b791026920c3dd2ddcf4fb730ccf6db961627'/>
<id>urn:sha1:a00b791026920c3dd2ddcf4fb730ccf6db961627</id>
<content type='text'>
This is a preliminary patch to support per-phy leds.

Tested-by: Frank Wunderlich &lt;frank-w@public-files.de&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: move mt76_rate_power from core to mt76x02 driver code</title>
<updated>2022-12-01T16:29:12Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2022-09-28T08:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=b376d96362d815331dff0c498a338ebe4c8c5bde'/>
<id>urn:sha1:b376d96362d815331dff0c498a338ebe4c8c5bde</id>
<content type='text'>
Its layout and code is mt76x02 specific

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>mt76: debugfs: fix queue reporting for mt76-usb</title>
<updated>2021-12-19T14:23:53Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2021-11-08T10:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=eae7df016c30468e09481a75b1339f0ab5ece222'/>
<id>urn:sha1:eae7df016c30468e09481a75b1339f0ab5ece222</id>
<content type='text'>
Fix number of rx-queued frames reported by mt76_usb driver.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Fixes: 2d8be76c1674 ("mt76: debugfs: improve queue node readability")
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: remove variable set but not used</title>
<updated>2021-12-13T14:56:03Z</updated>
<author>
<name>Yang Li</name>
<email>yang.lee@linux.alibaba.com</email>
</author>
<published>2021-12-13T09:54:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=93d576f54e0f697c7b54f4ddd718e68ccc52c4f2'/>
<id>urn:sha1:93d576f54e0f697c7b54f4ddd718e68ccc52c4f2</id>
<content type='text'>
The code that uses variable queued has been removed,
and "mt76_is_usb(dev) ? q-&gt;ndesc - q-&gt;queued : q-&gt;queued"
didn't do anything, so all they should be removed as well.

Eliminate the following clang warnings:
drivers/net/wireless/mediatek/mt76/debugfs.c:77:9: warning: variable
‘queued’ set but not used.

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Fixes: 2d8be76c1674 ("mt76: debugfs: improve queue node readability")
Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mt76: rely on phy pointer in mt76_register_debugfs_fops routine signature</title>
<updated>2021-10-20T08:36:54Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2021-10-11T10:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=3263039d757c7e27c0cd287a9df80a8b85edfb79'/>
<id>urn:sha1:3263039d757c7e27c0cd287a9df80a8b85edfb79</id>
<content type='text'>
This is a preliminary patch to create a mt76 debugfs subir for ext-phy.

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: debugfs: improve queue node readability</title>
<updated>2021-10-20T08:36:50Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2021-09-25T13:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=2d8be76c16746f1c90f4a01c188b6aad190b747e'/>
<id>urn:sha1:2d8be76c16746f1c90f4a01c188b6aad190b747e</id>
<content type='text'>
Improve {xmit,rx}-queue debugfs node readability

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: overwrite default reg_ops if necessary</title>
<updated>2021-10-20T08:36:33Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2021-08-08T19:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=f6e1f59885dae5a2553f8bbd328be2cb1c80ccb2'/>
<id>urn:sha1:f6e1f59885dae5a2553f8bbd328be2cb1c80ccb2</id>
<content type='text'>
Introduce mt76_register_debugfs_fops routine in order to
define per-driver regs file operations and make sure the
device is up before reading or writing its registers

Fixes: 1d8efc741df8 ("mt76: mt7921: introduce Runtime PM support")
Fixes: de5ff3c9d1a2 ("mt76: mt7615: introduce pm_power_save delayed work")
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: debugfs: introduce napi_threaded node</title>
<updated>2021-04-21T18:55:56Z</updated>
<author>
<name>Lorenzo Bianconi</name>
<email>lorenzo@kernel.org</email>
</author>
<published>2021-03-15T21:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=fdc088a7f4b0fe5204995b9c236e338c200cc44c'/>
<id>urn:sha1:fdc088a7f4b0fe5204995b9c236e338c200cc44c</id>
<content type='text'>
Introduce napi_threaded debugfs knob in order to enable/disable NAPI
threaded support

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