1222301Sadrian/* 2222301Sadrian * Copyright (c) 2010 Atheros Communications, Inc. 3222301Sadrian * 4222301Sadrian * Permission to use, copy, modify, and/or distribute this software for any 5222301Sadrian * purpose with or without fee is hereby granted, provided that the above 6222301Sadrian * copyright notice and this permission notice appear in all copies. 7222301Sadrian * 8222301Sadrian * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9222301Sadrian * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10222301Sadrian * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11222301Sadrian * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12222301Sadrian * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13222301Sadrian * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14222301Sadrian * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15222301Sadrian * 16222301Sadrian * $FreeBSD$ 17222301Sadrian */ 18222301Sadrian 19222301Sadrian#ifndef __AR9287_OLC_H__ 20222301Sadrian#define __AR9287_OLC_H__ 21222301Sadrian 22222301Sadrianextern void ar9287olcInit(struct ath_hal *ah); 23222301Sadrianextern void ar9287olcTemperatureCompensation(struct ath_hal *ah); 24222308Sadrianextern void ar9287olcGetTxGainIndex(struct ath_hal *ah, 25222308Sadrian const struct ieee80211_channel *chan, 26222308Sadrian struct cal_data_op_loop_ar9287 *pRawDatasetOpLoop, 27222308Sadrian uint8_t *pCalChans, uint16_t availPiers, int8_t *pPwr); 28222308Sadrianextern void ar9287olcSetPDADCs(struct ath_hal *ah, 29222308Sadrian int32_t txPower, uint16_t chain); 30222301Sadrian 31222301Sadrian#endif /* __AR9287_OLC_H__ */ 32