Using the following MangOH documentation to connect via WiFi.
http://mangoh.io/wp-content/uploads/2017/05/4119378_mangOH-Green-Tutorial-Wi-Fi_r1.pdf
oot@swi-mdm9x15:~# fwupdate query
Connecting to service …
Firmware Version: SWI9X15Y_07.10.04.00 r32393 CARMD-EV-FRMWR1 2016/06/01 20:30:40
Bootloader Version: SWI9X15Y_07.10.04.00 r32393 CARMD-EV-FRMWR1 2016/06/01 20:30:40
Linux Version: 3.14.29ltsi-c14b887744_39dcf2256d #2 PREEMPT Wed Jun 1 23:37:34 PDT 2016
root@swi-mdm9x15:~# legato version
16.04.0_63633d9200de787b7c2a6dca03d2cff3
root@swi-mdm9x15:~# app status
[running] audioService
[running] avcService
[running] cellNetService
[running] dataConnectionService
[running] fwupdateService
[running] gpioService
[running] modemService
[running] positioningService
[running] powerMgr
[running] secStore
[stopped] smsInboxService
[stopped] tools
[stopped] voiceCallService
[stopped] wifi
[stopped] wifiApTest
[stopped] wifiClientTest
[running] wifiService
[stopped] wifiWebAp
Based on the documentation this is all correct. Although this is MangOH Green documentation to connect to a Wi-Fi network, this should be the same forMangOH Red, is this correct?
I get to the most basic commandd to start the WiFi client and receive the following error. I first do a wifi client scan and see the following.
root@swi-mdm9x15:~# wifi client scan
starting scan
[ 278.690798] Loading modules backported from Linux version R8.5
[ 278.702334] Backport generated by backports.git R8.5
[ 278.843125] cfg80211: Calling CRDA to update world regulatory domain
DEBUG: le_wifiClient_GetFirstAccessPoint ERROR[ 279.148390] cfg80211: World regulatory domain updated:
[ 279.153120] cfg80211: DFS Master region: unset
[ 279.156874] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
root@swi-mdm9x15:~# [ 279.169510] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 279.178513] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 279.186326] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 279.194262] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 279.204455] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 279.213276] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 279.220997] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 279.229421] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Then I do wifi client start and see the following error:
root@swi-mdm9x15:~# wifi client start
[ 415.758980] qup_i2c qup_i2c.0: QUP: I2C status flags :0x1300c8, irq:187
[ 415.765206] qup_i2c qup_i2c.0: I2C slave addr:0x70 not connected
[ 415.772226] qup_i2c qup_i2c.0: QUP: I2C status flags :0x1300c8, irq:187
[ 415.778361] qup_i2c qup_i2c.0: I2C slave addr:0x70 not connected
[ 415.785563] qup_i2c qup_i2c.0: QUP: I2C status flags :0x1300c8, irq:187
[ 415.791179] qup_i2c qup_i2c.0: I2C slave addr:0x70 not connected
[ 415.855028] mmc0: mci-version: 18
[ 415.862871] mmc0: bam physical base=0x12182000
[ 415.866320] mmc0: bam virtual base=0xd057c000
[ 415.870654] sps:BAM 0x12182000 is registered.
[ 415.892354] mmc0: BAM device registered. bam_handle=0xcb85a600[ 415.897573] sps:REVISION of BAM 0xd057c000 is 0x5.
[ 415.905295] mmc0: Qualcomm MSM SDCC-BAM at 0x0000000012182000 irq 130
[ 415.910727] mmc0: Qualcomm MSM SDCC-DML at 0x0000000012180800
[ 415.917106] mmc0: No card detect facilities available
[ 415.926354] mmc0: Qualcomm MSM SDCC-core at 0x0000000012180000 irq 136,0 dma -1 dmacrcri -1
[ 415.942438] mmc0: 8 bit data mode disabled
[ 415.945521] mmc0: 4 bit data mode enabled
[ 415.961361] mmc0: polling status mode disabled
[ 415.970334] mmc0: MMC clock 400000 -> 48000000 Hz, PCLK 0 Hz
[ 416.002929] mmc0: Slot eject status = 0
[ 416.021669] mmc0: Power save feature enable = 1
[ 416.036105] mmc0: SPS-BAM data transfer mode available
ERROR: le_wifiClient_Start returns ERROR
Now when I do the wifi scan, I see the following:
root@swi-mdm9x15:~# wifi client scan
starting scan
DEBUG: le_wifiClient_GetFirstAccessPoint ERRORroot@swi-mdm9x15:~#
I am using the MIRAGE-PIFA adapter from Digi key. It is the integrated MangOH WiFi/BT/NFC. HTSUS: 8517.62.0050; ECCN: FA992C
So two issues. First the error “ERROR: le_wifiClient_Start returns ERROR” when trying to start the wifi client. The second error is the wifi scan appears to be erased when running the wifi client start.
At least according to the MangOH documentation, the firmware levels are all correct-- at least for the MangOH Green. So, what am I missing? Is there a MangOH Red document that provides details not included for the MangOH Green, or are these known bugs, or is the adapter incorrect?