The Wake-on-LAN (WoL) functionality for the QCA807x series is identical
to that of the AT8031. WoL support for QCA807x is enabled by utilizing
the at8031_set_wol() function provided in the shared library.
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
---
drivers/net/phy/qcom/qca807x.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/phy/qcom/qca807x.c b/drivers/net/phy/qcom/qca807x.c
index 1af6b5ead74b..f946aa8e92ee 100644
--- a/drivers/net/phy/qcom/qca807x.c
+++ b/drivers/net/phy/qcom/qca807x.c
@@ -799,6 +799,8 @@ static struct phy_driver qca807x_drivers[] = {
.suspend = genphy_suspend,
.cable_test_start = qca807x_cable_test_start,
.cable_test_get_status = qca808x_cable_test_get_status,
+ .set_wol = at8031_set_wol,
+ .get_wol = at803x_get_wol,
},
{
PHY_ID_MATCH_EXACT(PHY_ID_QCA8075),
@@ -822,6 +824,8 @@ static struct phy_driver qca807x_drivers[] = {
.led_hw_is_supported = qca807x_led_hw_is_supported,
.led_hw_control_set = qca807x_led_hw_control_set,
.led_hw_control_get = qca807x_led_hw_control_get,
+ .set_wol = at8031_set_wol,
+ .get_wol = at803x_get_wol,
},
};
module_phy_driver(qca807x_drivers);
--
2.34.1
On Fri, 4 Jul 2025 13:31:15 +0800 Luo Jie wrote: > The Wake-on-LAN (WoL) functionality for the QCA807x series is identical > to that of the AT8031. WoL support for QCA807x is enabled by utilizing > the at8031_set_wol() function provided in the shared library. This needs to go to net-next in around a week (fixes go to net and propagate to net-next only once a week, around Thursday/Friday). I will apply the first 2 patches, please repost this later.
On 7/8/2025 7:43 AM, Jakub Kicinski wrote: > On Fri, 4 Jul 2025 13:31:15 +0800 Luo Jie wrote: >> The Wake-on-LAN (WoL) functionality for the QCA807x series is identical >> to that of the AT8031. WoL support for QCA807x is enabled by utilizing >> the at8031_set_wol() function provided in the shared library. > > This needs to go to net-next in around a week (fixes go to net and > propagate to net-next only once a week, around Thursday/Friday). > I will apply the first 2 patches, please repost this later. Understand. Thank you for applying the first two patches. I will repost the remaining patch to net-next once the first two are available there, as advised.
On Fri, 4 Jul 2025 13:31:15 +0800 Luo Jie <quic_luoj@quicinc.com> wrote: > The Wake-on-LAN (WoL) functionality for the QCA807x series is identical > to that of the AT8031. WoL support for QCA807x is enabled by utilizing > the at8031_set_wol() function provided in the shared library. > > Signed-off-by: Luo Jie <quic_luoj@quicinc.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Maxime
© 2016 - 2025 Red Hat, Inc.