your mac connects to the network using WiFi. your windows VM "connects" to the internet using the network that the mac is using.
so, if your mac is connected over WiFi, then windows will be connected over WiFi (it will continue to show ethernet, but it will be over WiFi). no need to change anything on the windows side.