Difference between revisions of "XUELK-AN-001: Using WiFi-Bluetooth combo plugin with SBC Lynx"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 26: Line 26:
 
*J53.4 (UART2_nCTS).
 
*J53.4 (UART2_nCTS).
  
==WiFi==
+
==Usage==
Enable of interface
+
Software delivered along with [[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)#XUELK_software_components|XUELK 1.0.0]] provides all the required stuff - specifically device drivers and user space tools - to enable and use wireless interfaces. The following sections describe this in more detail.
 +
 
 +
During the Linux kernel bootstrap, the following messages are printed out during the detection of the wireless chipset:
 +
<pre>
 +
wilink-wl-en: 3300 mV
 +
wl1271_sdio mmc1:0001:2: legacy platform data not found, trying device tree
 +
wl12xx_driver wl12xx.0.auto: Direct firmware load failed with error -2
 +
wl12xx_driver wl12xx.0.auto: Falling back to user helper
 +
wlcore: loaded
 +
</pre>
 +
===WiFi===
 +
The following example shows how to:
 +
*enable WiFi interface, configured as <code>wloan0</code>
 +
*scan the environment for available networks
 
<pre>
 
<pre>
root@sbc-lynx:~# ifconfig wlan0 down
+
root@sbc-lynx:~# ifconfig wlan0
wlcore: down
+
wlan0    Link encap:Ethernet  HWaddr DE:AD:BE:EF:00:00
root@sbc-lynx:~# ifconfig wlan0 up
+
          BROADCAST MULTICAST  MTU:1500  Metric:1
 +
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:1000
 +
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 
 +
root@sbc-lynx:~# ifconfig wlan0 192.168.11.88
 
wlcore: firmware booted (Rev 6.3.10.0.133)
 
wlcore: firmware booted (Rev 6.3.10.0.133)
 
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
</pre>
 
 
Scan of AP
 
<pre>
 
 
root@sbc-lynx:~# iw wlan0 scan
 
root@sbc-lynx:~# iw wlan0 scan
BSS ca:d7:19:92:f9:17(on wlan0)
+
BSS 22:aa:4b:22:55:5c(on wlan0)
         TSF: 36464451691 usec (0d, 10:07:44)
+
        TSF: 16627323353 usec (0d, 04:37:07)
         freq: 2412
+
        freq: 2437
 +
        beacon interval: 100 TUs
 +
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
 +
        signal: -57.00 dBm
 +
        last seen: 0 ms ago
 +
        SSID: davesrl
 +
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0* 36.0 54.0
 +
        DS Parameter set: channel 6
 +
        ERP: <no flags>
 +
        ERP D4.0: <no flags>
 +
        Extended supported rates: 6.0* 9.0 12.0* 48.0
 +
        WPA:    * Version: 1
 +
                * Group cipher: TKIP
 +
                * Pairwise ciphers: TKIP
 +
                * Authentication suites: PSK
 +
                * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
 +
        WMM:    * Parameter version 1
 +
                * u-APSD
 +
                * BE: CW 15-1023, AIFSN 3
 +
                * BK: CW 15-1023, AIFSN 7
 +
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 +
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
BSS 20:aa:4b:22:55:5e(on wlan0)
 +
        TSF: 16627321902 usec (0d, 04:37:07)
 +
        freq: 2437
 +
        beacon interval: 100 TUs
 +
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
 +
        signal: -57.00 dBm
 +
        last seen: 0 ms ago
 +
        SSID: d8738e189d2148f59769
 +
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0* 36.0 54.0
 +
        DS Parameter set: channel 6
 +
        ERP: <no flags>
 +
        ERP D4.0: <no flags>
 +
        Extended supported rates: 6.0* 9.0 12.0* 48.0
 +
        WPA:    * Version: 1
 +
                * Group cipher: TKIP
 +
                * Pairwise ciphers: TKIP
 +
                * Authentication suites: PSK
 +
                * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
 +
        WMM:    * Parameter version 1
 +
                * u-APSD
 +
                * BE: CW 15-1023, AIFSN 3
 +
                * BK: CW 15-1023, AIFSN 7
 +
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 +
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
BSS 22:aa:4b:22:55:5f(on wlan0)
 +
        TSF: 16627322627 usec (0d, 04:37:07)
 +
        freq: 2437
 +
        beacon interval: 100 TUs
 +
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
 +
        signal: -57.00 dBm
 +
        last seen: 0 ms ago
 +
        SSID: daveguest
 +
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0* 36.0 54.0
 +
        DS Parameter set: channel 6
 +
        ERP: <no flags>
 +
        ERP D4.0: <no flags>
 +
        Extended supported rates: 6.0* 9.0 12.0* 48.0
 +
        WPA:    * Version: 1
 +
                * Group cipher: TKIP
 +
                * Pairwise ciphers: TKIP
 +
                * Authentication suites: PSK
 +
                * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
 +
        WMM:    * Parameter version 1
 +
                * u-APSD
 +
                * BE: CW 15-1023, AIFSN 3
 +
                * BK: CW 15-1023, AIFSN 7
 +
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 +
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
BSS c8:d7:19:92:ee:b9(on wlan0)
 +
        TSF: 16633640750 usec (0d, 04:37:13)
 +
        freq: 2462
 +
        beacon interval: 100 TUs
 +
        capability: ESS Privacy ShortSlotTime (0x0411)
 +
        signal: -93.00 dBm
 +
        last seen: 0 ms ago
 +
        Information elements from Probe Response frame:
 +
        SSID: d8738e189d2148f59769-3
 +
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
 +
        DS Parameter set: channel 11
 +
        ERP: <no flags>
 +
        ERP D4.0: <no flags>
 +
        RSN:    * Version: 1
 +
                * Group cipher: TKIP
 +
                * Pairwise ciphers: TKIP
 +
                * Authentication suites: PSK
 +
                * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
 +
        Extended supported rates: 6.0 9.0 12.0 48.0
 +
        WMM:    * Parameter version 1
 +
                * u-APSD
 +
                * BE: CW 15-1023, AIFSN 3
 +
                * BK: CW 15-1023, AIFSN 7
 +
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 +
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
BSS 00:1f:1f:b0:52:30(on wlan0)
 +
        TSF: 838990685 usec (0d, 00:13:58)
 +
        freq: 2462
 +
        beacon interval: 100 TUs
 +
        capability: ESS ShortSlotTime (0x0401)
 +
        signal: -53.00 dBm
 +
        last seen: 0 ms ago
 +
        SSID: INTELLINET_AP2
 +
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
 +
        DS Parameter set: channel 11
 +
        ERP: Barker_Preamble_Mode
 +
        Extended supported rates: 6.0 12.0 24.0 48.0
 +
        HT capabilities:
 +
                Capabilities: 0x11ee
 +
                        HT20/HT40
 +
                        SM Power Save disabled
 +
                        RX HT20 SGI
 +
                        RX HT40 SGI
 +
                        TX STBC
 +
                        RX STBC 1-stream
 +
                        Max AMSDU length: 3839 bytes
 +
                        DSSS/CCK HT40
 +
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
 +
                Minimum RX AMPDU time spacing: 4 usec (0x05)
 +
                HT RX MCS rate indexes supported: 0-7, 32
 +
                HT TX MCS rate indexes are undefined
 +
        HT operation:
 +
                * primary channel: 11
 +
                * secondary channel offset: below
 +
                * STA channel width: any
 +
                * RIFS: 0
 +
                * HT protection: 20 MHz
 +
                * non-GF present: 1
 +
                * OBSS non-GF present: 0
 +
                * dual beacon: 0
 +
                * dual CTS protection: 0
 +
                * STBC beacon: 0
 +
                * L-SIG TXOP Prot: 0
 +
                * PCO active: 0
 +
                * PCO phase: 0
 +
        Secondary Channel Offset: no secondary (0)
 +
        WMM:    * Parameter version 1
 +
                * BE: CW 15-1023, AIFSN 3
 +
                * BK: CW 15-1023, AIFSN 7
 +
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 +
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
        Overlapping BSS scan params:
 +
                * passive dwell: 20 TUs
 +
                * active dwell: 10 TUs
 +
                * channel width trigger scan interval: 300 s
 +
                * scan passive total per channel: 200 TUs
 +
                * scan active total per channel: 20 TUs
 +
                * BSS width channel transition delay factor: 5
 +
                * OBSS Scan Activity Threshold: 0.25 %
 +
        Extended capabilities: HT Information Exchange Supported
 +
BSS ca:d7:19:92:ee:ba(on wlan0)
 +
         TSF: 16633637827 usec (0d, 04:37:13)
 +
         freq: 2462
 
         beacon interval: 100 TUs
 
         beacon interval: 100 TUs
 
         capability: ESS Privacy ShortSlotTime (0x0411)
 
         capability: ESS Privacy ShortSlotTime (0x0411)
         signal: -97.00 dBm
+
         signal: -92.00 dBm
         last seen: 2820 ms ago
+
         last seen: 0 ms ago
 
         Information elements from Probe Response frame:
 
         Information elements from Probe Response frame:
         SSID: davesrl2
+
         SSID: daveguest3
 
         Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
 
         Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
         DS Parameter set: channel 1
+
         DS Parameter set: channel 11
 
         ERP: <no flags>
 
         ERP: <no flags>
 
         ERP D4.0: <no flags>
 
         ERP D4.0: <no flags>
Line 64: Line 231:
 
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
BSS ca:d7:19:92:ee:bb(on wlan0)
 +
        TSF: 16633639271 usec (0d, 04:37:13)
 +
        freq: 2462
 +
        beacon interval: 100 TUs
 +
        capability: ESS Privacy ShortSlotTime (0x0411)
 +
        signal: -92.00 dBm
 +
        last seen: 0 ms ago
 +
        SSID: davesrl3
 +
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
 +
        DS Parameter set: channel 11
 +
        ERP: <no flags>
 +
        ERP D4.0: <no flags>
 +
        RSN:    * Version: 1
 +
                * Group cipher: TKIP
 +
                * Pairwise ciphers: TKIP
 +
                * Authentication suites: PSK
 +
                * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
 +
        Extended supported rates: 6.0 9.0 12.0 48.0
 +
        WMM:    * Parameter version 1
 +
                * u-APSD
 +
                * BE: CW 15-1023, AIFSN 3
 +
                * BK: CW 15-1023, AIFSN 7
 +
                * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
 +
                * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
 +
 +
root@sbc-lynx:~# iw wlan0 connect INTELLINET_AP2
 +
root@sbc-lynx:~# wlan0: authenticate with 00:1f:1f:b0:52:30
 +
wlan0: send auth to 00:1f:1f:b0:52:30 (try 1/3)
 +
wlan0: authenticated
 +
wlan0: associate with 00:1f:1f:b0:52:30 (try 1/3)
 +
wlan0: RX AssocResp from 00:1f:1f:b0:52:30 (capab=0x401 status=0 aid=1)
 +
wlcore: Association completed.
 +
wlan0: associated
 +
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
 +
 +
root@sbc-lynx:~# ping 192.168.11.85
 +
PING 192.168.11.85 (192.168.11.85): 56 data bytes
 +
64 bytes from 192.168.11.85: seq=0 ttl=64 time=14.506 ms
 +
64 bytes from 192.168.11.85: seq=1 ttl=64 time=12.237 ms
 +
^C
 +
--- 192.168.11.85 ping statistics ---
 +
2 packets transmitted, 2 packets received, 0% packet loss
 +
round-trip min/avg/max
 
</pre>
 
</pre>
 +
The following example shows a throughput performance test, carried out with the well-known [https://iperf.fr/ <code>iperf</code> tool]:
 +
<pre>
 +
root@sbc-lynx:~# iperf -c 192.168.11.85 -t 100 -i 5
 +
------------------------------------------------------------
 +
Client connecting to 192.168.11.85, TCP port 5001
 +
TCP window size: 43.8 KByte (default)
 +
------------------------------------------------------------
 +
[  3] local 192.168.11.88 port 49993 connected with 192.168.11.85 port 5001
 +
[ ID] Interval      Transfer    Bandwidth
 +
[  3]  0.0- 5.0 sec  20.2 MBytes  34.0 Mbits/sec
 +
[  3]  5.0-10.0 sec  20.2 MBytes  34.0 Mbits/sec
 +
[  3] 10.0-15.0 sec  20.1 MBytes  33.8 Mbits/sec
 +
[  3] 15.0-20.0 sec  20.0 MBytes  33.6 Mbits/sec
 +
[  3] 20.0-25.0 sec  19.2 MBytes  32.3 Mbits/sec
 +
[  3] 25.0-30.0 sec  19.9 MBytes  33.3 Mbits/sec
 +
[  3] 30.0-35.0 sec  20.2 MBytes  34.0 Mbits/sec
 +
[  3] 35.0-40.0 sec  20.4 MBytes  34.2 Mbits/sec
 +
[  3] 40.0-45.0 sec  20.0 MBytes  33.6 Mbits/sec
 +
[  3] 45.0-50.0 sec  19.9 MBytes  33.3 Mbits/sec
 +
[  3] 50.0-55.0 sec  20.4 MBytes  34.2 Mbits/sec
 +
[  3] 55.0-60.0 sec  20.5 MBytes  34.4 Mbits/sec
 +
[  3] 60.0-65.0 sec  18.9 MBytes  31.7 Mbits/sec
 +
[  3] 65.0-70.0 sec  20.4 MBytes  34.2 Mbits/sec
 +
[  3] 70.0-75.0 sec  20.6 MBytes  34.6 Mbits/sec
 +
[  3] 75.0-80.0 sec  20.0 MBytes  33.6 Mbits/sec
 +
[  3] 80.0-85.0 sec  19.9 MBytes  33.3 Mbits/sec
 +
[  3] 85.0-90.0 sec  19.1 MBytes  32.1 Mbits/sec
 +
[  3] 90.0-95.0 sec  20.1 MBytes  33.8 Mbits/sec
 +
[  3] 95.0-100.0 sec  20.6 MBytes  34.6 Mbits/sec
 +
[  3]  0.0-100.0 sec  401 MBytes  33.6 Mbits/sec
 +
</pre>
 +
 
==Bluetooth==
 
==Bluetooth==
 
<pre>
 
<pre>

Revision as of 09:46, 12 August 2016

Info Box
SBC Lynx-top.png Applies to SBC Lynx

History[edit | edit source]

Version Date XUELK version Notes
1.0.0 1.0.0 August 2016 First public release

Introduction[edit | edit source]

SBC Lynx can be populated with DWM WiFi/Bluetooth combo plugin to easily add wireless connectivity.

This application note describes how to enable these interfaces when working with XUELK 1.0.0

Limitations[edit | edit source]

DWM wireless module shares some signals with mezzanine board connector J53. Thus, when DWM module is used, the following signals must be left floating:

  • J53.1 (UART2_RX_DATA)
  • J53.2 (UART2_nRTS)
  • J53.3 (UART2_TX_DATA)
  • J53.4 (UART2_nCTS).

Usage[edit | edit source]

Software delivered along with XUELK 1.0.0 provides all the required stuff - specifically device drivers and user space tools - to enable and use wireless interfaces. The following sections describe this in more detail.

During the Linux kernel bootstrap, the following messages are printed out during the detection of the wireless chipset:

wilink-wl-en: 3300 mV
wl1271_sdio mmc1:0001:2: legacy platform data not found, trying device tree
wl12xx_driver wl12xx.0.auto: Direct firmware load failed with error -2
wl12xx_driver wl12xx.0.auto: Falling back to user helper
wlcore: loaded

WiFi[edit | edit source]

The following example shows how to:

  • enable WiFi interface, configured as wloan0
  • scan the environment for available networks
root@sbc-lynx:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr DE:AD:BE:EF:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@sbc-lynx:~# ifconfig wlan0 192.168.11.88
wlcore: firmware booted (Rev 6.3.10.0.133)
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@sbc-lynx:~# iw wlan0 scan
BSS 22:aa:4b:22:55:5c(on wlan0)
        TSF: 16627323353 usec (0d, 04:37:07)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -57.00 dBm
        last seen: 0 ms ago
        SSID: davesrl
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0* 36.0 54.0
        DS Parameter set: channel 6
        ERP: <no flags>
        ERP D4.0: <no flags>
        Extended supported rates: 6.0* 9.0 12.0* 48.0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 20:aa:4b:22:55:5e(on wlan0)
        TSF: 16627321902 usec (0d, 04:37:07)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -57.00 dBm
        last seen: 0 ms ago
        SSID: d8738e189d2148f59769
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0* 36.0 54.0
        DS Parameter set: channel 6
        ERP: <no flags>
        ERP D4.0: <no flags>
        Extended supported rates: 6.0* 9.0 12.0* 48.0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 22:aa:4b:22:55:5f(on wlan0)
        TSF: 16627322627 usec (0d, 04:37:07)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -57.00 dBm
        last seen: 0 ms ago
        SSID: daveguest
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0* 36.0 54.0
        DS Parameter set: channel 6
        ERP: <no flags>
        ERP D4.0: <no flags>
        Extended supported rates: 6.0* 9.0 12.0* 48.0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS c8:d7:19:92:ee:b9(on wlan0)
        TSF: 16633640750 usec (0d, 04:37:13)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -93.00 dBm
        last seen: 0 ms ago
        Information elements from Probe Response frame:
        SSID: d8738e189d2148f59769-3
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: <no flags>
        ERP D4.0: <no flags>
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        Extended supported rates: 6.0 9.0 12.0 48.0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 00:1f:1f:b0:52:30(on wlan0)
        TSF: 838990685 usec (0d, 00:13:58)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS ShortSlotTime (0x0401)
        signal: -53.00 dBm
        last seen: 0 ms ago
        SSID: INTELLINET_AP2
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: Barker_Preamble_Mode
        Extended supported rates: 6.0 12.0 24.0 48.0
        HT capabilities:
                Capabilities: 0x11ee
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT RX MCS rate indexes supported: 0-7, 32
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 11
                 * secondary channel offset: below
                 * STA channel width: any
                 * RIFS: 0
                 * HT protection: 20 MHz
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Secondary Channel Offset: no secondary (0)
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities: HT Information Exchange Supported
BSS ca:d7:19:92:ee:ba(on wlan0)
        TSF: 16633637827 usec (0d, 04:37:13)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -92.00 dBm
        last seen: 0 ms ago
        Information elements from Probe Response frame:
        SSID: daveguest3
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: <no flags>
        ERP D4.0: <no flags>
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        Extended supported rates: 6.0 9.0 12.0 48.0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS ca:d7:19:92:ee:bb(on wlan0)
        TSF: 16633639271 usec (0d, 04:37:13)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -92.00 dBm
        last seen: 0 ms ago
        SSID: davesrl3
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: <no flags>
        ERP D4.0: <no flags>
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        Extended supported rates: 6.0 9.0 12.0 48.0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

root@sbc-lynx:~# iw wlan0 connect INTELLINET_AP2
root@sbc-lynx:~# wlan0: authenticate with 00:1f:1f:b0:52:30
wlan0: send auth to 00:1f:1f:b0:52:30 (try 1/3)
wlan0: authenticated
wlan0: associate with 00:1f:1f:b0:52:30 (try 1/3)
wlan0: RX AssocResp from 00:1f:1f:b0:52:30 (capab=0x401 status=0 aid=1)
wlcore: Association completed.
wlan0: associated
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

root@sbc-lynx:~# ping 192.168.11.85
PING 192.168.11.85 (192.168.11.85): 56 data bytes
64 bytes from 192.168.11.85: seq=0 ttl=64 time=14.506 ms
64 bytes from 192.168.11.85: seq=1 ttl=64 time=12.237 ms
^C
--- 192.168.11.85 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max 

The following example shows a throughput performance test, carried out with the well-known iperf tool:

root@sbc-lynx:~# iperf -c 192.168.11.85 -t 100 -i 5
------------------------------------------------------------
Client connecting to 192.168.11.85, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.11.88 port 49993 connected with 192.168.11.85 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  20.2 MBytes  34.0 Mbits/sec
[  3]  5.0-10.0 sec  20.2 MBytes  34.0 Mbits/sec
[  3] 10.0-15.0 sec  20.1 MBytes  33.8 Mbits/sec
[  3] 15.0-20.0 sec  20.0 MBytes  33.6 Mbits/sec
[  3] 20.0-25.0 sec  19.2 MBytes  32.3 Mbits/sec
[  3] 25.0-30.0 sec  19.9 MBytes  33.3 Mbits/sec
[  3] 30.0-35.0 sec  20.2 MBytes  34.0 Mbits/sec
[  3] 35.0-40.0 sec  20.4 MBytes  34.2 Mbits/sec
[  3] 40.0-45.0 sec  20.0 MBytes  33.6 Mbits/sec
[  3] 45.0-50.0 sec  19.9 MBytes  33.3 Mbits/sec
[  3] 50.0-55.0 sec  20.4 MBytes  34.2 Mbits/sec
[  3] 55.0-60.0 sec  20.5 MBytes  34.4 Mbits/sec
[  3] 60.0-65.0 sec  18.9 MBytes  31.7 Mbits/sec
[  3] 65.0-70.0 sec  20.4 MBytes  34.2 Mbits/sec
[  3] 70.0-75.0 sec  20.6 MBytes  34.6 Mbits/sec
[  3] 75.0-80.0 sec  20.0 MBytes  33.6 Mbits/sec
[  3] 80.0-85.0 sec  19.9 MBytes  33.3 Mbits/sec
[  3] 85.0-90.0 sec  19.1 MBytes  32.1 Mbits/sec
[  3] 90.0-95.0 sec  20.1 MBytes  33.8 Mbits/sec
[  3] 95.0-100.0 sec  20.6 MBytes  34.6 Mbits/sec
[  3]  0.0-100.0 sec   401 MBytes  33.6 Mbits/sec

Bluetooth[edit | edit source]

root@sbc-lynx:~# echo 135 > /sys/class/gpio/export
root@sbc-lynx:~# echo out > /sys/class/gpio/gpio135/direction
root@sbc-lynx:~# echo 1 > /sys/class/gpio/gpio135/value
root@sbc-lynx:~# hciattach -t 60 /dev/ttymxc1 texas 115200
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_7.6.15.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
Device setup complete
root@sbc-lynx:~# hciconfig hci0 up
root@sbc-lynx:~# hcitool scan
Scanning ...
        00:02:72:C6:40:16       virt