Set a key as a default for data or management traffic in the RPU security database.
- Parameters
-
| fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
| if_idx | Index of the interface on which the key is to be set. |
| key_info | Key specific information which needs to be passed to the RPU firmware. |
This function is used to send a command to:
- Instruct the RPU firmware to set a key as a default key in its security database.
- The key is either for data or management traffic and is classified based on the flags element set in
key_info parameter.
- Return values
-
| NRF_WIFI_STATUS_SUCCESS | On success |
| NRF_WIFI_STATUS_FAIL | On failure to execute command |