Already exists here in the forum topics, teaching configure your card.
Virtual machine devices and wi-fi do not mix. You can configure the virtual machine as NAT. When you are attached to the computer via its real wi-fi, the virtual machine emulates a real connection to the device. Do not expect to see a wlan0 interface in the VM, but rather an interface eth0.But if so, I still need to know how to get WiFi in VirtualBox without the adapter.