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

◆ nrf_wifi_fmac_set_vif_macaddr()

enum nrf_wifi_status nrf_wifi_fmac_set_vif_macaddr ( void *  fmac_dev_ctx,
unsigned char  if_idx,
unsigned char *  mac_addr 
)

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

Set MAC address on interface.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
if_idxIndex of the interface whose MAC address is to be changed.
mac_addrMAC address to set.

This function is used to set the MAC address of an interface identified with if_idx.

Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command