wifi.c: update the main wifi.c from cyanogenmod and change it for u8800