nrfxlib API 0.1.0
Loading...
Searching...
No Matches
util.h File Reference
#include "osal_api.h"
#include "host_rpu_umac_if.h"

Go to the source code of this file.

Macros

#define ARRAY_SIZE(array)   (sizeof(array) / sizeof((array)[0]))
 Header containing utility function declarations for the Wi-Fi driver.
 
#define MBM_TO_DBM(gain)   ((gain) / 100)
 

Functions

int nrf_wifi_utils_hex_str_to_val (unsigned char *hex_arr, unsigned int hex_arr_sz, unsigned char *str)
 
bool nrf_wifi_utils_is_mac_addr_valid (const char *mac_addr)
 
int nrf_wifi_utils_chan_to_freq (enum nrf_wifi_band band, unsigned short chan)