It works exactly as it does on a wired connection: open the multiplayer menu and pick a server.
Wi-Fi changes nothing about the procedure, only the experience. Wireless adds latency and the occasional spike, which matters more in a twitch shooter than in most games, so if you notice hits not registering, a cable is the fix rather than a settings change.
For a local game, make sure the host's server is visible on the LAN tab and that the machines are on the same network.