#include "../wifi.h"
#include "../base.h"
#include "../pci.h"
#include "../core.h"
#include "reg.h"
#include "def.h"
#include "phy.h"
#include "dm.h"
#include "fw.h"
#include "trx.h"
static const u32 ofdmswing_table[OFDM_TABLE_SIZE] = …;
static const u8 cck_tbl_ch1_13[CCK_TABLE_SIZE][8] = …;
static const u8 cck_tbl_ch14[CCK_TABLE_SIZE][8] = …;
#define CAL_SWING_OFF(_off, _dir, _size, _del) …
static void rtl88e_set_iqk_matrix(struct ieee80211_hw *hw,
u8 ofdm_index, u8 rfpath,
long iqk_result_x, long iqk_result_y)
{ … }
void rtl88e_dm_txpower_track_adjust(struct ieee80211_hw *hw,
u8 type, u8 *pdirection, u32 *poutwrite_val)
{ … }
static void dm_tx_pwr_track_set_pwr(struct ieee80211_hw *hw,
enum pwr_track_control_method method,
u8 rfpath, u8 channel_mapped_index)
{ … }
static u8 rtl88e_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_dig(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_init_dynamic_txpower(struct ieee80211_hw *hw)
{ … }
static void rtl92c_dm_dynamic_txpower(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_write_dig(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_pwdb_monitor(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_init_edca_turbo(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_check_edca_turbo(struct ieee80211_hw *hw)
{ … }
static void dm_txpower_track_cb_therm(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_init_txpower_tracking(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_check_txpower_tracking(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_refresh_rate_adaptive_mask(struct ieee80211_hw *hw)
{ … }
static void rtl92c_dm_init_dynamic_bb_powersaving(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_update_rx_idle_ant(struct ieee80211_hw *hw,
u8 ant)
{ … }
static void rtl88e_dm_update_tx_ant(struct ieee80211_hw *hw,
u8 ant, u32 mac_id)
{ … }
static void rtl88e_dm_rx_hw_antena_div_init(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_trx_hw_antenna_div_init(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_fast_training_init(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_antenna_div_init(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_set_tx_ant_by_tx_info(struct ieee80211_hw *hw,
u8 *pdesc, u32 mac_id)
{ … }
void rtl88e_dm_ant_sel_statistics(struct ieee80211_hw *hw,
u8 antsel_tr_mux, u32 mac_id,
u32 rx_pwdb_all)
{ … }
static void rtl88e_dm_hw_ant_div(struct ieee80211_hw *hw)
{ … }
static void rtl88e_set_next_mac_address_target(struct ieee80211_hw *hw)
{ … }
static void rtl88e_dm_fast_ant_training(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_fast_antenna_training_callback(struct timer_list *t)
{ … }
static void rtl88e_dm_antenna_diversity(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_init(struct ieee80211_hw *hw)
{ … }
void rtl88e_dm_watchdog(struct ieee80211_hw *hw)
{ … }