reset.c (30bd3a3092c17dbfa18f042ca0815758e8d34e65) reset.c (40ca22eafeb61ee1419dd7c4c2698459183c582c)
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 Luis Rodriguez <mcgrof@winlab.rutgers.edu>
5 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org>
6 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
7 *
8 * Permission to use, copy, modify, and distribute this software for any

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

845 AR5K_PHY_RF_CTL3_TXE2XLNA_ON,
846 ee->ee_tx_end2xlna_enable[ee_mode]);
847
848 /* Thresh64 (ANI) */
849 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_NF,
850 AR5K_PHY_NF_THRESH62,
851 ee->ee_thr_62[ee_mode]);
852
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 Luis Rodriguez <mcgrof@winlab.rutgers.edu>
5 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org>
6 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
7 *
8 * Permission to use, copy, modify, and distribute this software for any

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

845 AR5K_PHY_RF_CTL3_TXE2XLNA_ON,
846 ee->ee_tx_end2xlna_enable[ee_mode]);
847
848 /* Thresh64 (ANI) */
849 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_NF,
850 AR5K_PHY_NF_THRESH62,
851 ee->ee_thr_62[ee_mode]);
852
853
854 /* False detect backoff for channels
855 * that have spur noise. Write the new
856 * cyclic power RSSI threshold. */
857 if (ath5k_hw_chan_has_spur_noise(ah, channel))
858 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_OFDM_SELFCORR,
859 AR5K_PHY_OFDM_SELFCORR_CYPWR_THR1,
860 AR5K_INIT_CYCRSSI_THR1 +
861 ee->ee_false_detect[ee_mode]);

--- 528 unchanged lines hidden ---
853 /* False detect backoff for channels
854 * that have spur noise. Write the new
855 * cyclic power RSSI threshold. */
856 if (ath5k_hw_chan_has_spur_noise(ah, channel))
857 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_OFDM_SELFCORR,
858 AR5K_PHY_OFDM_SELFCORR_CYPWR_THR1,
859 AR5K_INIT_CYCRSSI_THR1 +
860 ee->ee_false_detect[ee_mode]);

--- 528 unchanged lines hidden ---