linux/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
 *
 * Based on the r8180 driver, which is:
 * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
 *
 * Contact Information: wlanfae <[email protected]>
 */
#include "rtl_core.h"
#include "r8192E_phy.h"
#include "r8192E_phyreg.h"
#include "r8190P_rtl8256.h"
#include "r8192E_cmdpkt.h"
#include "rtl_dm.h"
#include "rtl_wx.h"

static int WDCAPARA_ADD[] =;

static void _rtl92e_update_msr(struct net_device *dev)
{}

void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val)
{}

static void _rtl92e_read_eeprom_info(struct net_device *dev)
{}

void rtl92e_get_eeprom_size(struct net_device *dev)
{}

static void _rtl92e_hwconfig(struct net_device *dev)
{}

bool rtl92e_start_adapter(struct net_device *dev)
{}

static void _rtl92e_net_update(struct net_device *dev)
{}

void rtl92e_link_change(struct net_device *dev)
{}

void rtl92e_set_monitor_mode(struct net_device *dev, bool allow_all_da,
			     bool write_into_reg)
{}

static u8 _rtl92e_rate_mgn_to_hw(u8 rate)
{}

static u8 _rtl92e_hw_queue_to_fw_queue(struct net_device *dev, u8 QueueID,
				       u8 priority)
{}

static u8 _rtl92e_query_is_short(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc)
{}

void  rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
			  struct cb_desc *cb_desc, struct sk_buff *skb)
{}

void  rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry,
			      struct cb_desc *cb_desc, struct sk_buff *skb)
{}

static u8 _rtl92e_rate_hw_to_mgn(bool bIsHT, u8 rate)
{}

static long _rtl92e_signal_scale_mapping(struct r8192_priv *priv, long currsig)
{}

#define rx_hal_is_cck_rate(_pdrvinfo)

static void _rtl92e_query_rxphystatus(
	struct r8192_priv *priv,
	struct rtllib_rx_stats *pstats,
	struct rx_desc  *pdesc,
	struct rx_fwinfo   *pdrvinfo,
	struct rtllib_rx_stats *precord_stats,
	bool bpacket_match_bssid,
	bool bpacket_toself,
	bool bPacketBeacon,
	bool bToSelfBA
	)
{}

static void _rtl92e_process_phyinfo(struct r8192_priv *priv, u8 *buffer,
				    struct rtllib_rx_stats *prev_st,
				    struct rtllib_rx_stats *curr_st)
{}

static void _rtl92e_translate_rx_signal_stats(struct net_device *dev,
					      struct sk_buff *skb,
					      struct rtllib_rx_stats *pstats,
					      struct rx_desc *pdesc,
					      struct rx_fwinfo *pdrvinfo)
{}

static void _rtl92e_update_received_rate_histogram_stats(
					   struct net_device *dev,
					   struct rtllib_rx_stats *pstats)
{}

bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
			 struct rx_desc *pdesc, struct sk_buff *skb)
{}

void rtl92e_stop_adapter(struct net_device *dev, bool reset)
{}

void rtl92e_update_ratr_table(struct net_device *dev)
{}

void
rtl92e_init_variables(struct net_device  *dev)
{}

void rtl92e_irq_enable(struct net_device *dev)
{}

void rtl92e_irq_disable(struct net_device *dev)
{}

void rtl92e_enable_rx(struct net_device *dev)
{}

static const u32 TX_DESC_BASE[] =;

void rtl92e_enable_tx(struct net_device *dev)
{}

void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta)
{}

bool rtl92e_is_rx_stuck(struct net_device *dev)
{}

bool rtl92e_is_tx_stuck(struct net_device *dev)
{}

bool rtl92e_get_nmode_support_by_sec(struct net_device *dev)
{}

bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev)
{}