Wireless LAN (IEEE 802.11)
<M> Marvell 8xxx Libertas WLAN driver support
<M> Marvell Libertas 8385 and 8686 SDIO 802.11b/g cards
Enable full debugging output in the Libertas module.
2.patch the kernel
cd uclinux-dist/linux-2.6.x
...uclinux-dist/linux-2.6.x$ patch -p0< sdio_wifi.patch
3.copy firmwares and hotplug script to romfs
cd uclinux-dist
.../uclinux-dist$mkdir romfs/lib/firmware
.../uclinux-dist$cp sd8686.bin romfs/lib/firmware
.../uclinux-dist$cp sd8686_helper.bin romfs/lib/firmware
.../uclinux-dist$cp .../hotplug /romfs/sbin/
.../uclinux-dist$cd /romfs/sbin/;chmod +x hotplug
4.install libertas module
After doing above job,then compile the source and download the image to BF548-EZKIT board
SDIO card should be showed after the image is downloaded to the board.
mmc0: new SDIO card at address 0001
Following is my steps to connect this wifi module to my AP
root:/> iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...
g eth1 192.168.1.101 up
route add default gw 192.168.1.1eth1 IEEE 802.11b/gESSID:""
Mode:ManagedFrequency:2.412 GHzAccess Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power=18 dBm
Retry limit:8 RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0Signal level:0Noise level:0
Rx invalid nwid:0Rx invalid crypt:0Rx invalid frag:0
Tx excessive retries:0Invalid misc:0 Missed beacon:0
root:/> ifconfig eth1 up
root:/> iwlist eth1 scan
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...
eth1 Scan completed :
Cell 01 - Address: 00:19:A9:FD:2B:01
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=43/100Signal level=-88 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 02 - Address: 00:1C:F9:C02:E0
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=89/100Signal level=-61 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 03 - Address: 00:1C:F9:C02:E1
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=89/100Signal level=-61 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 04 - Address: 00:19:A9:FD:2B:00
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=43/100Signal level=-88 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 05 - Address: 00:1A:704:94:C7
ESSID:"linksys"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=98/100Signal level=-31 dBmNoise level=-96 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Cell 06 - Address: 00:1C:F9:C0B:E0
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=91/100Signal level=-59 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 07 - Address: 00:1C:F9:C0B:E1
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=91/100Signal level=-59 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 08 - Address: 00:1C:F9:C05:A0
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=46/100Signal level=-87 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 09 - Address: 00:1C:F9:C05:A1
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=48/100Signal level=-86 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 10 - Address: 00:0F:E2:90:15:50
ESSID:"ChinaNet"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=50/100Signal level=-85 dBmNoise level=-96 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Cell 11 - Address: 02D:B2:FA8:E5
ESSID:"hpsetup"
Mode:Ad-Hoc
Frequency:2.457 GHz (Channel 10)
Quality=68/100Signal level=-76 dBmNoise level=-96 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Cell 12 - Address: 00:1C:F9:C0:73:00
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=89/100Signal level=-61 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 13 - Address: 00:1C:F9:C0:73:01
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=89/100Signal level=-61 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 14 - Address: 00:19:A9:FD:2F:01
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=57/100Signal level=-82 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 15 - Address: 00:50:18:1F:81:42
ESSID:"Lilly"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=43/100Signal level=-88 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Cell 16 - Address: 00:19:A9:FD:2F:00
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=54/100Signal level=-83 dBmNoise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
root:/> iwconfig eth1 essid linksys
root:/> ifconfig eth1 192.168.1.101 up
root:/> route add default gw 192.168.1.1
root:/> ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=24.000 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=12.000 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=12.000 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=16.000 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=12.000 ms
64 bytes from 192.168.1.1: seq=5 ttl=64 time=12.000 ms