On Sun 03/10/2021 22:49, Stefan Sperling wrote:
> While working on 40MHz support for iwm(4) I noticed that throughput
> dropped from 200 Mbit/s to about 2 Mbit/s whenever the laptop roamed
> between APs. Sometimes traffic even stalled completely.
> The patch below fixes this problem for me.


$ dmesg | grep iwm0
iwm0 at pci2 dev 0 function 0 "Intel AC 8260" rev 0x3a, msi
iwm0: hw rev 0x200, fw ver 36.ca7b901d.0, address f4:8c:50:7c:6b:90


Without your diff, before and after roaming:

bandwidth min/avg/max/std-dev = 52.712/83.545/102.649/11.431 Mbps
bandwidth min/avg/max/std-dev = 0.000/1.842/2.124/0.306 Mbps

Oct  4 19:02:41 zeus /bsd: iwm0: roaming from 74:ac:b9:6e:fc:f1 chan 52 to 
f4:92:bf:5e:68:67 chan 36
Oct  4 19:02:41 zeus /bsd: iwm0: RUN -> AUTH
Oct  4 19:02:41 zeus /bsd: iwm0: sending auth to f4:92:bf:5e:68:67 on channel 
36 mode 11a
Oct  4 19:02:41 zeus /bsd: iwm0: AUTH -> ASSOC
Oct  4 19:02:41 zeus /bsd: iwm0: sending assoc_req to f4:92:bf:5e:68:67 on 
channel 36 mode 11a
Oct  4 19:02:41 zeus /bsd: iwm0: received msg 1/4 of the 4-way handshake from 
f4:92:bf:5e:68:67
Oct  4 19:02:41 zeus /bsd: iwm0: sending msg 2/4 of the 4-way handshake to 
f4:92:bf:5e:68:67
Oct  4 19:02:41 zeus /bsd: iwm0: ASSOC -> RUN
Oct  4 19:02:41 zeus /bsd: iwm0: associated with f4:92:bf:5e:68:67 ssid 
"rfc1918" channel 36 start MCS 0 long preamble short slot time HT enabled


With your diff, before and after roaming:

bandwidth min/avg/max/std-dev = 51.428/87.759/103.712/13.885 Mbps
bandwidth min/avg/max/std-dev = 37.244/79.405/102.738/17.689 Mbps

Oct  4 19:10:10 zeus /bsd: iwm0: roaming from f4:92:bf:5e:68:67 chan 36 to 
74:ac:b9:6e:fc:f1 chan 52
Oct  4 19:10:10 zeus /bsd: iwm0: RUN -> AUTH
Oct  4 19:10:10 zeus /bsd: iwm0: sending auth to 74:ac:b9:6e:fc:f1 on channel 
52 mode 11a
Oct  4 19:10:10 zeus /bsd: iwm0: AUTH -> ASSOC
Oct  4 19:10:10 zeus /bsd: iwm0: sending assoc_req to 74:ac:b9:6e:fc:f1 on 
channel 52 mode 11a
Oct  4 19:10:10 zeus /bsd: iwm0: ASSOC -> RUN
Oct  4 19:10:10 zeus /bsd: iwm0: associated with 74:ac:b9:6e:fc:f1 ssid 
"rfc1918" channel 52 start MCS 0 long preamble short slot time HT enabled


Also here, works as advertised!

Reply via email to