Added some extra support for wifi to hopefully improve the situation with the wifi interface.
Added ability to scan for nearby access points

Fixed setting of wifi type. You must DOWN the ichip module in order to set the type.