| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2008-2010 Atheros Communications Inc. | 2 * Copyright (c) 2008-2010 Atheros Communications Inc. |
| 3 * | 3 * |
| 4 * Permission to use, copy, modify, and/or distribute this software for any | 4 * Permission to use, copy, modify, and/or distribute this software for any |
| 5 * purpose with or without fee is hereby granted, provided that the above | 5 * purpose with or without fee is hereby granted, provided that the above |
| 6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
| 7 * | 7 * |
| 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| (...skipping 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2449 | 2449 |
| 2450 ENABLE_REGWRITE_BUFFER(ah); | 2450 ENABLE_REGWRITE_BUFFER(ah); |
| 2451 | 2451 |
| 2452 REG_WRITE(ah, AR_RX_FILTER, bits); | 2452 REG_WRITE(ah, AR_RX_FILTER, bits); |
| 2453 | 2453 |
| 2454 phybits = 0; | 2454 phybits = 0; |
| 2455 if (bits & ATH9K_RX_FILTER_PHYRADAR) | 2455 if (bits & ATH9K_RX_FILTER_PHYRADAR) |
| 2456 phybits |= AR_PHY_ERR_RADAR; | 2456 phybits |= AR_PHY_ERR_RADAR; |
| 2457 if (bits & ATH9K_RX_FILTER_PHYERR) | 2457 if (bits & ATH9K_RX_FILTER_PHYERR) |
| 2458 phybits |= AR_PHY_ERR_OFDM_TIMING | AR_PHY_ERR_CCK_TIMING; | 2458 phybits |= AR_PHY_ERR_OFDM_TIMING | AR_PHY_ERR_CCK_TIMING; |
| 2459 » REG_WRITE(ah, AR_PHY_ERR, phybits); | 2459 » REG_WRITE(ah, AR_PHY_ERR, 0xffffffff); |
| 2460 | 2460 |
| 2461 if (phybits) | 2461 if (phybits) |
| 2462 REG_WRITE(ah, AR_RXCFG, | 2462 REG_WRITE(ah, AR_RXCFG, |
| 2463 REG_READ(ah, AR_RXCFG) | AR_RXCFG_ZLFDMA); | 2463 REG_READ(ah, AR_RXCFG) | AR_RXCFG_ZLFDMA); |
| 2464 else | 2464 else |
| 2465 REG_WRITE(ah, AR_RXCFG, | 2465 REG_WRITE(ah, AR_RXCFG, |
| 2466 REG_READ(ah, AR_RXCFG) & ~AR_RXCFG_ZLFDMA); | 2466 REG_READ(ah, AR_RXCFG) & ~AR_RXCFG_ZLFDMA); |
| 2467 | 2467 |
| 2468 REGWRITE_BUFFER_FLUSH(ah); | 2468 REGWRITE_BUFFER_FLUSH(ah); |
| 2469 DISABLE_REGWRITE_BUFFER(ah); | 2469 DISABLE_REGWRITE_BUFFER(ah); |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2876 ath9k_hw_mac_bb_name(ah->hw_version.macVersion), | 2876 ath9k_hw_mac_bb_name(ah->hw_version.macVersion), |
| 2877 ah->hw_version.macRev, | 2877 ah->hw_version.macRev, |
| 2878 ath9k_hw_rf_name((ah->hw_version.analog5GhzRev & | 2878 ath9k_hw_rf_name((ah->hw_version.analog5GhzRev & |
| 2879 AR_RADIO_SREV_MAJOR)), | 2879 AR_RADIO_SREV_MAJOR)), |
| 2880 ah->hw_version.phyRev); | 2880 ah->hw_version.phyRev); |
| 2881 } | 2881 } |
| 2882 | 2882 |
| 2883 hw_name[used] = '\0'; | 2883 hw_name[used] = '\0'; |
| 2884 } | 2884 } |
| 2885 EXPORT_SYMBOL(ath9k_hw_name); | 2885 EXPORT_SYMBOL(ath9k_hw_name); |
| OLD | NEW |