[g02] wifi functions added and modified