What do you enable/disable Wireless Wake On LAN/Wake on Wifi/Wake on Wireless LAN so that a magic packet can wake the server/PC up?
Please note that not all WiFi cards or Linux drivers support the WoWLAN feature.
First of all, let's find the Wireless Interface with
iw dev and note it down (I'll assume it's the default
phy0 from this point on)
sudo iw phy0 wowlan enable magic-packet (you can also specify on disconnect (you write only disconnect) to enable that function)
sudo phy0 wowlan disable
Determine status of WoWLAN
iw phy0 wowlan show