Wi-Fi Expansion
ESP32 does support Wi-Fi functionality natively, please refer to Wi-Fi 驱动程序 documentation. Even though Wi-Fi is supported on ESP32, it is possible to expand it and use another instance of Wi-Fi expansion interfaces using esp_wifi_remote component.
ESP32 esp_wifi_remote
The principle of Wi-Fi Expansion operation is to add another ESP32 series, Wi-Fi capable, target connected to the ESP32 in a pre-defined way. Your project could then include the esp_wifi_remote component using:
idf.py add-dependency esp_wifi_remote
Please follow the instructions described in the esp_wifi_remote documentation.