Felix Fietkau 3747c3eef6 ath9k: detect more kinds of invalid descriptors
If AR_CRCErr, AR_PHYErr, AR_DecryptCRCErr or AR_MichaelErr is indicated
in the rx status word, but AR_RxFrameOK is also set, the descriptor
contents are typically invalid. This can show up as a warning about
invalid MCS rates in a frame. Even with those checks in place, a
descriptor with invalid MCS rates can still sometimes make it through to
the driver (mostly on older hardware like AR91xx).

Detect such errors in the last descriptor of a frame and discard the
whole frame if present.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-04-10 14:10:33 -04:00
..
2013-03-27 13:39:09 -04:00
2013-03-01 13:39:00 -08:00
2013-03-05 17:22:08 -08:00
2013-02-28 20:00:40 -08:00
2013-02-27 19:10:17 -08:00
2013-03-02 08:31:39 -08:00
2013-03-02 16:33:54 -08:00
2013-02-27 19:10:18 -08:00
2013-02-27 19:10:18 -08:00
2013-02-28 09:37:12 +01:00
2013-03-02 11:42:16 -08:00
2013-02-27 19:10:19 -08:00
2013-03-03 10:24:57 -08:00
2013-02-27 19:10:19 -08:00
2013-02-28 19:59:34 -08:00
2013-03-03 14:22:53 -08:00