nrfxlib API 0.1.0
|
enum nrf_wifi_status nrf_wifi_check_mode_validity | ( | unsigned char | mode | ) |
#include <nrf_wifi/fw_if/umac_if/inc/default/fmac_api.h>
Check if a valid mode is being set.
mode | The mode value attempted to be configured. |
This function checks the mode value attempted to be configured is a valid mode as supported by the driver. If the mode is valid, the mode will be configured to the lower layers, else an error value will be flagged.
WIFI_NRF_STATUS_SUCCESS | On success |
WIFI_NRF_STATUS_FAIL | On failure |