Skip to content

Commit

Permalink
Upload wifi-host-driver 4.0.0.23750 [2455]
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed May 31, 2024
1 parent 974a4bf commit 7d3583d
Show file tree
Hide file tree
Showing 342 changed files with 119,735 additions and 390,879 deletions.
156 changes: 78 additions & 78 deletions External/rtos/cyabs_rtos.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,84 +253,84 @@ extern cy_rslt_t cy_rtos_set_semaphore(cy_semaphore_t *semaphore, bool in_isr);
*/
extern cy_rslt_t cy_rtos_deinit_semaphore(cy_semaphore_t *semaphore);

/*********************************************** Events **********************************************/

/** Create an event.
*
* This is an event which can be used to signal a set of threads
* with a 32 bit data element.
*
* @param[in,out] event Pointer to the event handle to be initialized
*
* @return The status of the event initialization request.
* [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_init_event(cy_event_t *event) ;

/** Set the event flag bits.
*
* This is an event which can be used to signal a set of threads
* with a 32 bit data element. Any threads waiting on this event are released
*
* @param[in] event Pointer to the event handle
* @param[in] bits The value of the 32 bit flags
* @param[in] in_isr If true, this is called from an ISR, otherwise from a thread
*
* @return The status of the set request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_setbits_event(cy_event_t *event, uint32_t bits, bool in_isr) ;

/**
* Clear the event flag bits
*
* This function clears bits in the event.
*
* @param[in] event Pointer to the event handle
* @param[in] bits Any bits set in this value, will be cleared in the event.
* @param[in] in_isr if true, this is called from an ISR, otherwise from a thread
*
* @return The status of the clear flags request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_clearbits_event(cy_event_t *event, uint32_t bits, bool in_isr) ;

/** Get the event bits.
*
* Returns the current bits for the event.
*
* @param[in] event Pointer to the event handle
* @param[out] bits pointer to receive the value of the event flags
*
* @return The status of the get request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_getbits_event(cy_event_t *event, uint32_t *bits) ;

/** Wait for the event and return bits.
*
* Waits for the event to be set and then returns the bits assocaited
* with the event, or waits for the given timeout period.
* @note This function returns if any bit in the set is set.
*
* @param[in] event Pointer to the event handle
* @param[in,out] bits pointer to receive the value of the event flags
* @param[in] clear if true, clear any bits set that cause the wait to return
* if false, do not clear bits
* @param[in] all if true, all bits in the initial bits value must be set to return
* if false, any one bit in the initial bits value must be set to return
* @param[in] timeout The amount of time to wait in milliseconds
*
* @return The status of the wait for event request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_waitbits_event(cy_event_t *event, uint32_t *bits, bool clear, bool all, cy_time_t timeout) ;

/** Deinitialize a event.
*
* This function frees the resources associated with an event.
*
* @param[in] event Pointer to the event handle
*
* @return The status of the deletion request. [CY_RSLT_SUCCESS, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_deinit_event(cy_event_t *event) ;
/*********************************************** Events **********************************************/

/** Create an event.
*
* This is an event which can be used to signal a set of threads
* with a 32 bit data element.
*
* @param[in,out] event Pointer to the event handle to be initialized
*
* @return The status of the event initialization request.
* [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_init_event(cy_event_t *event) ;

/** Set the event flag bits.
*
* This is an event which can be used to signal a set of threads
* with a 32 bit data element. Any threads waiting on this event are released
*
* @param[in] event Pointer to the event handle
* @param[in] bits The value of the 32 bit flags
* @param[in] in_isr If true, this is called from an ISR, otherwise from a thread
*
* @return The status of the set request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_setbits_event(cy_event_t *event, uint32_t bits, bool in_isr) ;

/**
* Clear the event flag bits
*
* This function clears bits in the event.
*
* @param[in] event Pointer to the event handle
* @param[in] bits Any bits set in this value, will be cleared in the event.
* @param[in] in_isr if true, this is called from an ISR, otherwise from a thread
*
* @return The status of the clear flags request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_clearbits_event(cy_event_t *event, uint32_t bits, bool in_isr) ;

/** Get the event bits.
*
* Returns the current bits for the event.
*
* @param[in] event Pointer to the event handle
* @param[out] bits pointer to receive the value of the event flags
*
* @return The status of the get request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_getbits_event(cy_event_t *event, uint32_t *bits) ;

/** Wait for the event and return bits.
*
* Waits for the event to be set and then returns the bits assocaited
* with the event, or waits for the given timeout period.
* @note This function returns if any bit in the set is set.
*
* @param[in] event Pointer to the event handle
* @param[in,out] bits pointer to receive the value of the event flags
* @param[in] clear if true, clear any bits set that cause the wait to return
* if false, do not clear bits
* @param[in] all if true, all bits in the initial bits value must be set to return
* if false, any one bit in the initial bits value must be set to return
* @param[in] timeout The amount of time to wait in milliseconds
*
* @return The status of the wait for event request. [CY_RSLT_SUCCESS, CY_RTOS_NO_MEMORY, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_waitbits_event(cy_event_t *event, uint32_t *bits, bool clear, bool all, cy_time_t timeout) ;

/** Deinitialize a event.
*
* This function frees the resources associated with an event.
*
* @param[in] event Pointer to the event handle
*
* @return The status of the deletion request. [CY_RSLT_SUCCESS, CY_RTOS_GENERAL_ERROR]
*/
extern cy_rslt_t cy_rtos_deinit_event(cy_event_t *event) ;

/*********************************************** Time **********************************************/

Expand Down
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# Wi-Fi Host Driver (WHD)

### Overview
The WHD is an independent, embedded Wi-Fi Host Driver that provides a set of APIs to interact with Infineon WLAN chips. The WHD is an independent firmware product that is easily portable to any embedded software environment, including popular IoT frameworks such as Mbed OS and Amazon FreeRTOS. Therefore, the WHD includes hooks for RTOS and TCP/IP network abstraction layers.
The WHD is an independent, embedded Wi-Fi Host Driver that provides a set of APIs to interact with Infineon WLAN chips. The WHD is an independent firmware product that is easily portable to any embedded software environment, including popular IoT frameworks such as Mbed OS, Amazon FreeRTOS and Azure RTOS ThreadX. Therefore, the WHD includes hooks for RTOS and TCP/IP network abstraction layers.

The [release notes](./RELEASE.md) detail the current release. You can also find information about previous versions.

### Supported bus interface
---------------------------------------------------------
| Interface |4343W|43438|4373 |43012|43439|43907|43022|
|:-----------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| SDIO | O | O | O | O | O | | O |
| SPI | O | O | | | O | | |
| M2M | | | | | | O | |
---------------------------
| Interface |55500|55900|
|:-----------:|:---:|:---:|
| SDIO | O | |
| SPI | | |
| M2M | | |
| OCI | | O |

### WPA3 AP mode support
---------------------------------------------------------
| Security |4343W|43438|4373 |43012|43439|43907|43022|
|:-----------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| WPA3 | | | O | | O | | |
### AP mode support
---------------------------
| Security |55500|55900|
|:-----------:|:---:|:---:|
| WPA3 | O | O |
| WPA2 | O | O |

### More information
* [Wi-Fi Host Driver API Reference Manual and Porting Guide](https://infineon.github.io/wifi-host-driver/html/index.html)
Expand Down
56 changes: 22 additions & 34 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,36 @@
# Wi-Fi Host Driver (WHD) v3.1.0
# Wi-Fi Host Driver (WHD) v4.0.0
Please refer to the [README File](./README.md) and the [WHD API Reference Manual](https://infineon.github.io/wifi-host-driver/html/index.html) for a complete description of the Wi-Fi Host Driver.

## Features
* Supports Out-of-Band (OOB)
* Provides API functions for ARP, packet filters
* Supports Wi-Fi Station (STA) and AP mode of operation
* Supports concurrent operation of STA and AP interface
* Supports multiple security methods such as WPA2, WPA3, and open
* Provides functions for Advanced Power Management
* Supports low-power offloads, including ARP, packet filters, TCP Keepalive offload, DHCP lease time renewal offload, and Beacon trim
* Includes WFA pre-certification support for 802.11n and WPA3

## Changes since v3.0.0
### New Features
* Added MQTT offload support
* Added NAT/NULL Keepalive offload support
* Added auto TKO offload support
Added H1-CP support for CM and SM
Added offload config support

### Defect Fixes
* 43022CUB M2 Board NVRAM update to rev1.2
* Remove ARM compilation warning
* Fix mfg firmware assoication issue with open security

### Known Issues

### Defect Fixes

#### CYW4343W
* --- 7.45.98.120 ---
#### CYW55500
#A0
* --- 28.10.59 ---

#### CYW43012
* --- 13.10.271.305 ---
#A1
* --- 28.10.190 ---

#### CYW4373
* --- 13.10.246.321 ---

#### CYW43439
* --- 7.95.64 ---
#### CYW55900
* --- 28.10.215 ---

#### CYW43909
* --- 7.15.168.163 ---
* Supports concurrent operation of STA and AP interface
* Supports low-power offloads like ARP, packet filters, TCP Keepalive offload
* Includes WFA pre-certification support for 802.11n, 802.11ac, 802.11ax
* Provides API functions for ARP, packet filters
* Provides functions for Advanced Power Management

#### CYW43022
* --- 13.60.4 ---
* Offload support
* --- 13.54.1 ---
### Known Issues
NA

Note: [r] is regulatory-related

Expand All @@ -52,8 +39,8 @@ This version of the WHD was validated for compatibility with the following softw

| Software and Tools | Version |
| :--- | :---- |
| GCC Compiler | 11.3 |
| IAR Compiler | 9.40 |
| GCC Compiler | 10.3 |
| IAR Compiler | 9.3 |
| Arm Compiler 6 | 6.16 |
| Mbed OS | 6.2.0 |
| ThreadX/NetX-Duo | 5.8 |
Expand All @@ -63,6 +50,7 @@ This version of the WHD was validated for compatibility with the following softw
## More Information
* [Wi-Fi Host Driver README File](./README.md)
* [Wi-Fi Host Driver API Reference Manual and Porting Guide](https://infineon.github.io/wifi-host-driver/html/index.html)
* [Infineon Technologies](http://www.infineon.com)
* [Infineon Technologies](http://www.infineon.com)

---
© Infineon Technologies, 2019.
3 changes: 3 additions & 0 deletions WiFi_Host_Driver/inc/whd_resource_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ typedef enum
WHD_RESOURCE_WLAN_FIRMWARE, /**< Resource type: WLAN Firmware */
WHD_RESOURCE_WLAN_NVRAM, /**< Resource type: NVRAM file */
WHD_RESOURCE_WLAN_CLM, /**< Resource type: CLM_BLOB file */
#ifdef DOWNLOAD_RAM_BOOTLOADER
WHD_RESOURCE_BL_IMAGE, /**< Resource type: Bootloader Image */
#endif /* DOWNLOAD_RAM_BOOTLOADER */
} whd_resource_type_t;

/******************************************************
Expand Down
Loading

0 comments on commit 7d3583d

Please sign in to comment.