Skip to content

Commit

Permalink
Upload wifi-host-driver 4.0.1.24511 [2689]
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed Aug 22, 2024
1 parent 9e4da8f commit 159fbe6
Show file tree
Hide file tree
Showing 308 changed files with 89,905 additions and 563,605 deletions.
118 changes: 118 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#
# Copyright 2019 Cypress Semiconductor Corporation
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

print-% : ; @echo $* = $($*)

# Use VERBOSE=1 to get full output
ifneq ($(VERBOSE),1)
QUIET:=@
else
QUIET:=
endif

ifeq ($(OS),Windows_NT)
HOST_OS := Win32
else ifeq ($(shell uname -s),Linux)
HOST_OS := Linux
ifeq ($(shell uname -p),x86_64)
HOST_OS := $(HOST_OS)64
else
HOST_OS := $(HOST_OS)32
endif
endif

ifeq ($(ARMCC),1)
TOOLCHAIN_NAME := ARMCC
endif

ifeq ($(IAR),1)
TOOLCHAIN_NAME := IAR
endif

#Set the default; Only win32 and arm_gnu supported for now
TOOLCHAIN_NAME ?= GCC

HAL_DIRS := External/hal
HAL_DIRS += External/rtos
HAL_DIRS += External/bsp
INC_DIRS := . WiFi_Host_Driver/src WiFi_Host_Driver/src/include
INC_DIRS += WiFi_Host_Driver/inc
INC_DIRS += $(HAL_DIRS)

INC_FLAGS := $(addprefix -I,$(INC_DIRS))

LDFLAGS :=
ifeq ($(TOOLCHAIN_NAME),GCC)
COMPILER_FLAGS := -Wall -Wmisleading-indentation -Wnarrowing -Wsign-compare -fsigned-char -ffunction-sections -fdata-sections -fno-common -std=gnu11 -fdiagnostics-color -Werror -DNDEBUG -ggdb -O2 -mthumb -mcpu=cortex-m4 -mlittle-endian
COMPILER_SPECIFIC_ARFLAGS_CREATE := -rcs
LDFLAGS := -specs=nosys.specs -Wl,-Map,$(BUILD_FOLDER)/whd.map
DEP_FLAGS := -MMD
else ifeq ($(TOOLCHAIN_NAME),ARMCC)
COMPILER_FLAGS := --target=arm-arm-none-eabi -march=armv8-m.main -mfpu=fpv4-sp-d16 -Wall -Wnarrowing -Wsign-compare -fsigned-char -ffunction-sections -fdata-sections -fno-common -std=gnu11 -fdiagnostics-color -Werror -DNDEBUG -ggdb -O2 -mthumb -mcpu=cortex-m4 -mlittle-endian -fshort-enums
COMPILER_SPECIFIC_ARFLAGS_CREATE := -rcs
DEP_FLAGS := -MMD
else ifeq ($(TOOLCHAIN_NAME),IAR)
COMPILER_FLAGS := --silent --char_is_signed -e --vla --dlib_config full -DNDEBUG --debug -Oh --cpu_mode thumb --cpu Cortex-M4 --endian little --warnings_are_errors --require_prototypes
COMPILER_SPECIFIC_ARFLAGS_CREATE := --create -o
DEP_FLAGS := --dependencies=m +
LDFLAGS := --silent
endif

ifeq ($(TOOLCHAIN_NAME),GCC)
CC := "$(TOOLCHAIN_PATH)arm-none-eabi-gcc"
#LD := "$(TOOLCHAIN_PATH)arm-none-eabi-g++"
AR := "$(TOOLCHAIN_PATH)arm-none-eabi-ar"
else ifeq ($(TOOLCHAIN_NAME),ARMCC)
CC := $(TOOLCHAIN_PATH)armclang
#LD := $(TOOLCHAIN_PATH)armlink
AR := $(TOOLCHAIN_PATH)armar
else ifeq ($(TOOLCHAIN_NAME),IAR)
CC := $(TOOLCHAIN_PATH)iccarm
#LD := $(TOOLCHAIN_PATH)ilinkarm
AR := $(TOOLCHAIN_PATH)iarchive
endif

BUILD_FOLDER := build/whd
MKDIR = mkdir -p $1

rwildcard=$(wildcard $(addsuffix $2, $1)) $(foreach d,$(wildcard $(addsuffix *, $1)),$(call rwildcard,$d/,$2))
SRC_FOLDER := WiFi_Host_Driver/src/
SRC := $(filter %.c,$(call rwildcard,$(SRC_FOLDER),*.c))
OBJ := $(patsubst %.c,%.o, $(SRC))
OBJS = $(addprefix $(BUILD_FOLDER)/,$(OBJ))

CFLAGS := $(COMPILER_FLAGS) $(DEP_FLAGS) $(INC_FLAGS) $(EXTRA_FLAGS)

###################### Set the make variable ###########################################
$(BUILD_FOLDER)/libwhd.a : $(OBJS)
@echo Archiving $@
$(QUIET)$(AR) $(COMPILER_SPECIFIC_ARFLAGS_CREATE) $(BUILD_FOLDER)/libwhd.a $(OBJS)

$(BUILD_FOLDER)/%.o : %.c
@echo Compiling $<
$(QUIET)$(call MKDIR, $(@D))
@echo $(CC) $(CFLAGS) -o $@ -c $< > $@.opts
$(QUIET)$(CC) $(CFLAGS) -o $@ -c $<

DEPS := $(OBJS:%.o=%.d)
-include $(DEPS)

clean :
@echo Removing build/whd
-$(QUIET)$(RM) -r build/whd

.PHONY: all clean
43 changes: 12 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,21 @@ The WHD is an independent, embedded Wi-Fi Host Driver that provides a set of API

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

### WIFI6

### Supported bus interface
---------------------------------
| Interface |55500|55900|55572|
|:-----------:|:---:|:---:|:---:|
| SDIO | O | | O |
| SPI | | | |
| M2M | | | |
| OCI | | O | |
---------------------------
| Interface |55500|55900|
|:-----------:|:---:|:---:|
| SDIO | O | |
| SPI | | |
| M2M | | |
| OCI | | O |

### AP mode support
---------------------------------
| Security |55500|55900|55572|
|:-----------:|:---:|:---:|:---:|
| WPA3 | O | O | O |
| WPA2 | O | O | O |

### WIFI5

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

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

---------------------------
| 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
64 changes: 7 additions & 57 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Wi-Fi Host Driver (WHD) 4.1.0
# Wi-Fi Host Driver (WHD) v4.0.1
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
Expand All @@ -12,76 +12,26 @@ Added offload config support

### Defect Fixes


### WIFI6 Supported Chip

### Known Issues
NA

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

#A1
* --- 28.10.190 ---


#### CYW55900
* --- 28.10.215 ---



### WIFI5 Suppported Chip

* 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
* 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

## Supported Software and Tools
Expand Down
Loading

0 comments on commit 159fbe6

Please sign in to comment.