CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2021/10/03 14:19:55
Modified files: sys/dev/ic : ar5008.c Log message: Apparently some athn(4) variants are buggy and may hand us corrupt frames that are marked "ok". Linux has some workarounds for this and checks whether the status word has error bits set in it regardless of the bit that marks the frame as "ok". Adapt this workaround to our driver and drop the frame after setting input errors. This doesn't filter out all corrupted frames, but it does keep things down to a level where it doesn't fill up the node cache anymore when athn(4) is used in hostap mode. Seen with: athn0 at pci1 dev 0 function 0 "Atheros AR9281" rev 0x01: intx athn0: AR9280 rev 2 (2T2R), ROM rev 16, address xx:xx:xx:xx:xx:xx ok stsp@