Are you looking for just general wifi connectivity, or a custom solution? In general I recommend using connman or networkmanager for wireless connectivity. Otherwise you would need to configure the system to use hostapd/wpad to initialize your wireless connection. Also make sure your wifi and bluetooth connections are unblocked by rfkill using the rfkill list command.