All wifi commands failing with Mirage board


#1

Hello,

Recently I posted here: USB driver failing to find or power USBs about my usb driver not working on the new mangoh reds we purchased. It was suggested to me that we purchase the special WiFi module here: https://www.digikey.com/product-detail/en/talon-communications-inc/MIRAGE-PIFA/1788-1008-ND/7243279. This wifi module does not seem to have support on the mangoh Red though. It does work on the green.

I am experiencing this problem, and another user here: WiFi client error on mangoOH Red is experiencing a similar problem. The wifi commands are not working as they are on the Mangoh Green, and returning:

ERROR:le_wifiAp_Start returns -6.

Here is the error log for the mangoh red when running “wifi ap start”:

Jan 4 23:23:21 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (10).
Jan 4 23:23:21 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (11).
Jan 4 23:23:21 swi-mdm9x15 user.info Legato: INFO | wifiService[524]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 449 | AP starts
Jan 4 23:23:21 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 6 blocks.
Jan 4 23:23:21 swi-mdm9x15 user.info Legato: INFO | wifiService[524]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 463 | SSID = ryan
Jan 4 23:23:21 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=WifiApPaThread | LE_FILENAME PThreadStartRoutine() 362 | Set nice level to 0.
Jan 4 23:23:21 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=WifiApPaThread | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 7 blocks.
Jan 4 23:23:21 swi-mdm9x15 user.info Legato: INFO | wifiService[524]/daemon T=WifiApPaThread | pa_wifi_ap_ti.c WifiApPaThreadMain() 230 | Started!
Jan 4 23:23:21 swi-mdm9x15 user.info Legato: INFO | wifiService[524]/daemon T=WifiApPaThread | pa_wifi_ap_ti.c WifiApPaThreadMain() 247 | PARSING:WIFI_SET_EVENT : len:15
Jan 4 23:23:21 swi-mdm9x15 user.info Legato: INFO | wifiService[524] | WIFI_START
Jan 4 23:23:22 swi-mdm9x15 user.err Legato: =ERR= | wifiService[524] | ERR failed to write i2c data**
> Jan 4 23:23:22 swi-mdm9x15 user.err Legato: =ERR= | wifiService[524] | FTL Failed to enable PCA9548A I2C switch*
> Jan 4 23:23:22 swi-mdm9x15 user.err Legato: =ERR= | wifiService[524]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 484 | WiFi Access Point Command Failed: (23296)wlan0 WIFI_START
> Jan 4 23:23:22 swi-mdm9x15 user.err Legato: =ERR= | wifiService[524]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 614 | WiFi Client Command Failed: As a result, configuration file (/tmp/hostapd.conf) is removed.
Jan 4 23:23:22 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=main | le_wifiAp_server.c Handle_le_wifiAp_Start() 557 | Sending response to client session 0x27cac : 4 bytes sent
Jan 4 23:23:22 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27d3c GetFirstSessionRef (nil)
Jan 4 23:23:22 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Jan 4 23:23:22 swi-mdm9x15 user.debug Legato: DBUG | wifiService[524]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!

I made the error codes bold for visibility. Apparently the driver cannot write i2c data? There is a similar question here: Request for advice on board bring up of a Custom board with WP8548 + Ti Wifi chipset Board bring up which has not been answered.

This error is occurring on all of our boards fresh out of the box

Is this a known bug, or do you know of a solution to this issue? If anyone has gotten the wifi module working on their red, please let me know!

Thank you for your help in advance!


#2

Is there another support avenue to address this issue since we are all encountering this issue on MangOH Red? Also I have questions on USB cellular connections over USB using connman that the community isn’t able to answer or help resolve. Does MangOH provide support for their products beyond the community when they fail to work as advertised? And what and where is this support? MangOH we natives are restless and need assistance!