5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
wwd_wifi_chip_common.c File Reference

Functions

WEAK wwd_result_t wwd_wlan_bus_complete_ds_wake (wiced_bool_t wake_from_firmware, uint32_t wake_event_indication_addr, uint32_t wake_indication_addr, uint32_t sdio_control_addr)
 
wwd_result_t wwd_wlan_register_read (uint32_t addr, uint32_t size, uint32_t *value)
 
wwd_result_t wwd_wlan_register_write (uint32_t addr, uint32_t size, uint32_t value)
 
wwd_result_t wwd_wlan_shared_memory_read (uint32_t addr, uint8_t size, uint32_t *value)
 

Function Documentation

◆ wwd_wlan_bus_complete_ds_wake()

WEAK wwd_result_t wwd_wlan_bus_complete_ds_wake ( wiced_bool_t wake_from_firmware,
uint32_t wake_event_indication_addr,
uint32_t wake_indication_addr,
uint32_t sdio_control_addr )

Function prototypes Gets the current value of all beacon listen interval variables

Parameters
listen_interval_beacon: The current value of the listen interval set as a multiple of the beacon period
listen_interval_dtim: The current value of the listen interval set as a multiple of the DTIM period
listen_interval_assoc: The current value of the listen interval sent to access points in an association request frame
Returns
WWD_SUCCESS : If all listen interval values are read successfully Error code : If at least one of the listen interval values are NOT read successfully

◆ wwd_wlan_register_read()

wwd_result_t wwd_wlan_register_read ( uint32_t addr,
uint32_t size,
uint32_t * value )

Gets the current value of a WLAN register

Parameters
addr: absolute address to read
size: size of read to do
value: value of successful read
Returns
WWD_SUCCESS : if read is successful else, assert fires and returns WWD_TIMEOUT

◆ wwd_wlan_register_write()

wwd_result_t wwd_wlan_register_write ( uint32_t addr,
uint32_t size,
uint32_t value )

Writes a value to a WLAN register

Parameters
addr: absolute address to write
value: value to write
size: size of write
Returns
WWD_SUCCESS : if write is successful else, assert fires and returns WWD_TIMEOUT

◆ wwd_wlan_shared_memory_read()

wwd_result_t wwd_wlan_shared_memory_read ( uint32_t addr,
uint8_t size,
uint32_t * value )

Gets the current value of a WLAN shared memory location

Parameters
addr: absolute address to read
size: size of read to do
value: value of successful read
Returns
WWD_SUCCESS : if read is successful else, assert fires and returns WWD_TIMEOUT