improve AP support for miaomi wifi