WLAN USB adapter to MangOH

Hi,

I did the exercise to integrate all the drivers and tools in order to support USB WiFi dongles based on Realtek RTL8192CU/RTL8188CUS chipset.

It is working fine on my mangOH board with WP8548 running the firmware SWI9X15Y_07.05.01.00 (the one delivered with Legato 15.10).

My WiFi dongle used for the test is the famous Edimax EW-7811UN (based on RTL8188CUS).

If you want to test it, I have uploaded a Yocto image (kernel+rootfs) for WP85 target:
Yocto image (only for SWI9X15Y_07.05.01.00)

[color=#FF0000]Warning[/color]:
Prior to install this image, your mangOH board (WP8548 module) must be already upgraded to Legato 15.10 (firmware SWI9X15Y_07.05.01.00).
[color=#FF0000]Do not try to install it on top of another version.[/color]

Then, here is an example about how to use it:

[code]# modprobe rtl8192cu

iw dev wlan0 info

Interface wlan0
ifindex 12
wdev 0x1
addr 74:da:38:xx:xx:xx
type managed
wiphy 0

ifconfig wlan0 up

wpa_supplicant -B -i wlan0 -c wifi.conf

Successfully initialized wpa_supplicant
[ 479.072394] wlan0: authenticate with 00:1a:1e:xx:xx:xx
[ 479.114146] wlan0: send auth to 00:1a:1e:xx:xx:xx (try 1/3)
[ 479.123363] wlan0: authenticated
[ 479.126323] rtl8192cu 1-1.3.2:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 479.142652] rtl8192cu 1-1.3.2:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 479.167312] wlan0: associate with 00:1a:1e:xx:xx:xx (try 1/3)
[ 479.178605] wlan0: RX AssocResp from 00:1a:1e:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 479.188310] wlan0: associated
[ 479.190324] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

iw dev wlan0 link

Connected to 00:1a:1e:xx:xx:xx (on wlan0)
SSID: MYWIFIHOTSPOT
freq: 2412
RX: 88966 bytes (1616 packets)
TX: 978 bytes (10 packets)
signal: -40 dBm
tx bitrate: 18.0 MBit/s

    bss flags:      short-preamble short-slot-time
    dtim period:    0
    beacon int:     100

udhcpc -i wlan0

udhcpc (v1.22.1) started
Sending discover…
Sending select for 192.168.40.190…
Lease of 192.168.40.190 obtained, lease time 28800
/etc/udhcpc.d/50default: Adding DNS 8.8.8.8
/etc/udhcpc.d/50default: Adding DNS 4.2.2.2

ifconfig wlan0

wlan0 Link encap:Ethernet HWaddr 74:DA:38:xx:xx:xx
inet addr:192.168.40.190 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1204 (1.1 KiB) TX bytes:2614 (2.5 KiB)

ping -c 4 www.legato.io

PING www.legato.io (185.31.18.133): 56 data bytes
64 bytes from 185.31.18.133: seq=0 ttl=54 time=23.226 ms
64 bytes from 185.31.18.133: seq=1 ttl=54 time=25.729 ms
64 bytes from 185.31.18.133: seq=2 ttl=54 time=20.968 ms
64 bytes from 185.31.18.133: seq=3 ttl=55 time=25.515 ms

www.legato.io ping statistics —
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 20.968/23.859/25.729 ms[/code]


Jay

1 Like