WiFi uses a lot of power and a boot loop indicates insufficient power.
How are you powering the Pi?
It may be that while the module is off, everything is good enough, but borderline and as soon as you turn the module on it draws extra power that isn't available which will trigger a reboot.
Upon rebooting, as the various hardware interfaces come up and the Pi eventually turns the WiFi module on, the same problem repeats itself and the Pi will reboot again.
Google is ubiquitous - Try it today, it's free!