AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos Forum Discussions
We're using a custom board with the CYW43455 module, and we're using concurrent STA and AP mode as explained here:
https://community.infineon.com/t5/Resource-Library/Concurrent-AP-and-STA/ta-p/246043
So, STA mode (wlan0) is using wpa_supplicant and AP mode (wlan1) is using hostapd.
The regulatory domain is set to the Netherlands. This has been done with 'iw reg set NL' and 'wl country NL'. Our CLM_blob contains the proper regulatory domain settings for NL/ETSI.
Everything seems to work well unless a 5G DFS enabled channel is used.
If a DFS enabled channel is used the STA mode fails after a while. We can see the failure occuring once these kernel error messages start to appear:
[209319.907996] ieee80211 phy0: brcmf_run_escan: error (-52)
[209319.913577] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
[209320.938726] ieee80211 phy0: brcmf_run_escan: error (-52)
[209320.944251] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
It looks like the wifi firmware somehow (partly) fails and always rejects scan requests (brcmf_run_escan talks to the wifi firmware via fil/sdio).
Actually, the problem is already there if the STA is on a DFS-enabled channel and we're forcing a disconnect and reassociate with: 'wpa_cli -iwlan0 disconnect' and 'wpa_cli -iwlan0 reconnect'.
We've tried several things to avoid this issue, I'm talking about:
- disable power_save with 'wl pm 0' and/or 'iw wlan0|1 set power_save off'
- use latest wifi FW image (BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234)
- disable DFS with 'wl dfs_ism_monitor 1', 'wl radar 0' and 'wl dfs_preism 0'
But it doesn't help.
By enabling the appropriate brcmfmac debug options (and debugfs) we could get the "brcmfmac forensics". The following errors pop up:
000111.394 wl0: wlc_iovar_op: escan BCME -43 (Scan Rejected)
000111.394 wl0: wlc_scan_request_ex, can not scan due to error -43
000112.434 wl0: wlc_iovar_op: escan BCME -43 (Scan Rejected)
000112.434 wl0: wlc_scan_request_ex, can not scan due to error -43
for more details, see attachment.
Is this a wifi FW issue?
whatever this is, please help us.
If there's no (immediate) solution, a workaround (other than disable 5g) would be good as well.
Thanks!
Hi Sir,
We use CYW43438 as softAP with dhd driver, and use smart phone as client, and their distance around 5m.
Firmware version: bcm43438-7.46.58.11
While doing ipef throughput test, throughput will keep 1x Mbps around several seconds in channel 1 or 11, then down to 0 Mbps.
We have to disconnect and re-connect for recovery.
For same test in channel 6, it seems testing good, but only keep normal around several minutes.
What could we do to keep throughput test stability in AP mode?
Show Less
Hi Sir,
We try to use Azurewave CYW43455 module in Sigmastar platform with FMAC driver.
But it always show error message as below while we run ping or hostapd function.
- cfg80211: failed to load regulatory.db ==> Already put the clm_blob file, it still happened.
- [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
Do you know what causes these error to happen?
FMAC: v5.10.9-2022_0321
Platform: Sigmastar
========================================================================
Loading modules backported from Linux version v5.10.9-2022_0321-0-ga0971bc0b123
Backport generated by backports.git v5.10.42-1-0-gbee5c545
cfg80211: Loading compiled-in X.509 certificates for regulatory database
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6
usbcore: registered new interface driver brcmfmac
brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43455-sdio.txt
brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6
brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 17 2022 21:19:40 version 7.45.244 (408afbc CY) FWID 01-4639b629
/ # ifconfig wlan0 up
>> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
/tmp # ./wpa_supplicant/wpa_passphrase Cisco07472 87654321 > ./wpa.conf
/tmp # ./wpa_supplicant/wpa_supplicant -D nl80211 -i wlan0 -c ./wpa.conf -B
Successfully initialized wpa_sup>> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
plicant
nl80211: kernel reports: Registration to specific type not supported
/tmp # >> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
/tmp # >> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
if/tmp # ifcon/tmp # ifconfig wlan0 192.168.1.133
/tmp # rou/tmp # route add default gw 192.168.1.1 wlan0
/tmp # ping -I wlan0 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=36.429 ms
64 bytes from 192.168.1.1: seq=6 ttl=64 time=56.861 ms
>> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
64 bytes from 192.168.1.1: seq=19 ttl=64 time=19.641 ms
>> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
64 bytes from 192.168.1.1: seq=28 ttl=64 time=66.175 ms
>> [sdmmc_1] Err: #Cmd_52 (0x92003E01)=>(E: 0x0008)(S: 0x00001002)__(L:1065)
[sdmmc]---Hal_SDMMC_SendCmdAndWaitProcess--1057--MIEEvent = 1--Trig_MIE_INTR = 1--MIE_EVENT[00] = 0x 40- MIE_INT_EN[01] = 0x 1b---SD_STS[0D] = 0x 640--
Hello,
I am looking a low cost Wifi chipset that supports 802.11 a/b/g/n standard with embedded Wifi/networking stack to offload MCU used in our application. Please suggest the best suit.
Host Interface required: SDIO or SPI
Thanks,
Deepak
Show LessHi,
Our battery powered device hibernates most of the time, then wakes up, connects to server for a few exchanges and goes back to sleep. Currently the main issue we have is the delay between power up and connection established (and the related power consumption).
Question 1
We can see a delay of about 3sec between the call to cy_wcm_connect_ap and the start of the 4 way handshake.
16:06:22,879: cy_wcm_connect_ap
16:06:25,725 EAPOL 113 Key (Message 1 of 4)
I suppose this comes from an active scan.
I tried to set the band (wifi_conn_param.band = CY_WCM_WIFI_BAND_2_4GHZ) but I did not see any impact.
I tried to set the bssid (wifi_conn_param.BSSID) but it also did not have any impact.
How can we decrease the time it takes to connect to the AP?
Can we connect directly to the previous known working BSSID without a scan?
Question 2:
With wireshark, we can see that there is about 3sec of ICMPV6 exchange before the dhcp resolution, can we avoid/deactivate this?
Infos:
cyw43907, design based on the dev kit.
Modus toolbox latest version
Release build (debug is much slower)
Show Less
Hi All,
I'm using CYW43455 BLE chip. Here I'm facing issue with BLE connection. When I'm connecting with BLE using nRF mobile app the connection with mobile app is happening for less duration & the connection duration time is not fixed for all time.
When disconnection happening the reason is showing in nRF app log as Error 8 (0x8): GATT CONN TIMEOUT & some time as UNKOWN ERROR.
While connecting with mobile app at starting. I'm getting Connection parameters update failed with status 30 (interval: 48.75ms, latency: 0, timeout & Error 30 (0x1e): HCI ERROR INVALID LMP PARAM this messages in nRF mobile logs.
Please, help me here to resolve this issues .
Thank You
Show LessWe have this integrated CYW4356 in our dash cam product line and are trying to get RED certification and the lab is requesting the Declaration of Conformity for European Union’s Radio Equipment Directive. Is this module certified for RED?
Show LessIs it possible to support AP+STA concurrency with 2x 89570 chip?
Is it possible to use one chip for AP and the other for STA?
Hi Sir,
is it any wifi test utility (GUI) on windows 10?
best Regards,
Howard
Hello ,
The SD specification defines "Bus Signal Volatage Switch Sequence".
Does CYW4373 support this specification? yes or no??
If yes, please tell me the VDDIO voltage which should be supplied.
3.3V, 1.8V or dynamic change is necessary??
Thanks,
Show Less