Wi-Fi Bluetooth for Linux Forum Discussions
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 LessPackage Version
v5.15.58-2022_1223
Release Date
2022-12-23
Description
This is Cypress's Linux brcmfmac driver and firmware support package.
Brcmfmac is an open-source driver project.
Files in this release:
* Backports package (cypress-backports-v5.15.58-2022_1223-module-src.tar.gz)
* Firmware/clm_blob files (cypress-firmware-v5.15.58-2022_1223.tar.gz)
* Cypress fmac patch files (cypress-patch-v5.15.58-2022_1223.zip)
* Device tree files (cypress-devicetree-2022-12-22.tar.gz)
* hostapd/wpa_supplicant patch (cypress-hostap_2_10-2022_1223.tar.gz)
* Cirrent Agent (cypress-cirrent-1.60.tar.gz)
* README
abe7f11b4379f60734436203fc4abea7bdd7fa2256835c14db69bbe6fe703699 cypress-backports-v5.15.58-2022_1223-module-src.zip
cdf9039c11f8feaead6ae736c14687c70e2feaccb7b081ef9b6a86dc487b1bb6 cypress-cirrent.zip
34b69f1b668831619b1e6a8382dcdc774c52909f63d9045591f57266ebb1ed54 cypress-devicetree.zip
1fef7d1e8933395b58113e7e3d6967cf04ce7354fe8bfcb8021c72bed48beac0 cypress-firmware-v5.15.58-2022_1223.zip
29d5a063b64e5e90b51c9e55902d4dd906d380d14f1fb7462e23a41ed7c67c80 cypress-fmac-v5.15.58-2022_1223.zip
835e2fdc923a68b3684ed77d0679029d958a377333c7bb8d9e9ba9c134905447 cypress-hostap_2_10-2022_1223.zip
f8cc4882c235d844f4cc1c54e1c3a4e3cfe7dfca9de840daea4d0b6cfcf61ebe cypress-patch-v5.15.58-2022_1223.zip
[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