On Mon, Mar 14, 2022 at 03:05:00PM -0500, [email protected] wrote:
> On Mon, Mar 14, 2022 at 08:58:01PM +0100, Stefan Sperling wrote:
> >On Mon, Mar 14, 2022 at 02:34:29PM -0500, [email protected] wrote:
> >> Well, even after adding iwm0 I notice high latency and packet loss anywhere
> >> from 15-50%. This occurs randomly when the device is either 2m, 10m, or
> >> 30m
> >> away from the access point. I did testing to verify I'm seeing 65-80%
> >> signal
> >> strength during some of the testing, but there's still loss even at that
> >> strength.
> >>
> >> For now I'll hang an iogear GWU637 off em0 and bridge to the wireless net
> >> using that. Maybe things will get better with iwm(4) in the future.
> >
> >That is not expected.
> >The driver is working fine in general and connections should be stable.
> >
> >That said, I had a similar problem with a umb(4) device that worked
> >perfectly fine in a laptop, but had 20%-30% packet loss when I tried
> >to use it in an APU, and not just one APU but three of them (I tried
> >it an APU1, an APU2, and a different APU2; same issue in all of them).
> >
> >Try the card and the driver in a different device if you can, just to
> >check?
>
> I tried in 2 APU4 devices and the same issue happens.
>
> Unfortunately I've got no other hardware to test with at this time.
Sorry, not sure what could be wrong.
The closest equivalent to your setup I have here are a 3160
minipcie card (same as the 7260 but with only 1 Tx/Rx chain
each instead of 2, i.e. no MIMO), and an APU2.
I did a quick test with a snapshot I built 4 days ago.
iwm0 at pci1 dev 0 function 0 "Intel AC 3160" rev 0x83, msi
iwm0: hw rev 0x160, fw ver 17.3216344376.0, address b4:6d:83:2b:95:a0
I don't see any packet loss.
This is the 3160 sending to a host behind the AP with tcpbench:
Conn: 1 Mbps: 109.417 Peak Mbps: 109.425 Avg Mbps: 109.417
11035 13544592 108.248 100.00%
Conn: 1 Mbps: 108.248 Peak Mbps: 109.425 Avg Mbps: 108.248
12035 13674912 109.399 100.00%
Conn: 1 Mbps: 109.399 Peak Mbps: 109.425 Avg Mbps: 109.399
13049 13732832 108.346 100.00%
Conn: 1 Mbps: 108.346 Peak Mbps: 109.425 Avg Mbps: 108.346
14055 13685048 108.936 100.00%
Conn: 1 Mbps: 108.936 Peak Mbps: 109.425 Avg Mbps: 108.936
15057 13638712 108.892 100.00%
Conn: 1 Mbps: 108.892 Peak Mbps: 109.425 Avg Mbps: 108.892
^C
--- kipo tcpbench statistics ---
194605408 bytes sent over 15.537 seconds
bandwidth min/avg/max/std-dev = 51.155/99.968/109.425/15.694 Mbps
# ifconfig iwm0
iwm0: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCON0
lladdr b4:6d:83:d4:b0:66
index 1 priority 4 llprio 3
groups: wlan egress
media: IEEE802.11 autoselect (HT-MCS7 mode 11n)
status: active
ieee80211: join foo chan 36 bssid 00:85:1b:d2:e2:35 74% wpakey wpaprotop