Mistake on this page?
Report an issue in GitHub or email us
Functions
WHD Wi-Fi Debug API

WHD APIs which allows debugging like, printing whd log information, getting whd stats, etc. More...

Functions

uint32_t whd_wifi_get_wifi_version (whd_interface_t ifp, char *version, uint8_t length)
 Retrieves the WLAN firmware version. More...
 
uint32_t whd_wifi_get_clm_version (whd_interface_t ifp, char *version, uint8_t length)
 Retrieves the WLAN CLM version. More...
 
uint32_t whd_wifi_read_wlan_log (whd_driver_t whd_drv, char *buffer, uint32_t buffer_size)
 To print whd log information. More...
 
uint32_t whd_wifi_print_whd_log (whd_driver_t whd_drv)
 To print whd log information. More...
 
uint32_t whd_network_get_ifidx_from_ifp (whd_interface_t ifp, uint8_t *ifidx)
 Retrieves the ifidx from interface pointer. More...
 
uint32_t whd_network_get_bsscfgidx_from_ifp (whd_interface_t ifp, uint8_t *bsscfgidx)
 Retrieves the bsscfgidx from interface pointer. More...
 
uint32_t whd_wifi_get_bss_info (whd_interface_t ifp, wl_bss_info_t *bi)
 Retrives the bss info. More...
 
uint32_t whd_print_stats (whd_driver_t whd_drv, whd_bool_t reset_after_print)
 Prints WHD stats. More...
 

Detailed Description

WHD APIs which allows debugging like, printing whd log information, getting whd stats, etc.

Function Documentation

uint32_t whd_network_get_bsscfgidx_from_ifp ( whd_interface_t  ifp,
uint8_t *  bsscfgidx 
)

Retrieves the bsscfgidx from interface pointer.

Can be used to send IOCTL with requires bsscfgidx

Parameters
ifpPointer to handle instance of whd interface
bsscfgidxPointer to bsscfgidx
Returns
WHD_SUCCESS or Error code
uint32_t whd_network_get_ifidx_from_ifp ( whd_interface_t  ifp,
uint8_t *  ifidx 
)

Retrieves the ifidx from interface pointer.

ifidx is a unique value and be used to identify a instance of tcp/ip stack

Parameters
ifpPointer to the whd_interface_t
ifidxPointer to ifidx
Returns
WHD_SUCCESS or Error code
uint32_t whd_print_stats ( whd_driver_t  whd_drv,
whd_bool_t  reset_after_print 
)

Prints WHD stats.

Parameters
whd_drvPointer to handle instance of the driver
reset_after_printBool variable to decide if whd_stats to be reset
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_get_bss_info ( whd_interface_t  ifp,
wl_bss_info_t bi 
)

Retrives the bss info.

Parameters
ifpPointer to handle instance of whd interface
biA pointer to the structure wl_bss_info_t
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_get_clm_version ( whd_interface_t  ifp,
char *  version,
uint8_t  length 
)

Retrieves the WLAN CLM version.

Parameters
ifpPointer to handle instance of whd interface
versionPointer to a buffer that version information will be written to
lengthLength of the buffer
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_get_wifi_version ( whd_interface_t  ifp,
char *  version,
uint8_t  length 
)

Retrieves the WLAN firmware version.

Parameters
ifpPointer to handle instance of whd interface
versionPointer to a buffer that version information will be written to
lengthLength of the buffer
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_print_whd_log ( whd_driver_t  whd_drv)

To print whd log information.

Parameters
whd_drvPointer to handle instance of the driver
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_read_wlan_log ( whd_driver_t  whd_drv,
char *  buffer,
uint32_t  buffer_size 
)

To print whd log information.

Parameters
whd_drvPointer to handle instance of the driver
bufferBuffer to store read log results
buffer_sizeVariable to store size of the buffer
Returns
WHD_SUCCESS or Error code
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.