Change the state of a virtual interface.
- Parameters
-
| fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
| if_idx | Index of the interface whose state needs to be changed. |
| vif_info | State information to be changed for the interface. |
This function is used to send a command to:
- Instruct the RPU firmware to change the state of an interface identified by an index
if_idx and parameters specified by vif_info.
- The different states that can be configured are
- NRF_WIFI_FMAC_IF_OP_STATE_DOWN
- NRF_WIFI_FMAC_IF_OP_STATE_UP
- Return values
-
| NRF_WIFI_STATUS_SUCCESS | On success |
| NRF_WIFI_STATUS_FAIL | On failure to execute command |