diff options
Diffstat (limited to 'sys/contrib/dev/ath/ath_hal/ar9300/ar9300paprd.h')
-rw-r--r-- | sys/contrib/dev/ath/ath_hal/ar9300/ar9300paprd.h | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300paprd.h b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300paprd.h index df97fd3..c6f20a1 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300paprd.h +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300paprd.h @@ -13,42 +13,24 @@ * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ -/* - - * Copyright (c) 2002-2010 Atheros Communications, Inc. - * All Rights Reserved. - * - * Copyright (c) 2011 Qualcomm Atheros, Inc. - * All Rights Reserved. - * Qualcomm Atheros Confidential and Proprietary. - * - - */ - - - #ifndef __AR9300PAPRD_H__ - #define __AR9300PAPRD_H__ - - #include <ah.h> - #include "ar9300.h" - #include "ar9300phy.h" #define AH_PAPRD_AM_PM_MASK 0x1ffffff #define AH_PAPRD_IDEAL_AGC2_PWR_RANGE 0xe0 -extern int ar9300_paprd_init_table(struct ath_hal *ah, HAL_CHANNEL *chan); + +extern int ar9300_paprd_init_table(struct ath_hal *ah, struct ieee80211_channel *chan); extern HAL_STATUS ar9300_paprd_setup_gain_table(struct ath_hal *ah, int chain_num); -extern HAL_STATUS ar9300_paprd_create_curve(struct ath_hal *ah, HAL_CHANNEL *chan, int chain_num); +extern HAL_STATUS ar9300_paprd_create_curve(struct ath_hal *ah, struct ieee80211_channel *chan, int chain_num); extern int ar9300_paprd_is_done(struct ath_hal *ah); -extern void ar9300_enable_paprd(struct ath_hal *ah, HAL_BOOL enable_flag, HAL_CHANNEL * chan); +extern void ar9300_enable_paprd(struct ath_hal *ah, HAL_BOOL enable_flag, struct ieee80211_channel * chan); extern void ar9300_swizzle_paprd_entries(struct ath_hal *ah, unsigned int txchain); -extern void ar9300_populate_paprd_single_table(struct ath_hal *ah, HAL_CHANNEL *chan, int chain_num); +extern void ar9300_populate_paprd_single_table(struct ath_hal *ah, struct ieee80211_channel *chan, int chain_num); extern void ar9300_paprd_dec_tx_pwr(struct ath_hal *ah); extern int ar9300_paprd_thermal_send(struct ath_hal *ah); -#endif +#endif |