nRF WiFi
Loading...
Searching...
No Matches

◆ nrf_wifi_sys_fmac_p2p_roc_start()

enum nrf_wifi_status nrf_wifi_sys_fmac_p2p_roc_start ( void * fmac_dev_ctx,
unsigned char if_idx,
struct remain_on_channel_info * roc_info )

Start p2p remain on channel.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
if_idxIndex of the interface to be kept on channel and stay there.
roc_infoContains channel and time in ms to stay on.

This function is used to send a command to:

  • Instruct the RPU firmware to put p2p device in listen state for a duration.
Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command