大佬们,请教一下,f1c200s tina 3.5.1 linux-3.10 硬件平台,移植了xr829驱动,目前网课是可以使用了,但是大概率扫描不到wifi,该往哪方面偏差问题啊。
下面是扫描wifi路由的结果,大概率情况下设备是一个wifi都扫描不到的,只能偶尔扫描到几个wifi。
偶尔赛秒到的几个wifi,看样子不像是硬件设计问题:
root@TinaLinux:/# wifi_scan_results_test ?[J
*********************************
***Start scan!***
*********************************
bssid / frequency / signal level / flags / ssid
60:fa:9d:0b:83:70 2437 -55 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] ChinaNet-wQLp
02:68:eb:53:82:76 2437 -62 [WPA2-PSK-CCMP][WPS][ESS][P2P] DIRECT-76-HP M429fdw LJ
ac:74:09:91:b6:66 2437 -85 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS] 14-603
ac:74:09:91:b6:64 2437 -86 [ESS]
******************************
Wifi get_scan_results: Success!
******************************
大概率是扫描不到wifi:
root@TinaLinux:/# wifi_scan_results_test ?[J
*********************************
***Start scan!***
*********************************
bssid / frequency / signal level / flags / ssid
******************************
Wifi get_scan_results: Success!
离线
换天线?
板载天线测试了,硬件连接没啥问题,但是就是扫描不到wifi,把板载PCB的线弄断,接了一个fpc天线,测试还是不行,依旧是很难搜索到wifi。从偶尔扫描到的WiFi信号来看,偶尔能扫描到的wifi信号也在-55左右,这个值也勉强的能算作正常了,应该不是天线问题
离线
完结撒花,调试到最后还是驱动问题,完成了 f1c200s tina 3.5 kernel 3.10硬件平台的xr829驱动调试,完成了wifi版本移植,踩坑了驱动移植、驱动加载不成功、扫描不到wifi、ping时间超时等一堆问题,终于爬坑成功,感谢各位大佬的支持。
root@TinaLinux:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 90:85:DC:C6:92:77
inet addr:192.168.31.5 Bcast:192.168.31.255 Mask:255.255.255.0
inet6 addr: fe80::9285:dcff:fec6:9277/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5912 errors:0 dropped:28 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:992559 (969.2 KiB) TX bytes:27956 (27.3 KiB)
root@TinaLinux:/# ping www.baidu.com
PING www.baidu.com (36.155.132.3): 56 data bytes
64 bytes from 36.155.132.3: seq=0 ttl=53 time=15.144 ms
64 bytes from 36.155.132.3: seq=1 ttl=53 time=17.370 ms
64 bytes from 36.155.132.3: seq=2 ttl=53 time=12.862 ms
64 bytes from 36.155.132.3: seq=3 ttl=53 time=21.165 ms
64 bytes from 36.155.132.3: seq=4 ttl=53 time=23.217 ms
64 bytes from 36.155.132.3: seq=5 ttl=53 time=86.893 ms
^C
--- www.baidu.com ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 12.862/29.441/86.893 ms
离线