#include <linux/export.h>
#include "hw.h"
#include "ar9003_phy.h"
#include "ar9003_eeprom.h"
#define AR9300_OFDM_RATES …
#define AR9300_HT_SS_RATES …
#define AR9300_HT_DS_RATES …
#define AR9300_HT_TS_RATES …
#define AR9300_11NA_OFDM_SHIFT …
#define AR9300_11NA_HT_SS_SHIFT …
#define AR9300_11NA_HT_DS_SHIFT …
#define AR9300_11NA_HT_TS_SHIFT …
#define AR9300_11NG_OFDM_SHIFT …
#define AR9300_11NG_HT_SS_SHIFT …
#define AR9300_11NG_HT_DS_SHIFT …
#define AR9300_11NG_HT_TS_SHIFT …
static const int firstep_table[] = …
{ … };
static const int cycpwrThr1_table[] = …
{ … };
static const int m1ThreshLow_off = …;
static const int m2ThreshLow_off = …;
static const int m1Thresh_off = …;
static const int m2Thresh_off = …;
static const int m2CountThr_off = …;
static const int m2CountThrLow_off = …;
static const int m1ThreshLowExt_off = …;
static const int m2ThreshLowExt_off = …;
static const int m1ThreshExt_off = …;
static const int m2ThreshExt_off = …;
static const u8 ofdm2pwr[] = …;
static const u8 mcs2pwr_ht20[] = …;
static const u8 mcs2pwr_ht40[] = …;
static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan)
{ … }
static void ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_hw_spur_ofdm_clear(struct ath_hw *ah)
{ … }
static void ar9003_hw_spur_ofdm(struct ath_hw *ah,
int freq_offset,
int spur_freq_sd,
int spur_delta_phase,
int spur_subchannel_sd,
int range,
int synth_freq)
{ … }
static void ar9003_hw_spur_ofdm_9565(struct ath_hw *ah,
int freq_offset)
{ … }
static void ar9003_hw_spur_ofdm_work(struct ath_hw *ah,
struct ath9k_channel *chan,
int freq_offset,
int range,
int synth_freq)
{ … }
static void ar9003_hw_spur_mitigate_ofdm(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_hw_spur_mitigate(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static u32 ar9003_hw_compute_pll_control_soc(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static u32 ar9003_hw_compute_pll_control(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_hw_set_channel_regs(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_hw_init_bb(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
void ar9003_hw_set_chain_masks(struct ath_hw *ah, u8 rx, u8 tx)
{ … }
static void ar9003_hw_override_ini(struct ath_hw *ah)
{ … }
static void ar9003_hw_prog_ini(struct ath_hw *ah,
struct ar5416IniArray *iniArr,
int column)
{ … }
static u32 ar9550_hw_get_modes_txgain_index(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static u32 ar9561_hw_get_modes_txgain_index(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_doubler_fix(struct ath_hw *ah)
{ … }
static int ar9003_hw_process_ini(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_hw_set_rfmode(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static void ar9003_hw_mark_phy_inactive(struct ath_hw *ah)
{ … }
static void ar9003_hw_set_delta_slope(struct ath_hw *ah,
struct ath9k_channel *chan)
{ … }
static bool ar9003_hw_rfbus_req(struct ath_hw *ah)
{ … }
static void ar9003_hw_rfbus_done(struct ath_hw *ah)
{ … }
static bool ar9003_hw_ani_control(struct ath_hw *ah,
enum ath9k_ani_cmd cmd, int param)
{ … }
static void ar9003_hw_do_getnf(struct ath_hw *ah,
int16_t nfarray[NUM_NF_READINGS])
{ … }
static void ar9003_hw_set_nf_limits(struct ath_hw *ah)
{ … }
static void ar9003_hw_ani_cache_ini_regs(struct ath_hw *ah)
{ … }
static void ar9003_hw_set_radar_params(struct ath_hw *ah,
struct ath_hw_radar_conf *conf)
{ … }
static void ar9003_hw_set_radar_conf(struct ath_hw *ah)
{ … }
static void ar9003_hw_antdiv_comb_conf_get(struct ath_hw *ah,
struct ath_hw_antcomb_conf *antconf)
{ … }
static void ar9003_hw_antdiv_comb_conf_set(struct ath_hw *ah,
struct ath_hw_antcomb_conf *antconf)
{ … }
#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
static void ar9003_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable)
{ … }
#endif
static int ar9003_hw_fast_chan_change(struct ath_hw *ah,
struct ath9k_channel *chan,
u8 *ini_reloaded)
{ … }
static void ar9003_hw_spectral_scan_config(struct ath_hw *ah,
struct ath_spec_scan *param)
{ … }
static void ar9003_hw_spectral_scan_trigger(struct ath_hw *ah)
{ … }
static void ar9003_hw_spectral_scan_wait(struct ath_hw *ah)
{ … }
static void ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum)
{ … }
static void ar9003_hw_tx99_stop(struct ath_hw *ah)
{ … }
static void ar9003_hw_tx99_set_txpower(struct ath_hw *ah, u8 txpower)
{ … }
static void ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array)
{ … }
static void ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array,
int offset)
{ … }
static void ar9003_hw_init_txpower_ht(struct ath_hw *ah, u8 *rate_array,
int ss_offset, int ds_offset,
int ts_offset, bool is_40)
{ … }
static void ar9003_hw_init_txpower_stbc(struct ath_hw *ah, int ss_offset,
int ds_offset, int ts_offset)
{ … }
void ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array,
struct ath9k_channel *chan)
{ … }
void ar9003_hw_attach_phy_ops(struct ath_hw *ah)
{ … }
bool ar9003_hw_bb_watchdog_check(struct ath_hw *ah)
{ … }
EXPORT_SYMBOL(…);
void ar9003_hw_bb_watchdog_config(struct ath_hw *ah)
{ … }
void ar9003_hw_bb_watchdog_read(struct ath_hw *ah)
{ … }
void ar9003_hw_bb_watchdog_dbg_info(struct ath_hw *ah)
{ … }
EXPORT_SYMBOL(…);
void ar9003_hw_disable_phy_restart(struct ath_hw *ah)
{ … }
EXPORT_SYMBOL(…);