nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_wifi_fmac_scan_res_get()

enum nrf_wifi_status nrf_wifi_fmac_scan_res_get ( void *  fmac_dev_ctx,
unsigned char  if_idx,
int  scan_type 
)

#include <nrf_wifi/fw_if/umac_if/inc/default/fmac_api.h>

Issue a scan results request to the RPU firmware.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
if_idxIndex of the interface on which the scan results are to be fetched.
scan_typeThe scan type (i.e. DISPLAY or CONNECT scan).

This function is used to send a command to:

  • Instruct the RPU firmware to return the results of a scan.
  • scan_type defines if the scan is performed for a connection request (SCAN_CONNECT) or to display the scan results to user (SCAN_DISPLAY)
Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command