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
Hello,
I am trying to test the bluetooth functionality of the CYW54591 chipset on the NVIDIA Jetson Nano (running Linux 4.9). The PCIE (WiFi) interface is working as expected but I am not able to 'attach' to the UART interface of the m.2 module that I am testing. I've tried different hciattach commands, such as:
hciattach /dev/ttyTHS2 any 921600 noflow
but I am not able to find one that successfully finishes initialization. Is there an 'hciattach' command that should work for the CYW54591?
I don't see any drivers specifically for the bluetooth in the driver package that I downloaded for WiFi:
is there another package that contains the bluetooth drivers for the chip?
Thanks for your help
Show LessHello,
As channels 12 & 13 seem to be disabled, I assume wifi chipset is configured for US.
How can I change the country under Linux?
I add country=FR in wpa-supplicant conf file without success
I try to use iw without success too
# iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
# iw reg set FR
# iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
What is Cypress recommend way to set the Country in Linux?
Regards
Baptiste Moraine
Show Less
Hi,
I have been trying to connect phone on the i.MX8QM development board with Bluetooth module Cypress CYW4356. My phone is connected to the board and i am able access the caller app on the board. Using that i made a call to another device and calling is done. But no audio is getting in both devices, which i guess some issues in routing call from the board. The board is connected with a speaker system and we can able able play a music from phone via Bluetooth using an app (media player). I think Bluetooth audio routing has any issue. Could you suggest a method so that i can able to use Bluetooth for telephonic purpose. Thank you.
Regards,
Aravind
Hello,
We're using a CYM43455 with Android 8.1, Kernel 4.9, with the brcmfmac driver from the backports package in Cypress Linux WiFi Driver Release (FMAC) [2020-09-25].
We are not able to achieve the same 5GHz throughput using iperf in lab conditions using the brcmfmac driver compared to our vendor's (AzureWave) preferred cymdhd driver. The cywdhd driver achieves 103 Mbits/sec in client mode, while the brcmfmac driver only achieves 86 Mbits/sec.
For the cymdhd driver to achieve its highest throughput, its driver required optimizations such as "tcp delayed ack", "rx frame thread" concurrency, and others that do not look to be available options in the brcmfmac driver.
What is the highest 5Ghz throughput we can expect with the bcrmfmac driver and CYM43455, considering the cymdhd driver can achieve 100+MBits/sec on the same hardware under the same conditions? Is it possible to match the performance of the cymdhd driver when the offloading and concurrency it depends on does not seem to be available in the brcfmac driver?
Thanks!
Show LessHello,
We're currently using the BCMDHD driver with an Allwinner A50 BSP with Android 8.1 oreo and Kernel 4.9. We are moving to the CYW43455 with Azurewave as our module provider and we're not clear what would be the best driver to use:
1. BCMDHD is provided in the A50 BSP, and we have been using it successfully with our previous module supplier
2. CYWDHD is provided by Azurewave as their preferred driver, but seems like it is an older fork of BCMDHD and has seen very little development compared to the BSP's BCMDHD.
3. BRCMFMAC is Cypress's preferred path forward for security updates and feature support (WPA3/DPP etc), but we're not sure how risky / labor intensive it is to port it to our BSP's 4.9 kernel?
Any insights would be much appreciated - which driver should we use? Thanks!
Show LessPackage Version
v5.4.18-2021_0114
Release Date
2021-01-21
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.4.18-2021_0114-module-src.tar.gz)
* Firmware/clm_blob files (cypress-firmware-v5.4.18-2021_0114.tar.gz)
* Cypress fmac patch files (cypress-patch-v5.4.18-2021_0114.tar.gz)
* Device tree files (cypress-devicetree-2021-01-21.tar.gz)
* hostapd/wpa_supplicant patch (cypress-hostap_2_9-2021_0114.tar.gz)
* Cirrent Agent (cypress-cirrent-1.60.tar.gz)
* README
Checksum
a3e914ed8e3b2e5057cdd3c6ab09ff2771a745bd767ba7aada33efe872b57899 cypress-fmac-v5.4.18-2021_0114.zip 17b987189e50fb539151e2931cf7deffe261a4c1e16a4ee4b08aca604480e03f cypress-backports-v5.4.18-2021_0114-module-src.tar.gz ce3bb31020e5ffe24fe549802440c137d14a05ad77af3e8e1fb9e184db96ed55 cypress-cirrent-1.60.tar.gz 48a7f1a4935ac6286698d19149186c3b3ae11d0d68a2301e301fdfeeba453cb1 cypress-devicetree-2021-01-21.tar.gz c4bcfc14575a0d6a1954bc0c140eb2130ca8f2059194cee77b59e69fe7d0212d cypress-firmware-v5.4.18-2021_0114.tar.gz 074accc6e89882aaf3c3b05624f01d7669b64afab283e4d2ea33212791a5ea19 cypress-hostap_2_9-2021_0114.tar.gz 7cdee40e7df02718cea56d48358863eb6bd63c0ff641d82f5a5b566a66f644f7 cypress-patch-v5.4.18-2021_0114.tar.gz
Note
The same driver/firwmare is also released on GitHub. Here's the landing repo:
https://github.com/cypresssemiconductorco/ifx-linux-wireless
Change Log
[2021-03-05]
- Initial Post
Framework Version
cy-imx-android-10.0.0_2.0.0-6
Kernel Verison
Linux localhost 5.4.3-00002-ga85b5953f05b #1 SMP PREEMPT Wed Dec 23 07:58:53 CST 2020 aarch64
FMAC Version
v5.4.18-gamera-android-2-0-gde98449dbb46
Release Date
2021.01.22
Description
Cypress Android release for the broad market based on the NXP Android 10.0.0_2.0.0 release.
This release has been qualified on the 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:
* backports-wireless
* cypress-fmac-patches
* firmware
* nvram
* aosp-patches
* utilities
* build.sh
* Cirrent Agent 1.50
* README
Test Environment
* ARM64 (NXP i.MX8MQuad Evaluation Kit)
* NXP Android 10.0.0_2.0.0
* 4354/45455/43012 Sanity and VTS
Change Log
[2021-03-05]
* Initial post
Show LessPackage Version
v5.4.18-2021_0114
Release Date
2021-01-21
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.4.18-2021_0114-module-src.tar.gz)
* Firmware/clm_blob files (cypress-firmware-v5.4.18-2021_0114.tar.gz)
* Cypress fmac patch files (cypress-patch-v5.4.18-2021_0114.tar.gz)
* Device tree files (cypress-devicetree-2021-01-21.tar.gz)
* hostapd/wpa_supplicant patch (cypress-hostap_2_9-2021_0114.tar.gz)
* Cirrent Agent (cypress-cirrent-1.60.tar.gz)
* README
Checksum
a3e914ed8e3b2e5057cdd3c6ab09ff2771a745bd767ba7aada33efe872b57899 cypress-fmac-v5.4.18-2021_0114.zip 17b987189e50fb539151e2931cf7deffe261a4c1e16a4ee4b08aca604480e03f cypress-backports-v5.4.18-2021_0114-module-src.tar.gz ce3bb31020e5ffe24fe549802440c137d14a05ad77af3e8e1fb9e184db96ed55 cypress-cirrent-1.60.tar.gz 48a7f1a4935ac6286698d19149186c3b3ae11d0d68a2301e301fdfeeba453cb1 cypress-devicetree-2021-01-21.tar.gz c4bcfc14575a0d6a1954bc0c140eb2130ca8f2059194cee77b59e69fe7d0212d cypress-firmware-v5.4.18-2021_0114.tar.gz 074accc6e89882aaf3c3b05624f01d7669b64afab283e4d2ea33212791a5ea19 cypress-hostap_2_9-2021_0114.tar.gz 7cdee40e7df02718cea56d48358863eb6bd63c0ff641d82f5a5b566a66f644f7 cypress-patch-v5.4.18-2021_0114.tar.gz
Note
The same driver/firwmare is also released on GitHub. Here's the landing repo:
https://github.com/cypresssemiconductorco/ifx-linux-wireless
Change Log
[2021-03-05]
- Initial Post
Hello,
We're currently using a CYW43455 and porting brcmfmac to and Android 8.1 BSP w/ Kernel 4.9 using backports v5.4.18. We used to be using the bcmdhd driver. bcmdhd will load a 'config.txt' file that sets certain configurations that don't seem to be available in the brcmfmac driver?
This config.txt file allows us to configure things like the supported bands, bw_caps, channels etc.. for different scenarios. Specifically we would like to disable 5Ghz entirely, which we would previously accomplish by setting "band=b" in bcmdhd's config.txt.
How do we support these configurations in brcmfmac?
Thanks!
Show LessHello,
We are trying to use the brcmfmac backports driver for a CYW43455 on and Allwinner BSP using Android 8.1 + Kernel 4.9. We were previously using the bcmdhd driver + hal (using libhardware_legacy) provided by the Allwinner BSP. We have built the brcmfmac backport kernel modules (v5.4.18-2020_0925), and the firmware (provided by our vendor AzureWave) is being loaded successfully:
6,7572,90624538,-;brcmfmac: brcmf_fw_alloc_request: using /system/vendor/modules/fw_cyw43455 for chip BCM4345/6
6,7574,90677612,-;brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 16 2020 21:23:41 version 7.45.203 (r724662 CY) FWID 01-4cfc72ea
However the wlan0 network device is not available, and the WifiVenorHal fails to load:
02-24 23:00:31.013 1990 2239 D WifiService: setWifiEnabled: true pid=22334, uid=0, package=com.android.shell
02-24 23:00:31.013 1990 2239 I WifiService: setWifiEnabled package=com.android.shell uid=0 enable=true
02-24 23:00:31.014 1990 2116 D WifiStateMachine: setting operational mode to 1
02-24 23:00:31.014 1990 2116 D WifiStateMachine: setting operational mode to 1
02-24 23:00:31.015 1990 2117 D WifiStateMachine: InitialState !CMD_SET_OPERATIONAL_MODE rt=10880343/10880343 1 0
02-24 23:00:31.015 1990 2117 D WifiStateMachine: InitialState !CMD_START_SUPPLICANT rt=10880343/10880343 0 0
02-24 23:00:31.015 1990 2117 D HalDeviceManager: isSupportedInternal
02-24 23:00:31.017 1990 2117 D HalDeviceManager: startWifi
02-24 23:00:31.018 1682 1682 I android.hardware.wifi@1.0-service: Wifi HAL started
02-24 23:00:31.018 1990 2101 D HalDeviceManager: IWifiEventCallback.onStart
02-24 23:00:31.018 1990 2117 D HalDeviceManager: initIWifiChipDebugListeners
02-24 23:00:31.019 1990 2117 D HalDeviceManager: getChipIds=[0]
02-24 23:00:31.021 1990 2117 D HalDeviceManager: createIface: ifaceType=0
02-24 23:00:31.022 1990 2117 D HalDeviceManager: getAllChipInfo
02-24 23:00:31.022 1990 2117 D HalDeviceManager: getChipIds=[0]
02-24 23:00:31.027 1990 2117 D HalDeviceManager: validateInterfaceCache
02-24 23:00:31.028 1990 2117 D HalDeviceManager: createIfaceIfPossible: chipInfos=[{chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0)], ifaceType=0
02-24 23:00:31.028 1990 2117 D HalDeviceManager: {.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]} expands to [[1, 0, 1, 0]]
02-24 23:00:31.029 1990 2117 D HalDeviceManager: canIfaceComboSupportRequest: chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipMode={.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, chipIfaceCombo=[I@f320350, ifaceType=0
02-24 23:00:31.029 1990 2117 D HalDeviceManager: compareIfaceCreationData: val1={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[]), val2=null
02-24 23:00:31.029 1990 2117 D HalDeviceManager: new proposal accepted
02-24 23:00:31.030 1990 2117 D HalDeviceManager: {.limits = [{.types = [1], .maxIfaces = 1}]} expands to [[0, 1, 0, 0]]
02-24 23:00:31.030 1990 2117 D HalDeviceManager: canIfaceComboSupportRequest: chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipMode={.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}, chipIfaceCombo=[I@dfd924e, ifaceType=0
02-24 23:00:31.030 1990 2117 D HalDeviceManager: Requested type not supported by combo
02-24 23:00:31.031 1990 2117 D HalDeviceManager: compareIfaceCreationData: val1=null, val2={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[])
02-24 23:00:31.031 1990 2117 D HalDeviceManager: executeChipReconfiguration: ifaceCreationData={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[]), ifaceType=0
02-24 23:00:31.031 1990 2117 D HalDeviceManager: isModeConfigNeeded=true
02-24 23:00:31.032 1682 1682 E android.hardware.wifi@1.0-service: wifi_load_driver: Start to insmod brcmfmac.ko
02-24 23:00:31.032 1682 1682 E android.hardware.wifi@1.0-service: module_arg= nvram_path=/system/vendor/modules/nvram_awcm390sm.txt config_path=/system/vendor/modules/config_awcm390sm.txt
02-24 23:00:31.032 1682 1682 E android.hardware.wifi@1.0-service: module_path= /system/vendor/modules/brcmfmac.ko
02-24 23:00:31.032 1682 1682 I android.hardware.wifi@1.0-service: Open /system/vendor/modules/brcmfmac.ko succuss.
02-24 23:00:31.076 1682 1682 I android.hardware.wifi@1.0-service: Do finit_module ret = 0
02-24 23:00:31.077 1682 1682 I android.hardware.wifi@1.0-service: wifi_driver_fw_path_param = /sys/module/brcmfmac/parameters/alternative_fw_path
02-24 23:00:31.078 1682 1682 E android.hardware.wifi@1.0-service: Could not read interface state for wlan0 (No such device)
02-24 23:00:31.078 1682 1682 E android.hardware.wifi@1.0-service: Failed to set WiFi interface up
02-24 23:00:31.078 1682 1682 E android.hardware.wifi@1.0-service: Failed to start legacy HAL: UNKNOWN
02-24 23:00:31.079 1990 2101 D HalDeviceManager: onChipReconfigureFailure: status=9 (unknown)
02-24 23:00:31.079 1990 2117 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 (unknown)
02-24 23:00:31.079 1990 2117 E WifiVendorHal: Failed to create STA Iface. Vendor Hal start failed
02-24 23:00:31.079 1990 2117 D HalDeviceManager: stopWifi
02-24 23:00:32.712 1990 2023 D IpManager.wlan0: interfaceAdded(wlan0)
02-24 23:00:33.336 1990 2023 D IpManager.wlan0: interfaceRemoved(wlan0)
What are we missing to create the wlan0 interface?
Show Less