desc.c (33e2bf6aa16061bae1253514e7c32af27d2b4b31) desc.c (2111ac0d888767999c7dd6d1309dcc1fb8012022)
1/*
2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.

--- 631 unchanged lines hidden (view full) ---

640 AR5K_5212_RX_DESC_STATUS1_CRC_ERROR)
641 rs->rs_status |= AR5K_RXERR_CRC;
642
643 if (rx_status->rx_status_1 &
644 AR5K_5212_RX_DESC_STATUS1_PHY_ERROR) {
645 rs->rs_status |= AR5K_RXERR_PHY;
646 rs->rs_phyerr |= AR5K_REG_MS(rx_err->rx_error_1,
647 AR5K_RX_DESC_ERROR1_PHY_ERROR_CODE);
1/*
2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.

--- 631 unchanged lines hidden (view full) ---

640 AR5K_5212_RX_DESC_STATUS1_CRC_ERROR)
641 rs->rs_status |= AR5K_RXERR_CRC;
642
643 if (rx_status->rx_status_1 &
644 AR5K_5212_RX_DESC_STATUS1_PHY_ERROR) {
645 rs->rs_status |= AR5K_RXERR_PHY;
646 rs->rs_phyerr |= AR5K_REG_MS(rx_err->rx_error_1,
647 AR5K_RX_DESC_ERROR1_PHY_ERROR_CODE);
648 ath5k_ani_phy_error_report(ah, rs->rs_phyerr);
648 }
649
650 if (rx_status->rx_status_1 &
651 AR5K_5212_RX_DESC_STATUS1_DECRYPT_CRC_ERROR)
652 rs->rs_status |= AR5K_RXERR_DECRYPT;
653
654 if (rx_status->rx_status_1 &
655 AR5K_5212_RX_DESC_STATUS1_MIC_ERROR)

--- 37 unchanged lines hidden ---
649 }
650
651 if (rx_status->rx_status_1 &
652 AR5K_5212_RX_DESC_STATUS1_DECRYPT_CRC_ERROR)
653 rs->rs_status |= AR5K_RXERR_DECRYPT;
654
655 if (rx_status->rx_status_1 &
656 AR5K_5212_RX_DESC_STATUS1_MIC_ERROR)

--- 37 unchanged lines hidden ---