Skip to content

Commit

Permalink
Upload wifi-host-driver 3.2.0.23895 [2502]
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed Jun 20, 2024
1 parent 7d3583d commit 55639e2
Show file tree
Hide file tree
Showing 342 changed files with 393,941 additions and 119,522 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: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
# 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, Amazon FreeRTOS and Azure RTOS ThreadX. 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 and Amazon FreeRTOS. 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 |55500|55900|
|:-----------:|:---:|:---:|
| SDIO | O | |
| SPI | | |
| M2M | | |
| OCI | | O |
---------------------------------------------------------
| Interface |4343W|43438|4373 |43012|43439|43907|43022|
|:-----------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| SDIO | O | O | O | O | O | | O |
| SPI | O | O | | | O | | |
| M2M | | | | | | O | |

### AP mode support
---------------------------
| Security |55500|55900|
|:-----------:|:---:|:---:|
| WPA3 | O | O |
| WPA2 | O | O |
### WPA3 AP mode support
---------------------------------------------------------
| Security |4343W|43438|4373 |43012|43439|43907|43022|
|:-----------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| WPA3 | | | 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
82 changes: 57 additions & 25 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,69 @@
# Wi-Fi Host Driver (WHD) v4.0.0
# Wi-Fi Host Driver (WHD) v3.2.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.1.0
### New Features
Added H1-CP support for CM and SM
Added offload config support


### Defect Fixes
* Fix MQTT offload
* Fix Packet filter offload
* OpenSSL error fix during MQTT offload

#### CYW55500
#A0
* --- 28.10.59 ---

#A1
* --- 28.10.190 ---


#### CYW55900
* --- 28.10.215 ---
### Known Issues

* 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

### Known Issues
NA
#### CYW4343W
* --- 7.45.98.120 ---

#### CYW43012
* --- 13.10.271.305 ---

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

#### CYW43439
* --- 7.95.88 ---
* Fix Ping SOFTAP SCC issue
* Fix WPA3 AP H2E only setting is missing in supported/extended rate element (WPA3 Test 4.2.2)
* Fix BSSID is 0 after wl down/up
* Fix STA couldn't associate with WPA2PSk when DUT(SoftAP) is in Transition
* Update h2e set flag for idsup to be in sync with ext sae
* Continues to write dutycycle into shmem
* MFP could not enabled SoftAP with WPA3 Transition mode
* Fix M3 mismatch STA with WPA2PSk when DUT(SoftAP) is in Transition
* Correct the DSSS crsmin RSSI link power fix
* Fix for ch11 and ch13 PER floor during jammer test
* Fix link reason doesn't align with roam reason
* fix typo in wpa3sae/wpa2psk MR
* APSTA: Fix SAP connection failed in SCC cases
* Fix tput zero stall issue with mobile device
* CVE-2022-47522: PMF: AP sends Action Frame(SA Query Req) in plain text after sending Deauthentication
* WPA3-CERT: supporting WPA2PSK roams to WPA3SAE transition mode AP
* To enable OKC support in firmware
* add bip check for assoc.req malformed issue
* 43439 support for extsae
* Fix PSK-SHA256 suite not working in SAP mode
* wpa2 do roaming to wpa3
* 43439-SDIO: fix quicktrack certification failure on longer rsnx length
* --- 7.95.64 ---

#### CYW43909
* --- 7.15.168.163 ---

#### CYW43022
* --- 13.67.2 ---
* Offload support
* --- 13.54.1 ---

Note: [r] is regulatory-related

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

| Software and Tools | Version |
| :--- | :---- |
| GCC Compiler | 10.3 |
| IAR Compiler | 9.3 |
| GCC Compiler | 11.3 |
| IAR Compiler | 9.40 |
| Arm Compiler 6 | 6.16 |
| Mbed OS | 6.2.0 |
| ThreadX/NetX-Duo | 5.8 |
Expand All @@ -50,7 +83,6 @@ 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: 0 additions & 3 deletions WiFi_Host_Driver/inc/whd_resource_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ 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 55639e2

Please sign in to comment.