linux/drivers/net/wireless/ath/ath9k/ar9003_aic.h

/*
 * Copyright (c) 2015 Qualcomm Atheros Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef AR9003_AIC_H
#define AR9003_AIC_H

#define ATH_AIC_MAX_COM_ATT_DB_TABLE
#define ATH_AIC_MAX_AIC_LIN_TABLE
#define ATH_AIC_MIN_ROT_DIR_ATT_DB
#define ATH_AIC_MIN_ROT_QUAD_ATT_DB
#define ATH_AIC_MAX_ROT_DIR_ATT_DB
#define ATH_AIC_MAX_ROT_QUAD_ATT_DB
#define ATH_AIC_SRAM_AUTO_INCREMENT
#define ATH_AIC_SRAM_GAIN_TABLE_OFFSET
#define ATH_AIC_SRAM_CAL_OFFSET
#define ATH_AIC_SRAM_OFFSET
#define ATH_AIC_MEAS_MAG_THRESH
#define ATH_AIC_BT_JUPITER_CTRL
#define ATH_AIC_BT_AIC_ENABLE

enum aic_cal_state {};

struct ath_aic_sram_info {};

struct ath_aic_out_info {};

u8 ar9003_aic_calibration(struct ath_hw *ah);
u8 ar9003_aic_start_normal(struct ath_hw *ah);
u8 ar9003_aic_cal_reset(struct ath_hw *ah);
u8 ar9003_aic_calibration_single(struct ath_hw *ah);

#endif /* AR9003_AIC_H */