Lexmark MX521
From the home screen, touch Settings > Network/Ports > Network Overview > Active Adapter > Standard Network.
Follow the instructions on the display.
Follow these steps to enable Wi‑Fi Direct in your printer and configure its settings.
Connect your printer securely to a wireless network.