wei configuration