pub unsafe extern "C" fn esp_wifi_remain_on_channel(
req: *mut wifi_roc_req_t,
) -> esp_err_tExpand 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_ERR_INVALID_ARG: the <channel, sec_channel> pair is invalid
- ESP_FAIL: failed to perform roc operation