Corrected wireless config templates and added open AP and STA support