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

/*
 * 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.
 */

#include "hw.h"
#include "hw-ops.h"
#include "ar9003_mci.h"
#include "ar9003_aic.h"
#include "ar9003_phy.h"
#include "reg_aic.h"

static const u8 com_att_db_table[ATH_AIC_MAX_COM_ATT_DB_TABLE] =;

static const u16 aic_lin_table[ATH_AIC_MAX_AIC_LIN_TABLE] =;

static bool ar9003_hw_is_aic_enabled(struct ath_hw *ah)
{}

static int16_t ar9003_aic_find_valid(bool *cal_sram_valid,
				     bool dir, u8 index)
{}

/*
 * type 0: aic_lin_table, 1: com_att_db_table
 */
static int16_t ar9003_aic_find_index(u8 type, int16_t value)
{}

static void ar9003_aic_gain_table(struct ath_hw *ah)
{}

static u8 ar9003_aic_cal_start(struct ath_hw *ah, u8 min_valid_count)
{}

static bool ar9003_aic_cal_post_process(struct ath_hw *ah)
{}

static void ar9003_aic_cal_done(struct ath_hw *ah)
{}

static u8 ar9003_aic_cal_continue(struct ath_hw *ah, bool cal_once)
{}

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)
{}

void ar9003_hw_attach_aic_ops(struct ath_hw *ah)
{}