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

◆ nrf_wifi_sys_fmac_add_vif()

unsigned char nrf_wifi_sys_fmac_add_vif ( void * fmac_dev_ctx,
void * os_vif_ctx,
struct nrf_wifi_umac_add_vif_info * vif_info )

Add a new virtual interface.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
os_vif_ctxPointer to VIF context that the UMAC IF passes up the stack during invocation of callback functions like rx_frm_callbk_fn() etc.
vif_infoInformation regarding the interface to be added.

This function is used to send a command to:

  • Instruct the RPU firmware to add a new interface with parameters specified by vif_info.
Returns
Index (maintained by the UMAC IF layer) of the VIF that was added. In case of error MAX_NUM_VIFS will be returned.