#pragma once #ifdef __cplusplus extern "C" { #endif /* Undocumented private PHY APIs, provided by esp_phy (libphy.a) in the * 6.x-series ESP-IDF builds. They expose the C-ITS / 802.11p radio mode on * the 5.9 GHz band that the public WiFi API does not reach. * * phy_11p_set(1, 0) -> enable the 11p / C-ITS PHY path * phy_change_channel(5900,1,0,0) -> centre-frequency to 5.9 GHz * * Both resolve from esp_phy's C5 libphy.a at link time (phy_feature.o / * phy_api.o). Not present in stable IDF 5.5 — build with a 6.x-series IDF. */ void phy_11p_set(int enable, int arg0); void phy_change_channel(int freq_mhz, int arg0, int arg1, int arg2); #ifdef __cplusplus } #endif