problem with gspi8385
Bin Wang
shnicebin at gmail.com
Thu Dec 23 02:15:22 EST 2010
Dear all,
i use USI WM-G-MR-08 wifi module and it uses marvell 88w8385+88w8015
inside.
my platform is PXA270, linux 2.6.36. The wifi module is connected to the cpu
by GSPI mode.
i found that there is little information about gspi8385 firmware on the
internet. and i got one from
http://go900.angellfear.ru/build/2010-09-01_00-32/gspi8385_fw.tar.gz
(and i think this firmware is likely extracted from
GSPI-8385-LINUX-OMAP1510-5.0.10.p0-144-src)
anyway, i try to use it with libertas_spi driver. the firmware is downloaded
successfully and the status
led of the wifi module also works right. but when i use iwlist wlan0 scan
command, there is no result.
i turn the debug info on, and it shows:
<7>libertas scan: scan: ssids 1, channels 14, ie_len
0
<7>libertas scan: scan response: 2 BSSs (192 bytes); resp size 203 bytes
so i edit the function lbs_ret_scan in cfg.c, like this:
if (i != TLV_TYPE_TSFTIMESTAMP){
printk("i != TLV_TYPE_TSFTIMESTAMP\n");
// goto done;
}
if (i / 8 != scanresp->nr_sets){
printk("i / 8 != scanresp->nr_sets\n");
// goto done;
}
remove the "goto done". and after that iwlist command get the right result:
<7>libertas scan: scan response: 1 BSSs (96 bytes); resp size 107
bytes
i !=
TLV_TYPE_TSFTIMESTAMP
i !=
TLV_TYPE_TSFTIMESTAMP
i / 8 !=
scanresp->nr_sets
i / 8 != scanresp->nr_sets
libertas scan: scan: 00:23:89:61:f4:f0, capa 0021, chan 11, BNU_student, -87
dBm
wlan0 Scan completed
:
Cell 01 - Address:
00:23:89:61:FA:10
Channel:1
Frequency:2.412 GHz (Channel
1)
Quality=24/70 Signal level=-86
dBm
Encryption
key:off
ESSID:"xxx"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9
Mb/s
11 Mb/s; 12 Mb/s; 18
Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54
Mb/s
Mode:Master
but it still works not very well.
has anyone ever used gspi8385?
Best Regards,
Wang Bin
--
此致
礼
王斌
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libertas-dev/attachments/20101223/b743143b/attachment-0001.html>
More information about the libertas-dev
mailing list