Turn on:
adb shell svc wifi enable
Turn off:
adb shell svc wifi disable