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

/*
 * Copyright (c) 2010-2011 Atheros Communications 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 <linux/export.h>
#include "hw.h"
#include "ar9003_phy.h"

void ar9003_paprd_enable(struct ath_hw *ah, bool val)
{}
EXPORT_SYMBOL();

static int ar9003_get_training_power_2g(struct ath_hw *ah)
{}

static int ar9003_get_training_power_5g(struct ath_hw *ah)
{}

static int ar9003_paprd_setup_single_table(struct ath_hw *ah)
{}

static void ar9003_paprd_get_gain_table(struct ath_hw *ah)
{}

static unsigned int ar9003_get_desired_gain(struct ath_hw *ah, int chain,
					    int target_power)
{}

static void ar9003_tx_force_gain(struct ath_hw *ah, unsigned int gain_index)
{}

static inline int find_expn(int num)
{}

static inline int find_proper_scale(int expn, int N)
{}

#define NUM_BIN

static bool create_pa_curve(u32 *data_L, u32 *data_U, u32 *pa_table, u16 *gain)
{}

void ar9003_paprd_populate_single_table(struct ath_hw *ah,
					struct ath9k_hw_cal_data *caldata,
					int chain)
{}
EXPORT_SYMBOL();

void ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain)
{}
EXPORT_SYMBOL();

static bool ar9003_paprd_retrain_pa_in(struct ath_hw *ah,
				       struct ath9k_hw_cal_data *caldata,
				       int chain)
{}

int ar9003_paprd_create_curve(struct ath_hw *ah,
			      struct ath9k_hw_cal_data *caldata, int chain)
{}
EXPORT_SYMBOL();

int ar9003_paprd_init_table(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

bool ar9003_paprd_is_done(struct ath_hw *ah)
{}
EXPORT_SYMBOL();

bool ar9003_is_paprd_enabled(struct ath_hw *ah)
{}
EXPORT_SYMBOL();