1219481Sadrian/* 2219481Sadrian * Copyright (c) 2008-2010 Atheros Communications Inc. 3219481Sadrian * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd. 4219481Sadrian * 5219481Sadrian * Redistribution and use in source and binary forms, with or without 6219481Sadrian * modification, are permitted provided that the following conditions 7219481Sadrian * are met: 8219481Sadrian * 1. Redistributions of source code must retain the above copyright 9219481Sadrian * notice, this list of conditions and the following disclaimer. 10219481Sadrian * 2. Redistributions in binary form must reproduce the above copyright 11219481Sadrian * notice, this list of conditions and the following disclaimer in the 12219481Sadrian * documentation and/or other materials provided with the distribution. 13219481Sadrian * 14219481Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15219481Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16219481Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17219481Sadrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18219481Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19219481Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20219481Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21219481Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22219481Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23219481Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24219481Sadrian * SUCH DAMAGE. 25219481Sadrian * 26219481Sadrian * $FreeBSD: releng/10.2/sys/dev/ath/ath_hal/ar9002/ar9285_cal.h 219481 2011-03-11 11:58:54Z adrian $ 27219481Sadrian */ 28219481Sadrian#ifndef __AR9285_CAL_H__ 29219481Sadrian#define __AR9285_CAL_H__ 30219481Sadrian 31219481Sadrianextern void ar9002_hw_pa_cal(struct ath_hal *ah, HAL_BOOL is_reset); 32219481Sadrianextern HAL_BOOL ar9285InitCalHardware(struct ath_hal *ah, const struct ieee80211_channel *chan); 33219481Sadrian 34219481Sadrian#endif 35