![]() |
nRF WiFi
|
| enum nrf_wifi_status nrf_wifi_sys_fmac_set_vif_macaddr | ( | void * | fmac_dev_ctx, |
| unsigned char | if_idx, | ||
| unsigned char * | mac_addr ) |
Set MAC address on interface.
| fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
| if_idx | Index of the interface whose MAC address is to be changed. |
| mac_addr | MAC address to set. |
This function is used to set the MAC address of an interface identified with if_idx.
| NRF_WIFI_STATUS_SUCCESS | On success |
| NRF_WIFI_STATUS_FAIL | On failure to execute command |