Posts: 3
Joined: Fri Apr 20, 2018 5:35 am

Raspberry Pi 3B Onboard WiFi Stalls

Thu Jul 12, 2018 7:28 am

I have a Raspberry Pi 3 Model B Rev 1.2, and the onboard WiFi stalls in both SSH and SCP interactions. So far I've disabled Power Management and added "IPQoS cs0 cs0" to my ssh[d]_config, but neither seems to have resolved my issue:

nick@pi64 ~ $ dd if=/dev/zero of=100mfile bs=1048576 count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 8.78742 s, 11.9 MB/s

nick@laptop ~ $ scp .
100mfile 0% 224KB 0.4KB/s 0.0KB/s - stalled -^CKilled by signal 2.

occasionally it will work, but speed will be terrible:
nick@laptop ~ $ scp .
100mfile 4% 4896KB 381.7KB/s 224.0KB/s 04:15 ETA^CKilled by signal 2.

I do see some variation in latency in the 5-40ms range:
nick@router $ ping
PING ( 56 data bytes
64 bytes from seq=0 ttl=64 time=17.064 ms
64 bytes from seq=1 ttl=64 time=5.931 ms
64 bytes from seq=2 ttl=64 time=19.045 ms
64 bytes from seq=3 ttl=64 time=5.635 ms
64 bytes from seq=4 ttl=64 time=12.405 ms
64 bytes from seq=5 ttl=64 time=16.439 ms
64 bytes from seq=6 ttl=64 time=9.307 ms
64 bytes from seq=7 ttl=64 time=10.898 ms
64 bytes from seq=8 ttl=64 time=5.849 ms
64 bytes from seq=9 ttl=64 time=34.900 ms
64 bytes from seq=10 ttl=64 time=14.867 ms
64 bytes from seq=11 ttl=64 time=24.431 ms

I am running wpa_supplicant with a WPA-PSK over a 2.4Ghz N network. Other 2.4Ghz devices don't seem to have this issue.

Any thoughts or suggestions would be much appreciated.

# cat /sys/firmware/devicetree/base/model;echo
Raspberry Pi 3 Model B Rev 1.2
# dmesg | grep brcm
[ 16.051190] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
[ 16.051679] usbcore: registered new interface driver brcmfmac
[ 16.283958] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version (r674442 CY) FWID 01-e58d219f
[ 16.284664] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:14
[ 21.753312] brcmfmac: power management disabled

Posts: 1331
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Raspberry Pi 3B Onboard WiFi Stalls

Thu Jul 12, 2018 8:50 am

please post the output of "uname -a".
What router are you using ?
The road to insanity is paved with static ip addresses

Posts: 3
Joined: Fri Apr 20, 2018 5:35 am

Re: Raspberry Pi 3B Onboard WiFi Stalls

Thu Jul 12, 2018 9:55 pm

I'll be able to post the exact "uname -a" this evening (I believe I'm on kernel 4.14.31). I'm running gentoo-on-rpi3-64bit, and am still on Release 1.2.1. I haven't had a chance to test if the stall issue is limited to just SSH or if it goes beyond that.

Return to “Troubleshooting”