Skip to content

Commit

Permalink
Upload wifi-host-driver 2.3.0.12378
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed Apr 22, 2022
1 parent 011325a commit d2a1222
Show file tree
Hide file tree
Showing 228 changed files with 39,064 additions and 35,393 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The [release notes](./RELEASE.md) detail the current release. You can also find
---------------------------------------------------
| Security |4343W|43438|4373 |43012|43439|43907|
|:-----------:|:---:|:---:|:---:|:---:|:---:|:---:|
| WPA3 | | | O | O | O | |
| WPA3 | | | O | | O | |

### More information
* [Wi-Fi Host Driver API Reference Manual and Porting Guide](https://cypresssemiconductorco.github.io/wifi-host-driver/html/index.html)
Expand Down
35 changes: 13 additions & 22 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Wi-Fi Host Driver (WHD) v2.2.0
# Wi-Fi Host Driver (WHD) v2.3.0
Please refer to the [README File](./README.md) and the [WHD API Reference Manual](https://cypresssemiconductorco.github.io/wifi-host-driver/html/index.html) for a complete description of the Wi-Fi Host Driver.

## Features
Expand All @@ -11,27 +11,11 @@ Please refer to the [README File](./README.md) and the [WHD API Reference Manual
* 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 v2.1.0
## Changes since v2.3.0
### New Features
* Support WPA3 for 4373

### Defect Fixes

### API Changes
* whd_wifi_scan_synch
Input argument "count" is now a pointer which also indicates the no of record received when returning.
* whd_tko_param
The variable type of parameter "set" is changed from int to uint8_t.
* whd_network_send_ethernet_data
Use whd_result_t return type for returning WHD_SUCCESS or Error code.
* Remove WEP connection (WHD_SECURITY_WEP_PSK / WHD_SECURITY_WEP_SHARED) support
* WHD de-initialization sequence changed to below:
```
whd_wifi_leave(ifp);
whd_wifi_off(ifp);
whd_bus_sdio_detach(whd_driver);
whd_deinit(ifp);
```
* Fix external SAE connection issue

### Known Issues

Expand All @@ -42,23 +26,30 @@ Use whd_result_t return type for returning WHD_SUCCESS or Error code.
* --- 7.45.98.117 ---

#### CYW43012
* --- 13.10.271.277 ---
* --- 13.10.271.287 ---
* Fix cert 5.6.1
* Fix external SAE issue
* Fix WPA3_R1 Compatibility Issue
* --- 13.10.271.277 ---

#### CYW4373
* --- 13.10.246.262 ---
* --- 13.10.246.264 ---
* FIX WPA3 Transition Mode Issue
* WPA3-R3 STA support
* WFA aggregation CVE fix
* Enable OKC, FBT and Voice Enterprise features in FW
* --- 13.10.246.254 ---

#### CYW43439
* --- 7.95.49 ---
* --- 7.95.50 ---
* Fix WPA3 Transition Mode Issue
* Fix WPA3_R1 Compatibility Issue
* WPA3_R3 Support
* --- 7.95.39 ---

#### CYW43909
* --- 7.15.168.156 ---
* Fix WPA3 conneciton regression
* --- 7.15.168.155 ---

Note: [r] is regulatory-related
Expand Down
2 changes: 1 addition & 1 deletion WiFi_Host_Driver/inc/whd.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021, Cypress Semiconductor Corporation (an Infineon company)
* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company)
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
17 changes: 14 additions & 3 deletions WiFi_Host_Driver/inc/whd_events.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021, Cypress Semiconductor Corporation (an Infineon company)
* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company)
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -51,6 +51,9 @@ extern "C"
#define WLC_E_ACTION_FRAME 59 /**< Indicates Action frame Rx */
#define WLC_E_ACTION_FRAME_COMPLETE 60 /**< Indicates Action frame Tx complete */
#define WLC_E_ESCAN_RESULT 69 /**< escan result event occurs when we scan for the networks */
#define WLC_E_EXT_AUTH_REQ 187 /**< authentication request received */
#define WLC_E_EXT_AUTH_FRAME_RX 188 /**< authentication request received */
#define WLC_E_MGMT_FRAME_TXSTATUS 189 /**< mgmt frame Tx complete */

/* List of status codes - Applicable for any event type */
#define WLC_E_STATUS_SUCCESS 0 /**< operation was successful */
Expand Down Expand Up @@ -79,7 +82,7 @@ extern "C"
*
* -Basic supplicant authentication states
*
+ WLC_SUP_DISCONNECTED
* + WLC_SUP_DISCONNECTED
* + WLC_SUP_CONNECTING
* + WLC_SUP_IDREQUIRED
* + WLC_SUP_AUTHENTICATING
Expand All @@ -88,7 +91,9 @@ extern "C"
* + WLC_SUP_KEYED
* + WLC_SUP_TIMEOUT
* + WLC_SUP_LAST_BASIC_STATE
* -Extended supplicant authentication states
*
* -Extended supplicant authentication states
*
* + WLC_SUP_KEYXCHANGE_WAIT_M1
* + WLC_SUP_KEYXCHANGE_PREP_M2
* + WLC_SUP_KEYXCHANGE_WAIT_M3
Expand Down Expand Up @@ -117,6 +122,12 @@ typedef enum sup_auth_status

#define WHD_MSG_IFNAME_MAX 16 /**< Max length of Interface name */

/* Reason codes for LINK */
#define WLC_E_LINK_BCN_LOSS 1 /**< Link down because of beacon loss */
#define WLC_E_LINK_DISASSOC 2 /**< Link down because of disassoc */
#define WLC_E_LINK_ASSOC_REC 3 /**< Link down because assoc recreate failed */
#define WLC_E_LINK_BSSCFG_DIS 4 /**< Link down due to bsscfg down */

#pragma pack(1)

/**
Expand Down
2 changes: 1 addition & 1 deletion WiFi_Host_Driver/inc/whd_network_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021, Cypress Semiconductor Corporation (an Infineon company)
* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company)
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion WiFi_Host_Driver/inc/whd_resource_api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021, Cypress Semiconductor Corporation (an Infineon company)
* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company)
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
69 changes: 67 additions & 2 deletions WiFi_Host_Driver/inc/whd_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021, Cypress Semiconductor Corporation (an Infineon company)
* Copyright 2022, Cypress Semiconductor Corporation (an Infineon company)
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -57,6 +57,8 @@ extern "C"
#define PM2_POWERSAVE_MODE (2) /**< Powersave mode on specified interface with High throughput */
#define NO_POWERSAVE_MODE (0) /**< No Powersave mode */

#define PMKID_LEN (16) /**< PMKID LENGTH */

/**
* Suppress unused parameter warning
*/
Expand Down Expand Up @@ -293,6 +295,15 @@ typedef enum
WHD_SCAN_ABORTED, /**< Scan is aborted */
} whd_scan_status_t;

/**
* Structure for storing status of auth event
*/
typedef enum
{
WHD_AUTH_EXT_REQ, /**< Request authentication received */
WHD_AUTH_EXT_FRAME_RX, /**< Authentication frame received */
} whd_auth_status_t;

/**
* Structure for storing radio band list information
*/
Expand All @@ -309,7 +320,8 @@ typedef struct
typedef enum
{
WHD_SCAN_RESULT_FLAG_RSSI_OFF_CHANNEL = 0x01, /**< RSSI came from an off channel DSSS (1 or 1 Mb) Rx */
WHD_SCAN_RESULT_FLAG_BEACON = 0x02 /**< Beacon (vs probe response) */
WHD_SCAN_RESULT_FLAG_BEACON = 0x02, /**< Beacon (vs probe response) */
WHD_SCAN_RESULT_FLAG_SAE_H2E = 0x04, /**< BSS is H2E(Hash-to-Element) */
} whd_scan_result_flag_t;

/**
Expand Down Expand Up @@ -400,6 +412,15 @@ typedef enum
WHD_BUS_NO_DEFINE = 0xff,
} whd_bus_type_t;

/**
* Expand fw capabilities list to enumeration
*/
typedef enum
{
WHD_FWCAP_SAE = 0, /**< Internal SAE */
WHD_FWCAP_SAE_EXT = 1, /**< External SAE */
} whd_fwcap_id_t;

/******************************************************
* Type Definitions
******************************************************/
Expand Down Expand Up @@ -981,6 +1002,34 @@ typedef struct

#pragma pack()

/**
* Structure describing a list of PMKID
*/
typedef struct _pmkid
{
whd_mac_t BSSID;
uint8_t PMKID[PMKID_LEN];
} pmkid_t;

typedef struct _pmkid_list
{
uint32_t npmkid;
pmkid_t pmkid[1];
} pmkid_list_t;

/**
* Structure used by both dongle and host
* dongle asks host to start auth(SAE), host updates auth status to dongle.
*/
typedef struct whd_auth_req_status
{
uint16_t flags;
whd_mac_t peer_mac; /* peer mac address */
uint32_t ssid_len;
uint8_t ssid[SSID_NAME_SIZE];
uint8_t pmkid[PMKID_LEN];
} whd_auth_req_status_t;

/**
* Time value in milliseconds
*/
Expand All @@ -996,6 +1045,22 @@ typedef struct
uint8_t data[32]; /**< WEP key as values NOT characters */
} whd_wep_key_t;

/**
* Structure for management frame(auth) params
*/
typedef struct whd_auth_params
{
uint32_t version;
uint32_t dwell_time;
uint16_t len; /* Len includes Len(MAC Headers) + Len(Contents) */
uint16_t fc;
uint16_t channel;
whd_mac_t da;
whd_mac_t bssid;
uint32_t packetId;
uint8_t data[1]; /* It contains MAC Headers + Contexts*/
} whd_auth_params_t;

/**
* Structure for Out-of-band interrupt config parameters which can be set by application during whd power up
*/
Expand Down
6 changes: 3 additions & 3 deletions WiFi_Host_Driver/inc/whd_version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define WHD_VERSION "v2.2.0-dirty"
#define WHD_BRANCH "v2.2.0"
#define WHD_DATE "2021-12-14 13:57:54 +0000"
#define WHD_VERSION "v2.3.0"
#define WHD_BRANCH "v2.3.0"
#define WHD_DATE "2022-04-13 14:02:24 +0800"
Loading

0 comments on commit d2a1222

Please sign in to comment.