On Thu, Jan 11, 2018 at 01:43:11PM +0100, Stefan Sperling wrote: > On Thu, Jan 11, 2018 at 10:51:32AM +0100, Raimo Niskanen wrote: > > Hello misc! > > > > I have an PC Engines Alix 2d13 with an Atheros AR9280 running WPA2-PSK, > > and see a lot of input errors over WiFi. netstat -ivn shows: > > > > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs > > Colls > > athn0 1500 172.17/16 172.17.0.1 1160154 4029261 1485342 61906 > > 0 > > > > I have tried calling "netstat -W athn0" with 10 seconds intervals and get > > typically over such intervals: > > > > 170 input unencrypted packets with wep/wpa config discarded > > 12 input packets with mismatched channel > > 8 input packets with mismatched ssid > > 2 input frames below block ack window start > > > > So is this normal for a congested neighbourhood (6 stories apartment house > > - lots of APs around in the house on the 2.4 GHz band), or can anybody > > think of > > a setting to tweak? The router runs OpenBSD 6.2 stable (patched). > > > > Best regards > > -- > > > > / Raimo Niskanen > > > > These are the numbers for my AP at home: > > $ netstat -nI athn0 > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs > Colls > athn0 1500 <Link> 04:f0:21:17:3c:6a 2235626 123714 3743974 43802 > 0 > > The wifi network is usable but relatively slow. > > This same card worked perfectly fine on a clean wifi channel up in > the Canadian mountains where there was virtually no interference. > Up there I got about 3MB/s transfer rates if I recall correctly. > > After some code inspection I've done recently I came to the conclusion > that this problem might be due to the fact that our driver does not > run the regular calibration routines which other OS drivers use. > If someone looked into that it might help fix the known issues we > have with these devices. There is calibration code in our driver > already but most of it is not being called yet. And what's there now > needs to be cross-checked with other OSs since there are probably bugs.
Ok. Interesting to know, but unfortunately way out of my competence domain... I hope for others to pick up this ball. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB