Asymptotic solution to the viscous/inertial flow in wavy channels with permeable walls