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

◆ nrf_wifi_fmac_vif_idx_get()

unsigned char nrf_wifi_fmac_vif_idx_get ( struct nrf_wifi_fmac_dev_ctx fmac_dev_ctx)

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

Assign an index for a new VIF.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.

This function searches for an unused VIF index and returns it.

Returns
Index to be used for the new VIF In case of error MAX_NUM_VIFS will be returned.