s3ve3g: Move some wifi stuff to common