It looks like your drivers and firmware are OK and is you can scan that would suggest all is OK.
Set up wpa_supplicant for your WiFi change your network name (SSID) and the password to suit your own network. there is a single space between everything;
wpa_passphrase <your-ESSID> <your-wifi-passphrase> | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf
Then make sure you have an IP issued
sudo dhclient wlan0