rockchip-linux / kernel

BSP kernel source
Other
928 stars 1.09k forks source link

rk3399 + ap6356s wifi error #58

Open wuweidong0107 opened 6 years ago

wuweidong0107 commented 6 years ago

Hi. I run into some error when using rk3399 with ap6356s. Here comes my environment: rootfs: https://github.com/rockchip-linux/rk-rootfs-build/commit/34e0150f9768fa7140fda45d7f4f64280a4c0506 linux-kernel: https://github.com/rockchip-linux/kernel/commit/77c621e5319e4b78cb04cc00699f1877627ccc05 display device: 1920x1080 HDMI Soc: rk3399 + ap6356s

Test step: PC: iperf -s rk3399: iperf -c PC -i 2 -t 600

Most time iperf prints "562.0-564.0 sec 25.0 MBytes 105 Mbits/sec". But sometimes bcmdhd drvier throws error like this: [ 1690.134172] dhd_bus_txctl: No bus credit bus->tx_max 205, bus->tx_seq 205, last retry cnt 5 [ 1694.135393] dhd_bus_txctl: ctrl_frame_stat == TRUE txcnt_timeout=1 [ 1694.137349] Dump dongle memory [ 1694.255435] dhd_schedule_memdump: buf(va)=ffffffc0dd300000, buf(pa)=dd300000, bufsize=786432 [ 1694.256366] open file /installmedia/mem_dump_ERROR_TX_TIMED_OUT_1516256958.147379, try /data/ [ 1694.257127] write_dump_to_file: file_path = /data/mem_dump_ERROR_TX_TIMED_OUT_1516256958.147379 [ 1694.257953] open file error, err = -2 [ 1694.258344] dhd_mem_dump: writing SoC_RAM dump to the file failed [ 1694.259185] dhdcdc_query_ioctl: dhdcdc_msg failed w/status -5 [ 1694.259757] CFG80211-ERROR) wl_cfg80211_get_station : Could not get rate (-5)

When it occurred, the iperf prints "178.0-180.0 sec 0.00 Bytes 0.00 bits/sec" Any suggestiong to solve this problem?Thank a lot.

kafan1986 commented 6 years ago

@wuweidong0107 Does this wifi module support Monitor mode? Can you post the output of following command?

iw list

GaraQuor commented 5 years ago

Hello, nope sorry

root@NanoPC-T4:~# iw list Wiphy phy0 max # scan SSIDs: 10 max scan IEs length: 2048 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 max scan plan interval: -1 max scan plan iterations: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports T-DLS. Supported Ciphers: