To install the wifi driver, first of all run the below command to check network driver :
lspci -knn | grep Net -A2
After running the above command if the wifi driver is broadcom than run the below command to install :
sudo apt-get install bcmwl-kernel-source