if_ath_rx.c (249085) | if_ath_rx.c (250346) |
---|---|
1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_rx.c 249085 2013-04-04 08:21:56Z adrian $"); | 31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_rx.c 250346 2013-05-08 01:11:25Z adrian $"); |
32 33/* 34 * Driver for the Atheros Wireless LAN controller. 35 * 36 * This software is derived from work of Atsushi Onoe; his contribution 37 * is greatly appreciated. 38 */ 39 --- 500 unchanged lines hidden (view full) --- 540 if (rs->rs_flags & HAL_RX_DELIM_CRC_PRE) 541 sc->sc_stats.ast_rx_pre_crc_err++; 542 if (rs->rs_flags & HAL_RX_DELIM_CRC_POST) 543 sc->sc_stats.ast_rx_post_crc_err++; 544 if (rs->rs_flags & HAL_RX_DECRYPT_BUSY) 545 sc->sc_stats.ast_rx_decrypt_busy_err++; 546 if (rs->rs_flags & HAL_RX_HI_RX_CHAIN) 547 sc->sc_stats.ast_rx_hi_rx_chain++; | 32 33/* 34 * Driver for the Atheros Wireless LAN controller. 35 * 36 * This software is derived from work of Atsushi Onoe; his contribution 37 * is greatly appreciated. 38 */ 39 --- 500 unchanged lines hidden (view full) --- 540 if (rs->rs_flags & HAL_RX_DELIM_CRC_PRE) 541 sc->sc_stats.ast_rx_pre_crc_err++; 542 if (rs->rs_flags & HAL_RX_DELIM_CRC_POST) 543 sc->sc_stats.ast_rx_post_crc_err++; 544 if (rs->rs_flags & HAL_RX_DECRYPT_BUSY) 545 sc->sc_stats.ast_rx_decrypt_busy_err++; 546 if (rs->rs_flags & HAL_RX_HI_RX_CHAIN) 547 sc->sc_stats.ast_rx_hi_rx_chain++; |
548 if (rs->rs_flags & HAL_RX_STBC) 549 sc->sc_stats.ast_rx_stbc++; |
|
548#endif /* AH_SUPPORT_AR5416 */ 549 550 if (rs->rs_status != 0) { 551 if (rs->rs_status & HAL_RXERR_CRC) 552 sc->sc_stats.ast_rx_crcerr++; 553 if (rs->rs_status & HAL_RXERR_FIFO) 554 sc->sc_stats.ast_rx_fifoerr++; 555 if (rs->rs_status & HAL_RXERR_PHY) { --- 675 unchanged lines hidden --- | 550#endif /* AH_SUPPORT_AR5416 */ 551 552 if (rs->rs_status != 0) { 553 if (rs->rs_status & HAL_RXERR_CRC) 554 sc->sc_stats.ast_rx_crcerr++; 555 if (rs->rs_status & HAL_RXERR_FIFO) 556 sc->sc_stats.ast_rx_fifoerr++; 557 if (rs->rs_status & HAL_RXERR_PHY) { --- 675 unchanged lines hidden --- |