Tool/software: Linux
Hi!
We are currently developing an automotive custom board that integrates your WiFi module WL1837MOD. We are experiencing several issues with it, these usually result in connection/messages losses, thus, making our application untrustworthy. The following are some of the main characteristics of our system:
- Processor: i.MX6Q
- Build System: Yocto (last stable version)
- Linux Kernel: v4.4.113 (Distro: Poky)
- WiFi related SW: hostapd v2.6, dnsmasq v2.78 (AP side) and wpa_supplicant v2.6 (client side, when communicating 2/+ of our boards) from OpenEmbedded layers (NOT wl18xx ones) with minimal configuration. The configuraiton files of these is attached to this post.
- wlcore FW version: 183x or 180x, PG 2.2 (ROM 0x11), PHY Rev 8.2.0.0.237, booted Rev 8.9.0.0.70
Issues we are facing:
1) When trying to connect 2 of our boards via WiFi, usually, it takes a really long time to establish the connection; wpa_supplicant performs lots of authentication tries (send auth to xx:xx:xx:xx:xx:xx (try 1/3), send auth to xx:xx:xx:xx:xx:xx (try 2/3), send auth to xx:xx:xx:xx:xx:xx (try 3/3) and repeat...) then the same with association tries (associate with xx:xx:xx:xx:xx:xx (try 1/3), associate with xx:xx:xx:xx:xx:xx (try 2/3), associate with xx:xx:xx:xx:xx:xx (try 3/3)...) and when finally it succeeds in its task, sometimes, it just suddenly performs a deauthentication (with either reason code 2: PREV_AUTH_NOT_VALID or 3: 3=DEAUTH_LEAVING, although the credentials are the good ones and i am not deauthenticating on prupose). And the process starts again until the connection, eventually, gets established.
2) When the connection is established and working, randomly (maybe a couple or 10s of minutes), we get the error: "ERROR SW watchdog interrupt received! starting recovery" that resets the WiFi module, thus, breaking the connection and forcing a reconnection that can take even few minutes (sometimes the AP seems like not let the client to connect for a long time )...
3) During the whole process, establishing or established, we also get the following warning several times: "WARNING Unable to flush all TX buffers, timed out (timeout 500 ms".
NOTE: The load we are testing the connection with is quite low (~500B/s), we have tried it either with and without antenna (2.4GHz).
Thank you in advance!
Best regards,
Daniel Rodríguez
FILES
hostapd.conf, dnsmasq.conf and wpa_supplicant.conf respectively
#General settings interface=wlan2 hw_mode=g channel=7 macaddr_acl=0 # Use WPA auth_algs=1 wpa=1 wpa_key_mgmt=WPA-PSK # This is the name of the network ssid=BOARD-AP # The network passphrase wpa_passphrase=Net1234
interface=wlan2 dhcp-range=192.168.5.15,192.168.5.20,255.255.255.0,12h
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=1 #(and here comes the output of wpa_supplicant autogen net conf)