Wi-Fi Bluetooth for Linux Forum Discussions
Package Version
ahd-2023_1221
Release Date
2023-12-21
Description
Infineon Android release for the broad market.
This release has been qualified on IMX8 SDIO platform and Hikey960 PCIE platform running Android 13.
Customers wishing to leverage the Android Open Source Platform now have an out of the box Android solution for Infineon's connectivity parts.
The release package includes:
* ahd
* 4373-Android13-SDIO
*43012-Android13-SDIO
*43022-Android13-SDIO
*54591-Android13-PCIE
*55572-Android13-SDIO
*AHDBinaries
*device
*firmware
*nvram
* Android13_55572_SDIO_Release_Notes.pdf
* Infineon_55572_Wi-Fi_6_6E_User_Guide.pdf
* confs
* hostapd_supplicant_src
* Android13_PCIE_Bringup.pdf
* Android13_SDIO_Bringup.pdf
* Android13_Feature_Bringup.pdf
Test Environment:
* IMX8 SDIO setup
* Hikey960 PCIE setup
* 55572, 43012, 43022, 54591 and 4373 Sanity, 6G and 11ax features (55572), WOWL via OOB(55572)
and PNO scan offload(55572, 43022)
Show LessDescription
The package contains all the required files (including AIROC™ Bluetooth® stack for ARMv8 Linux, Bluetooth® porting layer, and sample code examples of Bluetooth® profiles) to evaluate and test Bluetooth® Classic and Low Energy on AIROC™ combo chip (CYW4373, CYW43439, CYW55573/2/1).
What's new?
Package comes with codes examples to demonstrate Bluetooth LE Audio capability of CYW55573/2/1 in hosted mode. The code example demonstrates Bluetooth® LE Audio unicast and broadcast functionality.
Functions include:
- Broadcast audio stream scanning
- Receiving broadcast audio stream
- Unicast audio stream establishment
- Unicast audio stream release
- Unicast sink connect to source (1 CIG, 1 CIS)
Bluetooth® Linux Code Examples & Supported Chip
Code example |
Feature demonstration |
Supported chip |
LE Audio CIS Source |
Implements the Unicast Source application using BTSTACK and LE-Audio profile library |
CYW55573/CYW55572/CYW55571 |
LE Audio CIS Sink |
Implements the Unicast Sink application using BTSTACK and LE-Audio profile library |
CYW55573/CYW55572/CYW55571 |
LE Audio BIS Source |
Demonstrates the ability of LE Audio broadcast |
CYW55573/CYW55572/CYW55571 |
LE Audio BIS Sink |
Demonstrates the ability to receive LE Audio broadcast |
CYW55573/CYW55572/CYW55571 |
Linux Bluetooth® Find me |
Demonstrates the Find Me profile which defines the behavior when a button is pressed on one device to cause an alerting signal on a peer device |
CYW55573/CYW55572/CYW55571 |
Linux Bluetooth® hello sensor |
Demonstrates GATT database and device configuration initialization, sending data to the client and processing write requests from the client |
CYW55573/CYW55572/CYW55571 CYW43439,CYW4373 |
Linux Bluetooth® Wi-Fi onboarding |
Demonstrates the feature that enables devices to connect to a Wi-Fi access point without requiring a physical interface |
CYW55573/CYW55572/CYW55571 CYW43439,CYW4373 |
Linux Bluetooth® Headset |
Multiple profile code example that demonstrates the use cases and ability of audio-related functions such as A2DP, AVRCP CT, and HFP |
CYW55573/CYW55572/CYW55571 |
Linux Bluetooth® SPP |
Demonstrates how two devices can establish a wireless communication link that emulates a traditional serial port connection |
CYW43439,CYW4373 |
Package GitHub link: https://github.com/Infineon/ifx-linux-bluetooth
Release notes
Please go through the attached released notes for more details on the package.
Show Lessv5.15.58-2024_0118
Release Date
2024-01-18
Github Link
V5.15.58 backport package: Link
V6.1.19 patch: link
Description
This is Cypress's Linux brcmfmac driver and firmware support package.
Brcmfmac is an open-source driver project.
Files in this release:
Part 1: cypress-fmac-v5.15.58-2023_1128.zip
* Backports package (cypress-backports-v5.15.58-2023_1128-module-src.tar.gz)
* Firmware/clm_blob files (cypress-firmware-v5.15.58-2023_1128.tar.gz)
* Cypress fmac patch files (cypress-patch-v5.15.58-2023_1128.tar.gz)
* Device tree files (cypress-devicetree-2023-11-28.tar.gz)
* hostapd/wpa_supplicant patch (cypress-hostap_2_10-2023_1128.tar.gz)
* Cypress customer patch (cypress-custom-patch-5.4.21.tar.gz)
* Cirrent Agent (cypress-cirrent-1.60.tar.gz)
* Documents (docs/)
* README
Part 2: cypress-patch-v6.1.19-2023_1128.zip
* Cypress fmac patch files for Vanilla v6.1.19(cypress-patch-v6.1.19-2023_1128.tar.gz)
* Infineon-Vanilla-Kernel-v6.1.19-Bring-up-Reference_20201221.pdf
Checksum
cypress-fmac-v5.15.58-2023_1128 sha256sum:
990b5f6beeb9530525f254977569fd25936e09f9ef1bf36ca52118e73dff3e68 cypress-backports-v5.15.58-2023_1128-module-src.tar.gz
ce3bb31020e5ffe24fe549802440c137d14a05ad77af3e8e1fb9e184db96ed55 cypress-cirrent-1.60.tar.gz
0c8da2efe289115f2242aa3f69de5bc616cb893ecd411e11194c4c008418bb2e cypress-custom-patch-5.4.21.tar.gz
c38cca05bb05db6198af7809c7a2e519cb33a06b02ebd4d626588c9038f7259b cypress-devicetree-2023-11-28.tar.gz
92608ceb4509cc02730833ce2119662b3c116a3956ca303245e97378186dc2a3 cypress-firmware-v5.15.58-2023_1128.tar.gz
771099830bd106307e77ebdd4d27a3e18de27bb60889c4db4bca81f44ade495d cypress-hostap_2_10-2023_1128.tar.gz
8fe7d8b677032fb04374615aae27c5a3131499956dc22ddb420847a3876974c6 cypress-patch-v5.15.58-2023_1128.tar.gz
cypress-patch-v6.1.19-2023_1128 sha256sum:
933ac3a50f0146b4078beb5e398c75a93ab0a1979a93d120a1c0ba2a06ab0ff7 Infineon-Kernel-v6.1.19-Bring-up-Reference.pdf
ac23fabed00e5c5ab0c3720fa0eb6fa135a589e009714f783701fe557abe3fe7 v6.1.19-2023_1128.tar.gz
Part 3: cypress-fmac-v5.15.58-2024_0118.zip
8ccbebf31bf69c85dc7d05fb7e3597fa282c3ba5373d76b2a65364191abb14d0 cypress-backports-v5.15.58-2024_0118-module-src.tar.gz
ce3bb31020e5ffe24fe549802440c137d14a05ad77af3e8e1fb9e184db96ed55 cypress-cirrent-1.60.tar.gz
92e7196a896fa65138c8297d4202a1811564605360f807faa2c8af310eddeb2e cypress-custom-patch-5.4.21.tar.gz
40dd314cee28149028a2d524ccd5d25f20336c7314e1e26654daecf4c9a796d2 cypress-devicetree-2024-01-18.tar.gz
739d1fae54d885e136847af2957821324c18c68622f204992e268b991172da53 cypress-firmware-2024_0118.tar.gz
2a411fb64818b054498645f64e3ef3b29e4db9a36b65987d9a3af76c2d60f765 cypress-hostap_2_10-2024_0118.tar.gz
8e43bc4487c5d4e77880e2fc9d3152a011063c5b0f3871e277561f0108a88304 cypress-patch-v5.15.58-2024_0118.tar.gz
[Change Log]
2023-12-18 Initial Post
2023-12-22 Add cypress-patch-v6.1.19 to support build brcmfmac on 6.1.19
2024-01-18 Fix for system crash post suspend and resume with CYW55572/55573 [PCIe]
The BT assets of AIROC Bluetooth Stack (Linux) Release are all on GitHub now.
Description:
AIROC Bluetooth Stack is Infineon's Bluetooth Host Protocol Stack implementation. The stack is optimized to work with Infineon Bluetooth controllers. The BTSTACK supports Bluetooth BR/EDR and BLE core protocols. This page provides the Github links to get started with application developments in Linux platform using AIROC Bluetooth Stack.
Please find the code examples :
Code Examples:
https://github.com/Infineon/linux-example-btstack-wifi-onboarding
https://github.com/Infineon/linux-example-btstack-wakeonle
https://github.com/Infineon/linux-example-btstack-bas
https://github.com/Infineon/linux-example-btstack-hello-sensor
https://github.com/Infineon/linux-example-btstack-alert-client
https://github.com/Infineon/linux-example-btstack-alert-server
https://github.com/Infineon/linux-example-btstack-headset
https://github.com/Infineon/linux-example-btstack-a2dp-source
https://github.com/Infineon/linux-example-btstack-a2dp-sink
https://github.com/Infineon/linux-example-btstack-spp
https://github.com/Infineon/linux-example-btstack-handsfree-unit
https://github.com/Infineon/linux-example-btstack-handsfree-ag
Show Less
The latest Infineon Linux Wi-Fi driver (FMAC) release can be accessed here:
Sr. No. | Driver release name | Release link |
1 | Backports v5.15.58-2023_1128 |
Public forum link: https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2023-11-28/td-p/662238 |
2 | 6.1 Latest kernel for RPI : RPI-6.1.21 IFXFMAC |
Github: https://github.com/Infineon/rpi-linux-kernel/releases/tag/6.1.21-hedorah-IFXFMAC-20231128 |
3 | 6.1 Kernel on BRCMFMAC |
Github: https://github.com/Infineon/ifx-wireless-drivers/tree/RTM/v6.1.19-hedorah |
Documentation is available in docs folder of cypress-fmac-v5.15.58-2023_1128.zip available at this link https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2023-11-28/td-p/662238
The older/archived Wi-Fi driver releases can be accessed here:
Show Less
Package Version
ahd-2022_1223
Release Date
2023-01-03
Description
Cypress Android release for the broad market.
This release has been qualified on Hikey 960 platform.
Customers wishing to leverage the Android Open Source Platform now have an out of the box Android solution for Cypress's connectivity parts.
The release package includes:
* ahd
* device
*hikey960
* firmware
* nvram
* 55572_AndroidBringup.pdf
Test Environment:
* Hikey 960
* 55572 Sanity and VTS
Change Log
[2022-12-23]
* Initial post
Show LessHi there,
We are trying to fcc wifi certify our project which uses a custom buildroot toolchain and arm processor.
We need help to compile the wl_tool so we can proceed with certification, but we need it to be cross compiled for our architecture (arm 32bit).
Can I ask a representative to help us to compile it with our custom toolchain?
CPU Info:
- armv7l
- little-endian
- hard-float ABI
- neon/vfpv4
Custom Toolchain Instructions:
- download toolchain
- extract toolchain:
tar jxf arm-co6-linux-uclibcgnueabihf_sdk-buildroot_2021.02.1.tar.xz - cd to arm-co6-linux-uclibcgnueabihf_sdk-buildroot
- ./relocate_sdk.sh
- add toolchain into path e.g.
export PATH="$PATH:$PWD/usr/bin" - Set cross compile variables:
export ARCH=arm
export CROSS_COMPILE=arm-co6-linux-uclibcgnueabihf-
Tagging @VinayakS_26 / @raks_99 / @DoubleLo as I found they have helped another customer to do this.
Show Less
Hi Infineon Team,
We are using CYW43455 WiFi chip on iMX8MMini processor with Android 11 OS.
We want to operate only on 2.4GHz band i.e should not connect to 5GHz APs.
How and where to do this change in code?
Thanks.
Show LessI am running into an issue where every time my cyw43455 module has a firmware crash, the Linux kernel will experience memory corruption that eventually leads to the kernel locking up.
My setup:
STM ARM MPU
Linux 5.10.61
release-v5.10.9-2022_0511 patches/firmware from cypress
Murata 1MW chip (cyw43455) connected over 4 bit SDIO.
I have an issue where the module firmware is crashing when running WiFi (Bluetooth is powered off). I cannot reproduce the issue on demand, but I am trying to address what I consider a more severe issue of Linux becoming unusable. This seems to happen every time the module firmware crashes.
It is difficult to get much information from the device in this state, but I am seeing the following in dmesg:
ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
ieee80211 phy0: brcmf_cfg80211_mgmt_tx: Failed to send Auth frame: err=-110
brcmfmac: brcmf_sdiod_probe: Failed to set F1 blocksize
brcmfmac: brcmf_sdio_bus_reset: Failed to probe after sdio device reset: ret -123
immediately after this I get either
8<--- cut here ---
Unable to handle kernel paging request at virtual address fffffffd
or
8<--- cut here ---
Unable to handle kernel NULL pointer dereference at virtual address 00000014
with various stack traces.
From what I can tell, the brcmfmac driver is trying to reset the hardware to restore functionality. In brcmf_sdio_bus_reset (sdio.c ), mmc_hw_reset() is called, but the return value is never checked to see if the reset was done asynchronously. This is a problem because the driver goes on to re-probe the SDIO device before the reset is finished. I have not dug any deeper, but I would like to know if Infineon is aware of this problem and whether a fix is planned for a future release.
Any help verifying this issue would be appreciated.
Thanks,
Show LessPackage Version
ahd-2022_0909
Release Date
2022-09-20
Description
Cypress Android release for the broad market.
This release has been qualified on Hikey 960 and NXP i.MX8MQuad Evaluation Kit (EVK) platform.
Customers wishing to leverage the Android Open Source Platform now have an out of the box Android solution for Cypress's connectivity parts.
The release package includes:
* ahd
* device
*hikey960
*imx8mq
* firmware
* nvram
* 89570_AndroidBringup.pdf
Test Environment:
* Hikey 960
* NXP i.MX8MQuad Evaluation Kit
* 55572 Sanity and VTS
Change Log
[2022-09-20]
* Initial post
Show Lesshi,
As title. I studied this thread.
But how to deal this error message. Any proper way to fix this build error or just comment out and ignore this??
/home/mgkiller/aw-nm372sm/v5.4.18-backports/compat/backport-genetlink.c:290:44: warning: passing argument 2 of 'genl_register_ops' from incompatible pointer type [-Wincompatible-pointer-types]
err = genl_register_ops(&family->family, ops + i);
Austin
Show LessMy setup:
- ARM host processor running 5.10 Linux.
- Murata 1MW BT/Wi-Fi combo chip (BCM43455) over SDIO
- Wi-Fi firmware: version 7.45.249
- Using linux/hostapd patch sets from "cypress-fmac-v5.10.9-2022_0511"
The issue:
After removing the brcmfmac kernel module, Bluetooth performs very poorly (drops active connections, scan no longer detects devices, sco audio is extremely crackly if the connection does not drop, etc.). This is only observed if Wi-Fi was associated to an AP within 3 seconds of kernel module removal. Re-inserting the module always corrects the issue.
Example steps to reproduce the issue:
- Start with brcmfmac modules loaded and associated to an AP, then run the following in a script:
ifdown wlan0
modprobe -r brcmfmac
- Bluetooth performs poorly
Then, I ran the following test:
- Start with brcmfmac modules loaded and associated to an AP, then run the following in a script:
wpa_cli disconnect
sleep 3
ifdown wlan0
modprobe -r brcmfmac
- Bluetooth functions normally.
Once I realized a 3 second delay after disconnect prevented the issue, I investigated to see how late in the module removal the delay could be placed before the issue began to occur again. I tried moving the delay into the kernel module itself and found that as long as the 3 second delay is put before the call to brcm_chip_set_passive() made in brcmf_sdio_remove(), then the issue is avoided. If I place it after that call, then I experience the poor Bluetooth performance.
It seems like the module is left in a state where Bluetooth is in low priority. Perhaps the module is still attempting to disassociate with the network when the chip is placed in passive mode? I am trying to understand what is happening so that I can avoid this issue properly, rather than inserting a long delay and hoping it is always sufficient.
Any insight as to what is happening would be greatly appreciated. It is difficult to find information on the BT/Wi-Fi coexistence mechanism used by this chip.
Thank you,
Show LessHi Infineon Team,
We are using CYW43455 chip for WiFi in iMX8MM board working on Android 11 OS. We have completed the bringup for WiFi but it is not supporting WPA3 connections.
When we try to connect wifi with iphone hotspot, it doesnt connect. When we checked the logs, we found the following:
wpa_supplicant: wlan0: WPA: Failed to select authenticated key management type
wpa_supplicant: wlan0: WPA: Failed to set WPA key management and encryption suites
Does CYW43455 support WPA3 SAE? I couldnt find WPA3 support in the datasheet.
If it supports, could you please guide us in enabling the WPA3 profile in Android 11 OS for this IC?
Thanks,
Hrithik
Show Less
Hi Infineon Team,
We are working on iMX8M Mini on Android 11 OS.
We require bringup patches and document for WiFi bringup in CYW43455 chip in the mentioned platform.
Kernel Version: 5.10
Android 11 OS
iMX8M Mini
Could you kindly provide the same at the earliest.
Thanks.
Show LessHi All,
We are using CYW43012 chipset and here are our details:
Firmware version:
1.21 RC0.0
wl0: Feb 21 2022 07:19:28 version 13.10.271.283 (211da63 CY) FWID 01-18f4ac2
Driver Version:
Backported Linux Version v5.10.9-2022_0321-0-ga0971bc0b123
wl clmver:
API: 18.2
Data: 9.10.0
Compiler: 1.36.1
ClmImport: 1.34.1
Creation: 2019-12-13 03:26:37
We are using roam_off=0 option so that roaming decisions are taken by host and do post connection scan i.e. background scan from driver.
We have observed that firmware is trying to send Null Data packets in unconnected state and retries sending multiple times as no AP responds (as expected) causing intermittent packet loss as we are not in home channel.
Attached a pcap where the device is connected in Channel 36 but it tries to send Null data in channel 40 as well continuously. We are not seeing this issue in CYW43455 chipset product we have with the same driver and firmware.
Any help ASAP is deeply appreciated. @raks_99 @GauravS_31 @VinayakS_26
Regards,
Rupesh.
Show LessHi,
I want to port driver for CYW43455. I used this Cypress Linux WiFi Driver Release (FMAC) [2020-06-25] ,
Target platfrom is ST sta1275 DV12.5,
During the cross compilation of modules, I have seen the following warning.
root@sta1275-evb-mmc:~/aher_ko# insmod compat.ko
insmod: ERROR: could not insert module compat.ko: Unknown symbol in module
dmesg shows :
[ 59.569745] compat: Unknown symbol kmem_cache_alloc_trace (err 0)
[ 59.569905] compat: Unknown symbol __gnu_mcount_nc (err 0)
Could you help to fix this issue? Thanks a lot.
Show LessIs there any user manual or bring up sequence for murata 1XA bluetooth? I want use bluetooth on my specific evb but don't know how to enable it. etc. which driver? any patch? device tree? firmware?
Show Less