Question: how to transfer data from mac to pc via wifi?
Answer: Open System Preferences on your Mac.
Click Sharing.
Click the checkbox next to File Sharing.
Click Options…
Click on the checkbox for the user account you'd like to share with a Windows machine under Windows Files Sharing. You might be asked to enter a password.
Click Done.