summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-10-03 20:19:56 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-10-03 20:19:56 +0000
commitf22c4413f58e1caf03db48052895f1668dcb290b (patch)
tree41979ed7d44f891824d661c8eaa15aae73043673 /usr.sbin
parent34576ac03b936cfaeb71fd1552bd8ce87b58abbc (diff)
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@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions