AirVantage over WiFi

with WP77 +FW R13 + IOT card “Talon-mangOH-Mirage-WiFi-BT-Module” , I can start the WIFI:


swi-mdm9x28-wp login: [   38.921364] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0
[   38.952439] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0
root
root@swi-mdm9x28-wp:~# wifi client start
successfully called start.
root@swi-mdm9x28-wp:~# wifi client scan
starting scan.
Found:  SSID:   "YF"    BSSID:  "b0:4e:26:80:d1:2f"     Strength:-69    Ref:0x1c9
Found:  SSID:   "Arwin20A"      BSSID:  "14:59:c0:2a:b7:e1"     Strength:-77    Ref:0x3c9
Found:  SSID:   "Arwin_Guest"   BSSID:  "14:59:c0:2a:b7:e3"     Strength:-74    Ref:0x5c9
Found:  SSID:   ""      BSSID:  "b8:3a:5a:cc:e6:c4"     Strength:-75    Ref:0x7c9
Found:  SSID:   "Fish Home"     BSSID:  "40:16:7e:b7:3c:24"     Strength:-82    Ref:0x9c9
Found:  SSID:   "\x00\x00\x00\x00\x00\x00\x00\x00"      BSSID:  "d4:5d:64:0e:46:b8"     Strength:-74    Ref:0xbc9
Found:  SSID:   ""      BSSID:  "ca:41:1e:2d:4a:13"     Strength:-74    Ref:0xdc9
Found:  SSID:   "FCTD"  BSSID:  "04:d4:c4:b5:1b:58"     Strength:-62    Ref:0xfc9
Found:  SSID:   "SWI-GUEST"     BSSID:  "b8:3a:5a:cc:f3:20"     Strength:-67    Ref:0x11c9
Found:  SSID:   ""      BSSID:  "b8:3a:5a:cc:f3:21"     Strength:-65    Ref:0x13c9
Found:  SSID:   "SWI-WLAN"      BSSID:  "b8:3a:5a:cc:f3:22"     Strength:-64    Ref:0x15c9
Found:  SSID:   "SWI-MOBILE"    BSSID:  "b8:3a:5a:cc:f3:23"     Strength:-67    Ref:0x17c9
Found:  SSID:   ""      BSSID:  "b8:3a:5a:cc:f3:24"     Strength:-68    Ref:0x19c9
Found:  SSID:   ""      BSSID:  "b8:3a:5a:cc:f3:25"     Strength:-67    Ref:0x1bc9
Found:  SSID:   "Terry" BSSID:  "a2:c9:a0:ae:3d:d9"     Strength:-45    Ref:0x1dc9
Found:  SSID:   "HP-Print-15-LaserJet 400 MFP"  BSSID:  "70:77:81:a9:a5:15"     Strength:-74    Ref:0x1fc9
Found:  SSID:   "TechHill_ASUS_2_4G"    BSSID:  "4c:ed:fb:a9:aa:68"     Strength:-72    Ref:0x21c9
Found:  SSID:   "nibelungen2"   BSSID:  "90:9a:4a:43:47:41"     Strength:-85    Ref:0x23c9
Found:  SSID:   "SWI-GUEST"     BSSID:  "b8:3a:5a:cd:53:e0"     Strength:-69    Ref:0x25c9
Found:  SSID:   ""      BSSID:  "b8:3a:5a:cd:53:e1"     Strength:-69    Ref:0x27c9
Found:  SSID:   "SWI-WLAN"      BSSID:  "b8:3a:5a:cd:53:e2"     Strength:-69    Ref:0x29c9
Found:  SSID:   "SWI-MOBILE"    BSSID:  "b8:3a:5a:cd:53:e3"     Strength:-69    Ref:0x2bc9
Found:  SSID:   ""      BSSID:  "b8:3a:5a:cd:53:e5"     Strength:-69    Ref:0x2dc9
root@swi-mdm9x28-wp:~# legato version
19.11.2_625c7d1acfd1ca45b2dbe189b4cb1ce7
root@swi-mdm9x28-wp:~# cm info
Device:                        WP7702
IMEI:                          352653090002791
IMEISV:                        5
FSN:                           VU735370340201
Firmware Version:              SWI9X06Y_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12
Bootloader Version:            SWI9X06Y_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12
MCU Version:                   002.014
PRI Part Number (PN):          9907365
PRI Revision:                  001.001 
Carrier PRI Name:              GENERIC
Carrier PRI Revision:          001.064_001
SKU:                           1103530
Last Reset Cause:              Reset, User Requested
Resets Count:                  Expected: 356    Unexpected: 28

You can go back to mangoh board first as it should be working fine.

I have already tried and it doesn`t work.
Can you send me the script you are using?

which script do you want?
I just type the commands manually.

so you just start the wifi client and don’t need to run any script?
It doesn`t work on the FX30

I just download the r13 fw, and then type the commands.

yes, so as I mentioned it will not work right away on the FX30 as the gpio will be different.
I have tested and if just wont be able to initialize the wifi exp board

You can go back to mangoh board first as it should be working fine.

what do you mean by going back to mangOH board?

it means doing WIFI testing on mangoh board first.

if you mean by downloading the firmware you have linked above, I have tried that and it doesn`t work.
I have read several times, and believe have also commented the same on this forum, that using that firmware is bad practice as the fx30 has a specific firmware for it.
If you mean something else, please explain.

I am more interested on understanding what is actually happening, and if this is related with any bug. All the help is very much appreciated.

Of course you cannot use wp77 fw for actual deployment, just for testing only …

I just try AT+WDSS=1,1 on WP77 FW R13 on mangoh green board:

Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | atQmiLinker[1113]/atQmiLinker T=unknown | atForward.c QmiAtCmdCb() 161 | Received:`at+wdss=1,1^M '
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | atQmiLinker[1113]/atQmiLinker T=Writer | atLinker.c Writer() 334 | cmd: `at+wdss=1,1^M '
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1143]/avcDaemon T=main | avcClient.c StartBearer() 954 | Start Bearer
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1143]/avcDaemon T=main | avcClient.c avcClient_Connect() 1154 | Starting retry timer of 15 min at index 0
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | atQmiLinker[1113]/atQmiLinker T=Reader | atForward.c SendIntermediateResponse() 416 |  ####
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 239 | Selected channel name SWI-MOBILE
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel SWI-MOBILE of technology wifi
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xd29 and event ID 0xa4d added
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel SWI-MOBILE of technology wifi by app session with reference 0x7f5abcf8
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_GetCurrentConnection() 1177 | AP reference of currently selected connection: (nil)
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel SWI-MOBILE for app session 0x7f5abcf8, request reference 0x265
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel SWI-MOBILE of technology 0
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel SWI-MOBILE of technology wifi
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2003 | No wifi security protocol set at wifiService:/wifi/channel/SWI-MOBILE/secProtocol
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1882 | Successfully retrieved security parameters for protocol 0 over SSID SWI-MOBILE
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c IsScanRunning() 584 | IsScanRunning .0
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c FindAccessPointRefFromSsid() 265 | Find AP from SSID
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_Create() 1479 | AP[0x7f5a5d18 0x149] signal strength 32767 | SSID length 10 | SSID: "SWI-MOBILE"
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_SetSecurityProtocol() 1406 | Set security protocol
Jan  8 18:26:14 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | pa_wifi_client.c pa_wifiClient_SetSecurityProtocol() 835 | Security protocol: 0
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1943 | Succeeded to set into wifiClient security parameters of protocol 0 for SSID SWI-MOBILE
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2034 | Succeeded to create AP reference 0x149 for SSID SWI-MOBILE
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcsWifi T=main | dcsWifi.c DcsWifiClientStart() 250 | Starting Wifi client
Jan  8 18:26:14 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | WIFI_START
Jan  8 18:26:15 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | mangOH green board
Jan  8 18:26:15 swi-mdm9x28-wp user.debug kernel: [  104.625425] gpio_map_name_to_num: find GPIO 78
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662664] cfg80211: Calling CRDA to update world regulatory domain
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662799] cfg80211: World regulatory domain updated:
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662813] cfg80211:  DFS Master region: unset
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662824] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662839] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662854] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662867] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662880] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662893] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662906] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662919] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan  8 18:26:15 swi-mdm9x28-wp user.info kernel: [  104.662932] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Jan  8 18:26:16 swi-mdm9x28-wp user.warn kernel: [  105.144602] sdhci_msm 7864900.sdhci: card claims to support voltages below defined range
Jan  8 18:26:16 swi-mdm9x28-wp user.warn kernel: [  105.196017] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
Jan  8 18:26:16 swi-mdm9x28-wp user.info kernel: [  105.198526] mmc0: new high speed SDIO card at address 0001
Jan  8 18:26:16 swi-mdm9x28-wp user.info kernel: [  105.464059] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
Jan  8 18:26:16 swi-mdm9x28-wp user.info kernel: [  105.477253] wlcore: loaded
Jan  8 18:26:17 swi-mdm9x28-wp user.info kernel: [  106.313700] wlcore: PHY firmware version: Rev 8.2.0.0.212
Jan  8 18:26:17 swi-mdm9x28-wp user.info kernel: [  106.367189] wlcore: firmware booted (Rev 8.9.0.0.17)
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | pa_wifi_client.c pa_wifiClient_Start() 507 | WiFi client started correctly
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/framework T=main | thread.c SetSchedPolicyAttr() 658 | Set scheduling policy to SCHED_OTHER for thread 'WifiClientPaThread'.
Jan  8 18:26:17 swi-mdm9x28-wp user.info kernel: [  106.386631] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_Start() 815 | WIFI client started successfully
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | dcsDaemon[1164]/dcsWifi T=main | dcsWifi.c le_dcsWifi_Start() 1521 | Connecting Wifi client to over SSID SWI-MOBILE to AP with reference 0x149
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | le_wifiClient.c le_wifiClient_Connect() 1562 | SSID length 10 | SSID: "SWI-MOBILE"
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251]/daemon T=main | pa_wifi_client.c pa_wifiClient_Connect() 1053 | Connecting over SSID length 10 SSID: "SWI-MOBILE"
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=main | pa_wifi_client.c GenerateWpaSupplicant() 902 | Generate Wpa Supplicant
Jan  8 18:26:17 swi-mdm9x28-wp user.warn Legato: -WRN- | wifiService[1251]/framework T=WifiClientPaThread | thread.c PThreadStartRoutine() 416 | Failed to set thread name for WifiClientPaThread (34).
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/framework T=WifiClientPaThread | thread.c PThreadStartRoutine() 478 | Set nice level to 0.
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251]/daemon T=WifiClientPaThread | pa_wifi_client.c WifiClientPaThreadMain() 282 | Wifi event report thread started!
Jan  8 18:26:17 swi-mdm9x28-wp user.debug Legato:  DBUG | wifiService[1251]/daemon T=WifiClientPaThread | pa_wifi_client.c WifiClientPaThreadMain() 300 | PARSING:WIFI_SET_EVENT : len:15
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | WIFICLIENT_CONNECT
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_supplicant v2.6
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | random: Trying to read entropy from /dev/random
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | Successfully initialized wpa_supplicant
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | Initializing interface 'wlan0' conf '/tmp/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | Configuration file '/tmp/wpa_supplicant.conf' -> '/tmp/wpa_supplicant.conf'
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | Reading configuration file '/tmp/wpa_supplicant.conf'
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | ctrl_interface='/var/run/wpa_supplicant'
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | ctrl_interface_group='0'
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | update_config=1
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | Priority group 0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] |    id=0 ssid='SWI-MOBILE'
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported cipher 00-0f-ac:1
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported cipher 00-0f-ac:5
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported cipher 00-0f-ac:2
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported cipher 00-0f-ac:4
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported cipher 00-14-72:1
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supports Probe Response offload in AP mode
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Using driver-based off-channel TX
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Use separate P2P group interface (driver advertised support)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Enable multi-channel concurrent (driver advertised support)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: interface wlan0 in phy phy0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Set mode ifindex 11 iftype 2 (STATION)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Subscribe to mgmt frames with non-AP handle 0x7f6ec760
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0104
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040a
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040b
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040c
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=040d
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090a
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090b
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090c
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=090d
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0409506f9a09
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=7f506f9a09
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0801
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=06
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0a07
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0a11
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0a1a
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=1101
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=1102
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0505
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x7f6ec760 match=0500
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | netlink: Operstate: ifindex=11 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | Add interface wlan0 to a new radio phy0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Regulatory information - country=00
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 2402-2472 @ 40 MHz 20 mBm
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 5250-5330 @ 80 MHz 20 mBm (no IR)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 5490-5710 @ 80 MHz 20 mBm (no IR)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: 57240-63720 @ 2160 MHz 0 mBm
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Added 802.11b mode based on 802.11g information
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wlan0: Own MAC address: d0:b5:c2:f1:f5:5b
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_driver_nl80211_set_key: ifindex=11 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_driver_nl80211_set_key: ifindex=11 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_driver_nl80211_set_key: ifindex=11 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_driver_nl80211_set_key: ifindex=11 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_driver_nl80211_set_key: ifindex=11 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wpa_driver_nl80211_set_key: ifindex=11 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wlan0: RSN: flushing PMKID list in the driver
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Flush PMKIDs
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wlan0: WPS: UUID based on MAC address: 5641c300-33cc-53f9-8cf2-82e5ba21a461
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | ENGINE: Loading dynamic engine
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | ENGINE: Loading dynamic engine
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | EAPOL: SUPP_PAE entering state DISCONNECTED
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | EAPOL: Supplicant port status: Unauthorized
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | nl80211: Skip set_supp_port(unauthorized) while not associated
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | EAPOL: KEY_RX entering state NO_KEY_RECEIVE
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | EAPOL: SUPP_BE entering state INITIALIZE
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | EAP: EAP entering state DISABLED
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | ctrl_interface_group=0
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: Add operating class 81
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: Own listen channel: 81:1
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: Random operating channel: 81:6
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: initialized
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | P2P: cli_channels:
Jan  8 18:26:17 swi-mdm9x28-wp user.info Legato:  INFO | wifiService[1251] | wlan0: Added interface wlan0

I am troubleshooting this and I get alternate results:

  1. problem with the dcsWifi which doesn`t find a suitable channel db for the SSID:
    Jan 6 01:05:43 fx30 user.warn Legato: -WRN- | dcsDaemon[1205]/dcsWifi T=main | dcsWifi.c DcsWifiGetSelectedDb() 171 | Found currently selected Wifi connection to get established: NETGEAR24, reference 0x1db
    Jan 6 01:05:43 fx30 user.warn Legato: -WRN- | dcsDaemon[1205]/dcsWifi T=main | dcsWifi.c DcsWifiGetSelectedDb() 175 | Failed to find channel db for SSID NETGEAR24
    also
    Aug 15 01:15:30 fx30 user.err Legato: =ERR= | dcsDaemon[1326]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name NETGEAR24 of technology 1

I have setup the dataConnectionService from shell, but this seems not working? as I would also expect the dataConnectionService to have a pre-set branch for thw cellular connection but when I type the command:
config get dataConnectionService:
the tree was originally empty…

So my question if this is app dependent, so every app will need to have this setup and I need to use the le_cfg instead, or I need to specify the proper path for the tree…?

le_wifiClient settings and loading is working well, I am using the le_wifiClient_Loadssid and it seems loading from the proper tree, we are a little confused about the dataConnectionService and why this is not working and unable to find the channel db.
These are my settings all done manually as the tree was empty:
root@fx30:~# config get dataConnectionService:
/
wifi/
SSID == myAP
passphrase == mypass
secProtocol == 3
routing/
useDefaultRoute == true
time/
protocol == 0
server == my.time.server.com

Which line starts to go differently when comparing to my log?

wif the radio off (cm radio off) I start the wifi client and connect to the wifi AP, then I run the AT+wdss=1,1

This is the log I see:
Jan 6 00:09:43 fx30 authpriv.warn dropbear[2940]: lastlog_openseek: /var/log/lastlog is not a file or directory!
Jan 6 00:09:55 fx30 user.debug Legato: DBUG | atQmiLinker[1162]/atQmiLinker T=unknown | atForward.c QmiAtCmdCb() 161 | Received:at+wdss=1,1^M ' Jan 6 00:09:55 fx30 user.debug Legato: DBUG | atQmiLinker[1162]/atQmiLinker T=Writer | atLinker.c Writer() 334 | cmd: at+wdss=1,1^M ’
Jan 6 00:09:55 fx30 user.info Legato: INFO | avcDaemon[1191]/avcDaemon T=main | avcClient.c StartBearer() 969 | Start Bearer
Jan 6 00:09:55 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name NETGEAR24 of technology 1
Jan 6 00:09:55 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 234 | Failed to select Wifi SSID NETGEAR24 due to invalid channel reference
Jan 6 00:09:55 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1057 | Failed to pick technology 0 to start a data connection
Jan 6 00:09:55 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 1 sec
Jan 6 00:09:55 fx30 user.info Legato: INFO | avcDaemon[1191]/avcDaemon T=main | avcClient.c avcClient_Connect() 1175 | Starting retry timer of 15 min at index 0
Jan 6 00:09:55 fx30 user.debug Legato: DBUG | atQmiLinker[1162]/atQmiLinker T=Reader | atForward.c SendIntermediateResponse() 416 | ####
Jan 6 00:09:56 fx30 user.err Legato: =ERR= | modemDaemon[1241]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_NAS_GET_RF_BAND_INFO_REQ_MSG_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=74.[0x4a]
Jan 6 00:09:56 fx30 user.err Legato: =ERR= | modemDaemon[1241]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetRadioAccessTechInUse() 3838 | The device is not registered on the network
Jan 6 00:09:56 fx30 user.err Legato: =ERR= | modemDaemon[1241]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetRadioAccessTechInUse() 3841 | Failed to retrieve the RAT
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 220 | Selected channel name 1
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel 1 of technology cellular
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xc5f and event ID 0xb69 added
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel 1 of technology cellular by app session with reference 0x7f5abe28
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel 1 for app session 0x7f5abe28, request reference 0x2ff
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel 1 of technology 1
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel 1 of technology cellular
Jan 6 00:09:56 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Start() 361 | Failed to start channel 1; error: -21
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x12d event Down
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Stop() 538 | Stopping channel 1 of technology cellular
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Stop() 563 | Channel 1 requested to be stopped
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStopTechSession() 1157 | Successfully initiated stopping active data connection 1 of technology 1
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 2 sec
Jan 6 00:09:56 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Stop() 399 | Request to stop channel 1 of technology cellular
Jan 6 00:09:56 fx30 user.err Legato: =ERR= | modemDaemon[1241]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_GET_PKT_STATISTICS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=70.[0x46]
Jan 6 00:09:56 fx30 user.err Legato: =ERR= | modemDaemon[1241]/le_pa T=main | pa_mdc_qmi.c pa_mdc_StopSession() 3378 | Bad input parameter
Jan 6 00:09:56 fx30 user.warn Legato: -WRN- | dcsDaemon[1212]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Stop() 1156 | Failed to stop cellular connection 1; error: -15
Jan 6 00:09:56 fx30 user.warn Legato: -WRN- | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Stop() 422 | Failed to stop channel 1; error: -15
Jan 6 00:09:56 fx30 user.warn Legato: -WRN- | avcDaemon[1191]/avcDaemon T=main | avcClient.c ConnectionStateHandler() 474 | Disconnected from data connection service, current state 0
Jan 6 00:09:58 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name NETGEAR24 of technology 1
Jan 6 00:09:58 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 234 | Failed to select Wifi SSID NETGEAR24 due to invalid channel reference
Jan 6 00:09:58 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1057 | Failed to pick technology 0 to start a data connection
Jan 6 00:09:58 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 4 sec
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 220 | Selected channel name 1
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_RemoveEventHandler() 695 | Channel event handler for channel 1 of technology cellular removed
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel 1 of technology cellular
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xc5f and event ID 0xd69 added
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel 1 of technology cellular by app session with reference 0x7f5abe28
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel 1 for app session 0x7f5abe28, request reference 0x2ff
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel 1 of technology 1
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel 1 of technology cellular
Jan 6 00:10:02 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Start() 361 | Failed to start channel 1; error: -21
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x12d event Down
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Stop() 538 | Stopping channel 1 of technology cellular
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Stop() 563 | Channel 1 requested to be stopped
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStopTechSession() 1157 | Successfully initiated stopping active data connection 1 of technology 1
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 8 sec
Jan 6 00:10:02 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Stop() 399 | Request to stop channel 1 of technology cellular
Jan 6 00:10:02 fx30 user.err Legato: =ERR= | modemDaemon[1241]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_GET_PKT_STATISTICS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=70.[0x46]
Jan 6 00:10:02 fx30 user.err Legato: =ERR= | modemDaemon[1241]/le_pa T=main | pa_mdc_qmi.c pa_mdc_StopSession() 3378 | Bad input parameter
Jan 6 00:10:02 fx30 user.warn Legato: -WRN- | dcsDaemon[1212]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Stop() 1156 | Failed to stop cellular connection 1; error: -15
Jan 6 00:10:02 fx30 user.warn Legato: -WRN- | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Stop() 422 | Failed to stop channel 1; error: -15
Jan 6 00:10:02 fx30 user.warn Legato: -WRN- | avcDaemon[1191]/avcDaemon T=main | avcClient.c ConnectionStateHandler() 474 | Disconnected from data connection service, current state 0
Jan 6 00:10:10 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name NETGEAR24 of technology 1
Jan 6 00:10:10 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 234 | Failed to select Wifi SSID NETGEAR24 due to invalid channel reference
Jan 6 00:10:10 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1057 | Failed to pick technology 0 to start a data connection
Jan 6 00:10:10 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 16 sec
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 220 | Selected channel name 1
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_RemoveEventHandler() 695 | Channel event handler for channel 1 of technology cellular removed
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel 1 of technology cellular
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xc5f and event ID 0xf69 added
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel 1 of technology cellular by app session with reference 0x7f5abe28
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel 1 for app session 0x7f5abe28, request reference 0x2ff
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel 1 of technology 1
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel 1 of technology cellular
Jan 6 00:10:26 fx30 user.err Legato: =ERR= | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Start() 361 | Failed to start channel 1; error: -21
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x12d event Down
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Stop() 538 | Stopping channel 1 of technology cellular
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcs.c le_dcs_Stop() 563 | Channel 1 requested to be stopped
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c TryStopTechSession() 1157 | Successfully initiated stopping active data connection 1 of technology 1
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcsDaemon T=main | dcsServer.c UpdateTechnologyStatus() 1040 | Technology retry to connect will happen after 32 sec
Jan 6 00:10:26 fx30 user.info Legato: INFO | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Stop() 399 | Request to stop channel 1 of technology cellular
Jan 6 00:10:26 fx30 user.err Legato: =ERR= | modemDaemon[1241]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_GET_PKT_STATISTICS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=70.[0x46]
Jan 6 00:10:26 fx30 user.err Legato: =ERR= | modemDaemon[1241]/le_pa T=main | pa_mdc_qmi.c pa_mdc_StopSession() 3378 | Bad input parameter
Jan 6 00:10:26 fx30 user.warn Legato: -WRN- | dcsDaemon[1212]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Stop() 1156 | Failed to stop cellular connection 1; error: -15
Jan 6 00:10:26 fx30 user.warn Legato: -WRN- | dcsDaemon[1212]/dcs T=main | dcsTech.c le_dcsTech_Stop() 422 | Failed to stop channel 1; error: -15
Jan 6 00:10:26 fx30 user.warn Legato: -WRN- | avcDaemon[1191]/avcDaemon T=main | avcClient.c ConnectionStateHandler() 474 | Disconnected from data connection service, current state 0

Can you double check that if we are using same fw?
It does not quite make sense to me that it will have different log on dcs…

as I mentioned before, this would only work the same if we had the same firmware running on the same hardware.
I did get the firmware you have sent and I couldn’t even properly run connect the wifi client, doing the same steps I am doing.
This is telling me that the hardware is not exactly the same, therefore no reason to follow that path.

So what I find interesting is this log:
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel 1 of technology cellular
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xda3 and event ID 0x11e1 added
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel 1 of technology cellular by app session with reference 0x7f5abe28
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel 1 for app session 0x7f5abe28, request reference 0x3f5
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel 1 of technology 1
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel 1 of technology cellular
Aug 15 13:15:58 fx30 user.err Legato: =ERR= | dcsDaemon[1205]/dcs T=main | dcsTech.c le_dcsTech_Start() 361 | Failed to start channel 1; error: -21
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0xf event Down
Aug 15 13:15:58 fx30 user.info Legato: INFO | dcsDaemon[1205]/dcs T=main | dcs.c le_dcs_Stop() 538 | Stopping channel 1 of technology cellular

Successfully initiated data channel 1 of technology 1, but then it says the technology is cellular and not wifi? So wifi should be technology 0?
I have used the:
MyChannel = le_dcs_GetReference(channelName, LE_DCS_TECH_WIFI);

and this gets printed as:
=ERR= | dcsDaemon[1205]/dcs T=main | dcs.c le_dcs_GetReference() 216 | Failed to find channel with name MY_AP of technology 1

Does this makes sense?

I can only test for you on mangoh green board …
Have you tried wp77 fw R14.1?

I just tested FW R14.1 on mangoh green board, I can start the WIFI in dcs:


Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | atQmiLinker[1194]/atQmiLinker T=unknown | atForward.c QmiAtCmdCb() 161 | Received:`at+wdss=1,1^M '
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | atQmiLinker[1194]/atQmiLinker T=Writer | atLinker.c Writer() 334 | cmd: `at+wdss=1,1^M '
Jan 15 07:39:28 fx30 user.info Legato:  INFO | avcDaemon[1223]/avcDaemon T=main | avcClient.c StartBearer() 969 | Start Bearer
Jan 15 07:39:28 fx30 user.info Legato:  INFO | avcDaemon[1223]/avcDaemon T=main | avcClient.c avcClient_Connect() 1175 | Starting retry timer of 15 min at index 0
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsTechRank.c dcsTechRank_SelectDataChannel() 239 | Selected channel name SWI-MOBILE
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs.c le_dcs_AddEventHandler() 635 | Adding channel handler for channel SWI-MOBILE of technology wifi
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs.c le_dcs_AddEventHandler() 675 | Event handler with reference 0xc19 and event ID 0xbcf added
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs.c le_dcs_Start() 421 | Starting channel SWI-MOBILE of technology wifi by app session with reference 0x7f5abe28
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c le_wifiClient_GetCurrentConnection() 1177 | AP reference of currently selected connection: (nil)
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | atQmiLinker[1194]/atQmiLinker T=Reader | atForward.c SendIntermediateResponse() 416 |  ####
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs.c le_dcs_Start() 478 | Initiating technology to start channel SWI-MOBILE for app session 0x7f5abe28, request reference 0x203
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1105 | Successfully initiated data channel SWI-MOBILE of technology 0
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcsTech.c le_dcsTech_Start() 338 | Request to start channel SWI-MOBILE of technology wifi
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2003 | No wifi security protocol set at wifiService:/wifi/channel/SWI-MOBILE/secProtocol
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1882 | Successfully retrieved security parameters for protocol 0 over SSID SWI-MOBILE
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c IsScanRunning() 584 | IsScanRunning .0
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c FindAccessPointRefFromSsid() 265 | Find AP from SSID
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c le_wifiClient_Create() 1479 | AP[0x7f5a5a98 0xab] signal strength 32767 | SSID length 10 | SSID: "SWI-MOBILE"
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | le_wifiClient.c le_wifiClient_SetSecurityProtocol() 1406 | Set security protocol
Jan 15 07:39:28 fx30 user.debug Legato:  DBUG | wifiService[1347]/daemon T=main | pa_wifi_client.c pa_wifiClient_SetSecurityProtocol() 835 | Security protocol: 0
Jan 15 07:39:28 fx30 user.info Legato:  INFO | wifiService[1347]/daemon T=main | le_wifiClient.c WifiClient_LoadSecurityConfigs() 1943 | Succeeded to set into wifiClient security parameters of protocol 0 for SSID SWI-MOBILE
Jan 15 07:39:28 fx30 user.info Legato:  INFO | wifiService[1347]/daemon T=main | le_wifiClient.c le_wifiClient_LoadSsid() 2034 | Succeeded to create AP reference 0xab for SSID SWI-MOBILE
Jan 15 07:39:28 fx30 user.info Legato:  INFO | dcsDaemon[1244]/dcsWifi T=main | dcsWifi.c DcsWifiClientStart() 250 | Starting Wifi client

Are we using same FW now?

Thank u for following this up, I have had problems with the firmware u have mentioned when running on this hardware, and can’t see the real benefit of troubleshooting something on a firmware when I know I need to change it after…
I somehow got this to work even if I haven’t investigated yet the reason of this. But if once the wifi interface is up and running, I trigger a DCs channel scan, then it can find the wifi DCs channel, so I would assume the db channel is created during that function call.
I thought of sharing what I found out.

By the way, where did u find the r14 firmware did you build from legato source? Also with that firmware you should run the startup script or the wifi will not work, correct? Otherwise there must be a problem with the firmware I have been using.