pub unsafe extern "C" fn esp_wifi_remain_on_channel(
req: *mut wifi_roc_req_t,
) -> i32Expand description
@brief Remain on the target channel for required duration
@param req roc request structure containing relevant fields
@return
- ESP_OK: succeed
- ESP_ERR_NO_MEM: failed to allocate memory
- ESP_FAIL: failed to perform roc operation