Re: [PATCH net-next v5 09/13] ax88179_178a: Add Suspend/resume support for AX88179A/772D/279
Andrew Lunn <[email protected]> Sun, 2 Aug 2026 23:44:48 +0200
| Newsgroups | org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
> + /* Enable WoL */
> + if (priv->wolopts) {
> + ax88179_read_cmd(dev, AX_ACCESS_MAC, AX_MONITOR_MOD, 1, 1, &tmp8);
> + if (priv->wolopts & WAKE_PHY)
> + tmp8 |= AX_MONITOR_MODE_RWLC;
Have you tested WoL?
WoL is somewhat complex because it can be done in the PHY or the
MAC. If it can be done in the PHY, you can power off the MAC. If the
MAC needs to do it, it needs to stay awake.
But what i don't get is how the MAC is implementing WAKE_PHY?
Andrew