linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c

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

#include "../wifi.h"
#include "../pci.h"
#include "../usb.h"
#include "../ps.h"
#include "../cam.h"
#include "../stats.h"
#include "reg.h"
#include "def.h"
#include "phy.h"
#include "rf.h"
#include "dm.h"
#include "mac.h"
#include "trx.h"
#include "../rtl8192c/fw_common.h"

#include <linux/module.h>

/* macro to shorten lines */

#define LINK_Q
#define RX_EVM
#define RX_SIGQ

void rtl92c_read_chip_version(struct ieee80211_hw *hw)
{}

/**
 * rtl92c_llt_write - LLT table write access
 * @hw: Pointer to the ieee80211_hw structure.
 * @address: LLT logical address.
 * @data: LLT data content
 *
 * Realtek hardware access function.
 *
 */
bool rtl92c_llt_write(struct ieee80211_hw *hw, u32 address, u32 data)
{}

/**
 * rtl92c_init_llt_table - Init LLT table
 * @hw: Pointer to the ieee80211_hw structure.
 * @boundary: Page boundary.
 *
 * Realtek hardware access function.
 */
bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary)
{}

void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index,
		     u8 *p_macaddr, bool is_group, u8 enc_algo,
		     bool is_wepkey, bool clear_all)
{}

u32 rtl92c_get_txdma_status(struct ieee80211_hw *hw)
{}

void rtl92c_enable_interrupt(struct ieee80211_hw *hw)
{}

void rtl92c_init_interrupt(struct ieee80211_hw *hw)
{}

void rtl92c_disable_interrupt(struct ieee80211_hw *hw)
{}

void rtl92c_set_qos(struct ieee80211_hw *hw, int aci)
{}

void rtl92c_init_driver_info_size(struct ieee80211_hw *hw, u8 size)
{}

int rtl92c_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type)
{}

void rtl92c_init_network_type(struct ieee80211_hw *hw)
{}

void rtl92c_init_adaptive_ctrl(struct ieee80211_hw *hw)
{}

void rtl92c_init_rate_fallback(struct ieee80211_hw *hw)
{}

static void rtl92c_set_cck_sifs(struct ieee80211_hw *hw, u8 trx_sifs,
				u8 ctx_sifs)
{}

static void rtl92c_set_ofdm_sifs(struct ieee80211_hw *hw, u8 trx_sifs,
				 u8 ctx_sifs)
{}

void rtl92c_init_edca_param(struct ieee80211_hw *hw,
			    u16 queue, u16 txop, u8 cw_min, u8 cw_max, u8 aifs)
{}

void rtl92c_init_edca(struct ieee80211_hw *hw)
{}

void rtl92c_init_ampdu_aggregation(struct ieee80211_hw *hw)
{}

void rtl92c_init_beacon_max_error(struct ieee80211_hw *hw)
{}

void rtl92c_init_rdg_setting(struct ieee80211_hw *hw)
{}

void rtl92c_init_retry_function(struct ieee80211_hw *hw)
{}

void rtl92c_disable_fast_edca(struct ieee80211_hw *hw)
{}

void rtl92c_set_min_space(struct ieee80211_hw *hw, bool is2T)
{}

/*==============================================================*/

static void _rtl92c_query_rxphystatus(struct ieee80211_hw *hw,
				      struct rtl_stats *pstats,
				      struct rx_desc_92c *p_desc,
				      struct rx_fwinfo_92c *p_drvinfo,
				      bool packet_match_bssid,
				      bool packet_toself,
				      bool packet_beacon)
{}

void rtl92c_translate_rx_signal_stuff(struct ieee80211_hw *hw,
					       struct sk_buff *skb,
					       struct rtl_stats *pstats,
					       struct rx_desc_92c *pdesc,
					       struct rx_fwinfo_92c *p_drvinfo)
{}