Add an 802.11 security key into 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 added. |
| key_info | Key specific information which needs to be passed to the RPU firmware. |
| mac_addr | MAC address of the peer with which the key is associated. |
This function is used to send a command to:
- Instruct the RPU firmware to add a key to its security database. The key is for the peer identified by
mac_addr on the interface identified with if_idx.
- Return values
-
| NRF_WIFI_STATUS_SUCCESS | On success |
| NRF_WIFI_STATUS_FAIL | On failure to execute command |