In my case it was a distro's fault and my laziness to fix it. So, wifi's firmware is proprietary and some distro that are lightweight just didn't provide the firmware.
Remember when debian provided both regular iso and non free iso? yea my laptop couldn't connect to wifi if I were using the original iso.