add scan code with ported iw