Mistake on this page?
Report an issue in GitHub or email us
Functions
WHD Wi-Fi IOCTL Set/Get API

Set and get IOCTL values. More...

Functions

uint32_t whd_wifi_set_ioctl_value (whd_interface_t ifp, uint32_t ioctl, uint32_t value)
 Sends an IOCTL command - CDC_SET IOCTL value. More...
 
uint32_t whd_wifi_get_ioctl_value (whd_interface_t ifp, uint32_t ioctl, uint32_t *value)
 Sends an IOCTL command - CDC_GET IOCTL value. More...
 
uint32_t whd_wifi_set_ioctl_buffer (whd_interface_t ifp, uint32_t ioctl, void *buffer, uint16_t buffer_length)
 Sends an IOCTL command - CDC_SET IOCTL buffer. More...
 
uint32_t whd_wifi_get_ioctl_buffer (whd_interface_t ifp, uint32_t ioctl, uint8_t *out_buffer, uint16_t out_length)
 Sends an IOCTL command - CDC_GET IOCTL buffer. More...
 
uint32_t whd_wifi_get_iovar_buffer_with_param (whd_interface_t ifp, const char *iovar_name, void *param, uint32_t paramlen, uint8_t *out_buffer, uint32_t out_length)
 Sends an IOVAR command. More...
 

Detailed Description

Set and get IOCTL values.

Function Documentation

uint32_t whd_wifi_get_ioctl_buffer ( whd_interface_t  ifp,
uint32_t  ioctl,
uint8_t *  out_buffer,
uint16_t  out_length 
)

Sends an IOCTL command - CDC_GET IOCTL buffer.

Parameters
ifpPointer to handle instance of whd interface
ioctlCDC_GET - To get the I/O control
out_bufferPointer to receive the handle for the packet buffer containing the response data value received
out_lengthLength of out_buffer
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_get_ioctl_value ( whd_interface_t  ifp,
uint32_t  ioctl,
uint32_t *  value 
)

Sends an IOCTL command - CDC_GET IOCTL value.

Parameters
ifpPointer to handle instance of whd interface
ioctlCDC_GET - To get the I/O control
valuePointer to receive the data value
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_get_iovar_buffer_with_param ( whd_interface_t  ifp,
const char *  iovar_name,
void *  param,
uint32_t  paramlen,
uint8_t *  out_buffer,
uint32_t  out_length 
)

Sends an IOVAR command.

Parameters
ifpPointer to handle instance of whd interface
iovar_nameSDPCM_GET - To get the I/O Variable
paramParamater to be passed for the IOVAR
paramlenParamter length
out_bufferPointer to receive the handle for the packet buffer containing the response data value received
out_lengthLength of out_buffer
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_set_ioctl_buffer ( whd_interface_t  ifp,
uint32_t  ioctl,
void *  buffer,
uint16_t  buffer_length 
)

Sends an IOCTL command - CDC_SET IOCTL buffer.

Parameters
ifpPointer to handle instance of whd interface
ioctlCDC_SET - To set the I/O control
bufferHandle for a packet buffer containing the data value to be sent.
buffer_lengthLength of buffer
Returns
WHD_SUCCESS or Error code
uint32_t whd_wifi_set_ioctl_value ( whd_interface_t  ifp,
uint32_t  ioctl,
uint32_t  value 
)

Sends an IOCTL command - CDC_SET IOCTL value.

Parameters
ifpPointer to handle instance of whd interface
ioctlCDC_SET - To set the I/O control
valueData value to be sent
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.