wifi: add support for custom Wi-Fi implementations