Project

General

Profile

Wi-Fi

The Wi-Fi/Bluetooth expansion interface (J16) is designed to be directly compatible with the Silex SX-PCEAX-M2 Wi-Fi and Bluetooth expansion card. Linux drivers are available for the expansion card.

This interface can also be used for a user-designed interface card and features a 1-channel PCIe interface, a USB 2.0 interface and a +3.3V supply.

Development Board Configuration

Ensure that Switch S14 is set properly.
  • Switch 1 should be set to enable the 3V3 WIFI from the DC supply
  • Switch 2 should NOT be set for Rev 1 or 2 of the Development Board as 3.3V from the SOM may actually be a higher volage. See MitySOM-QC6490 Development Kit Datasheet

Using the Silex SX-PCEAX-M2 to connect to a Wi-Fi network

  1. If you do not already have a Silex SX-PCEAX-M2 one can be obtained here
  2. Make sure the antennas are connected to the SX-PCEAX
  3. Insert the radio module into J16 and use an M2.5 screw to secure
  4. Boot the Dev Kit
  5. Verify the PCIe device is detected using lspci (note that devices connected to J16 (PCIE0) will appear on the PCI bridge at domain 0000, bus 80, slot 00)
    root@qcs6490-mitysom-devkit:~# lspci
    0000:80:00.0 PCI bridge: Qualcomm Technologies, Inc SM8250 PCIe Root Complex [Snapdragon 865/870 5G]
    0000:81:00.0 Network controller: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter (rev 01)
    
  6. Make a link for the firmware (note that this will be resolved in the Yocto build in a future release):
    root@qcs6490-mitysom-devkit:~# mount -o remount, rw /usr && cd /usr/lib/firmware/ath11k/ && ln -sf WCN6855 QCA2066
    
  7. Reboot the MitySOM-QC6490 and ifconfig should show wlan0
    wlan0     Link encap:Ethernet  HWaddr 1C:BC:EC:01:8E:B2  
              inet addr:10.42.0.180  Bcast:10.42.0.255  Mask:255.255.255.0
              inet6 addr: fe80::f4ed:6629:f17a:72b1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:44 errors:0 dropped:0 overruns:0 frame:0
              TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:5152 (5.0 KiB)  TX bytes:10707 (10.4 KiB)
    
  8. Verify you can see available Wi-Fi networks
    nmcli device wifi list 
    
  9. Connect to your desired Wi-Fi network
    root@qcs6490-mitysom-devkit:~# nmcli dev wifi connect "Your Desired SSID" password "insert-password-here" 
    Device 'wlan0' successfully activated
    
  10. If you have an iperf server running on the Wi-Fi network you connected to you can run a bandwidth test:
    root@qcs6490-mitysom-devkit:~# iperf3 -c 10.0.0.111
    Connecting to host 10.0.0.111, port 5201
    [  5] local 10.2.0.91 port 60878 connected to 10.0.0.111 port 5201
    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec  11.9 MBytes  99.5 Mbits/sec    0    550 KBytes       
    [  5]   1.00-2.00   sec  12.5 MBytes   105 Mbits/sec    0    820 KBytes       
    [  5]   2.00-3.00   sec  10.0 MBytes  84.0 Mbits/sec    0    993 KBytes       
    [  5]   3.00-4.00   sec  11.2 MBytes  94.3 Mbits/sec    0   1.14 MBytes       
    [  5]   4.00-5.00   sec  11.9 MBytes  99.6 Mbits/sec    0   1.21 MBytes       
    [  5]   5.00-6.00   sec  9.88 MBytes  82.8 Mbits/sec    0   1.30 MBytes       
    [  5]   6.00-7.00   sec  10.2 MBytes  86.0 Mbits/sec    0   1.39 MBytes       
    [  5]   7.00-8.00   sec  8.75 MBytes  73.4 Mbits/sec    0   1.50 MBytes       
    [  5]   8.00-9.00   sec  9.00 MBytes  75.5 Mbits/sec    0   1.77 MBytes       
    [  5]   9.00-10.00  sec  11.9 MBytes  99.4 Mbits/sec    0   1.87 MBytes       
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-10.00  sec   107 MBytes  89.9 Mbits/sec    0             sender
    [  5]   0.00-10.06  sec   104 MBytes  86.8 Mbits/sec                  receiver
    
    iperf Done.
    

Go to top
Add picture from clipboard (Maximum size: 1 GB)