reducing code set to essential wifi code