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
Does the driver brcm43430 / cyfmac43430 support setting bitrates with iw?
I'm getting the following error when trying to force valid bitrates for a variety of brcm43430-sdio.bin / cyfmac43430-sdio.bin driver versions (7.45.98.38, 7.45.98.94, 7.45.98.97).
$ iw wlan0 set bitrates legacy-2.4 18 24 36 48 54
command failed: Not supported (-95)
Falling back to the default set produces the same error:
$ iw wlan0 set bitrates
command failed: Not supported (-95)
Show LessI'm excited to let the Infineon developer community know that Murata’s own support community is now up and running at https://community.murata.com/s/
The Murata Linux team (ScKe_1713761, BiCh_3977566) is now supporting all i.MX hosted wireless inquiries for Cypress based partner modules via a set of dedicated folders using various tags like "1DX" (CYW4343W), "1MW" (CYW43455), "1LV" (CYW88395), "1CX" (CYW4356), and "1XA" (CYW54591).
In addition, Murata is also supporting ecosystem partners like Embedded Artists that provide comprehensive development platforms and M-2 modules which enable Cypress silicon.
The Murata broad market support team holds regular reviews to discuss open issues, so you can be assured that your inquiry will be answered in a timely manner.
The attached presentation explains how to go about setting up an account on their new support platform.
Show LessTrying to add WPA3 for BCM4359, but wpa_supplicant will fail to start if ieee80211w was set to 1 or 2.
We suspect the driver we have may not have PMF support, is there a way to check?
The .config for compiling is attached.
The configuration for wpa_supplicant is:
network={
ssid="HelloWorldWPA3"
psk="VeryCoolPassword"
proto=RSN
key_mgmt=SAE
group=CCMP
pairwise=CCMP
mode=2
frequency=2412
ieee80211w=2
}
Show LessHi Folks,
I’m using CYM43455 module with the customized board and Jetson Xavier NX SoM.
When I try to pair bluetooth with other bluetooth supported device like mobile, the pairing does not occur.
The bluez version used is 5.48
The problem is when the “pair” command is issued, it connects for one instance and disconnects immediately in less than 30seconds.
The device is not getting paired and the connection is also not established.
( Below logs for reference)
[bluetooth]# pair F4:F5:F6:F3:88:3C
Attempting to pair with F4:F5:F6:F3:88:3C
[CHG] Device F4:F5:F6:F3:88:3C Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device F4:F5:F6:F3:88:3C Connected: no
I tried using connect <bt-adrs>
command too and got the below error.
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
I have also tried the solutions given in the link Pairing issue with Bluetooth in CYW43455 question chain.
Still the issue exists.
I am attaching the btmon logs below.
Can anyone please help me find the cause of the issue?
Thanks,
Bala
Show LessHello, Infineon/Cypress team
[Issue]
We are evaluating below FMAC driver below to use CYW43455. The FMAC driver occurs memory leak.
https://community.cypress.com/docs/DOC-21490
[Test Procedure]
kernel version: 4.14.78
for i in `seq 1 100`
do
top -n 1
insmod compat.ko
insmod cfg80211.ko
insmod brcmutil.ko
insmod brcmfmac.ko
sleep 1
rmmod brcmfmac
rmmod brcmutil
rmmod brcm80211
rmmod cfg80211
rmmod compat
done
[Consideration]
Under our investigation, we narrow down two suspected locations to cause a memory leak.
1)
<cypress-fmac-v5.4.18-2020_0925\v5.4.18-backportscompat\backport-genetlink.c>
Line 230:
ops = kzalloc(sizeof(*ops) * (family->n_ops + 1), GFP_KERNEL);
2)
"backport_x509_cert_parse" in compat.ko
[Need Help]
Can Cypress fix this memory leak phenomenon?
We are happy if Cypress(Infineon) provides us a fixed patch for the FMAC source code.
Thanks,
Yoshinori
Show LessHi Team,
I added the CYW43455 WIFI/BT chip support in the Jetson Platform using the following driver/firmware Cypress Linux WiFi Driver Release (FMAC) [2020-09-25]
Wi-Fi is working but it supports only 802.11 a/b/g modes. And I am not able to use 5Ghz in AP mode.
1) How to add support for 802.11 n/ac modes?
2) Does 802.11 n/ac support added by firmware or any other layer of WIFI interface?
3) Is there any procedure/commands to verify the 802.11 ac mode?
Thanks,
Ajith.
Show LessHi Team,
I’m using CYM43455 module with the customized board and Jetson Xavier NX SoM.
When I try to do hciattach command, first few times the command is not working.
$ sudo hciattach /dev/ttyTHS0 bcm43xx
It gives the below errors.
bcm43xx_init
Failed to reset chip, invalid HCI event
Can't initialize device: Success
bcm43xx_init
Initialization timed out
Tried increasing timeout using argument -t in hciattach too.Still Initialization times out.
When the hciattach command is given repeatedly, after few attempt, the command works.
$ sudo hciattach /dev/ttyTHS0 bcm43xx
bcm43xx_init
Set Controller UART speed to 3000000 bit/s
Device setup complete
Can you please help in finding the cause of this issue?
Show LessI'm trying to test the cyfmac54591 module with an NVIDIA Jetson Nano, and running into an issue with loading FW during 'insmod brcmfmac.ko' :
from dmesg:
[ 785.339047] brcmfmac 0000:01:00.0: loading /lib/firmware/cypress/cyfmac54591-pcie.nvidia,jetson-nano.txt failed with error -22
[ 785.350588] brcmfmac 0000:01:00.0: Direct firmware load for cypress/cyfmac54591-pcie.nvidia,jetson-nano.txt failed with error -22
[ 785.362525] brcmfmac 0000:01:00.0: Falling back to user helper
[ 785.373246] brcmfmac 0000:01:00.0: Direct firmware load for cypress/cyfmac54591-pcie.txt failed with error -2
[ 785.383346] brcmfmac 0000:01:00.0: Falling back to user helper
[ 785.560814] ieee80211 phy3: brcmf_fw_crashed: Firmware has halted or crashed
[ 787.570305] ieee80211 phy3: brcmf_msgbuf_query_dcmd: Timeout on response for query command
[ 787.579030] ieee80211 phy3: brcmf_c_preinit_dcmds: Retrieving cur_etheraddr failed, -5
[ 787.587234] ieee80211 phy3: brcmf_bus_started: failed: -5
[ 787.592815] ieee80211 phy3: brcmf_attach: dongle is not responding: err=-5
[ 787.619723] brcmfmac 0000:01:00.0: brcmf_pcie_setup: Dongle setup failed
I've compiled the kernel modules (compat, cfg80211, brcmutil, brcmfmac) on the Jetson Nano using sources from cypress-backports-v5.4.18-2020_0925-module-src.tar.gz, and copied the contents of cypress-firmware-v5.4.18-2020_0925.tar.gz to a new folder /lib/firmware/cypress. I modified the kernel config file as described in the README in order to prevent error during 'insmod compat.ko'
I don't see any .txt files in my /lib/firmware/cypress folder, is there a way to specify which FW file to use, or am i supposed to generate the .txt file somehow?
root@localhost:~/cypress$ ll /lib/firmware/cypress/*54591*
-rw-r--r-- 1 root root 616914 Jan 28 16:04 /lib/firmware/cypress/cyfmac54591-pcie.bin
-rw-r--r-- 1 root root 5764 Jan 28 16:04 /lib/firmware/cypress/cyfmac54591-pcie.clm_blob
root@localhost:~/cypress$ lspci -v
.
.
.01:00.0 Network controller: Broadcom Inc. and subsidiaries Device 4417 (rev 0d)
Subsystem: Broadcom Inc. and subsidiaries Device 0751
Flags: fast devsel, IRQ 82
Memory at 13400000 (64-bit, non-prefetchable) [size=32K]
Memory at 13000000 (64-bit, non-prefetchable) [size=4M]
Capabilities: [48] Power Management version 3
Capabilities: [58] MSI: Enable- Count=1/16 Maskable- 64bit+
Capabilities: [68] Vendor Specific Information: Len=44 <?>
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-38-ff-ff-00-38-0f
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Capabilities: [1b0] Latency Tolerance Reporting
Capabilities: [220] #15
Capabilities: [240] L1 PM Substates
Kernel modules: bcmdhd_pcie
Thank you for your time
Show LessHi
our team has to build sama5d3_xplained based board currently we are stuck in the wifi+bt section.
we are using the "Cypress CYW4343W" chipset below link given.
link https://wireless.murata.com/type-1dx.html
We are using buildroot-at91 (https://github.com/linux4sam/buildroot-at91).
we try to integrate wifi+bt with SAMA5D3 but we do not get any solution.
now, what steps needed in the Linux kernel to get WiFi+Bluetooth in life.
thank you
Show Less