linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2009-2012  Realtek Corporation.*/

#include <linux/export.h>
#include "dm_common.h"
#include "phy_common.h"
#include "../pci.h"
#include "../base.h"
#include "../core.h"

#define BT_RSSI_STATE_NORMAL_POWER
#define BT_RSSI_STATE_AMDPU_OFF
#define BT_RSSI_STATE_SPECIAL_LOW
#define BT_RSSI_STATE_BG_EDCA_LOW
#define BT_RSSI_STATE_TXPOWER_LOW
#define BT_MASK

#define RTLPRIV
#define GET_UNDECORATED_AVERAGE_RSSI(_priv)

static const u32 ofdmswing_table[OFDM_TABLE_SIZE] =;

static const u8 cckswing_table_ch1ch13[CCK_TABLE_SIZE][8] =;

static const u8 cckswing_table_ch14[CCK_TABLE_SIZE][8] =;

static u32 power_index_reg[6] =;

void dm_restorepowerindex(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

void dm_writepowerindex(struct ieee80211_hw *hw, u8 value)
{}
EXPORT_SYMBOL_GPL();

void dm_savepowerindex(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

static u8 rtl92c_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_ctrl_initgain_by_fa(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_initial_gain_multi_sta(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_initial_gain_sta(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_ctrl_initgain_by_twoport(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_dig(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_init_dynamic_txpower(struct ieee80211_hw *hw)
{}

void rtl92c_dm_write_dig(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static void rtl92c_dm_pwdb_monitor(struct ieee80211_hw *hw)
{}

void rtl92c_dm_init_edca_turbo(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static void rtl92c_dm_check_edca_turbo(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_txpower_tracking_callback_thermalmeter(struct ieee80211_hw
							     *hw)
{}

static void rtl92c_dm_initialize_txpower_tracking_thermalmeter(
						struct ieee80211_hw *hw)
{}

static void rtl92c_dm_initialize_txpower_tracking(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_txpower_tracking_directcall(struct ieee80211_hw *hw)
{}

static void rtl92c_dm_check_txpower_tracking_thermal_meter(
						struct ieee80211_hw *hw)
{}

void rtl92c_dm_check_txpower_tracking(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

void rtl92c_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static void rtl92c_dm_init_dynamic_bb_powersaving(struct ieee80211_hw *hw)
{}

void rtl92c_dm_rf_saving(struct ieee80211_hw *hw, u8 bforce_in_normal)
{}
EXPORT_SYMBOL();

static void rtl92c_dm_dynamic_bb_powersaving(struct ieee80211_hw *hw)
{}

void rtl92c_dm_init(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

void rtl92c_dm_dynamic_txpower(struct ieee80211_hw *hw)
{}

void rtl92c_dm_watchdog(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

u8 rtl92c_bt_rssi_state_change(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static bool rtl92c_bt_state_change(struct ieee80211_hw *hw)
{}

static bool rtl92c_bt_wifi_connect_change(struct ieee80211_hw *hw)
{}

static void rtl92c_bt_set_normal(struct ieee80211_hw *hw)
{}

static void rtl92c_bt_ant_isolation(struct ieee80211_hw *hw, u8 tmp1byte)
{}

static void rtl92c_check_bt_change(struct ieee80211_hw *hw)
{}

void rtl92c_dm_bt_coexist(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();