Initial commit of wifi.c file