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

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

#include "../wifi.h"
#include "../pci.h"
#include "../base.h"
#include "../core.h"
#include "../efuse.h"
#include "../rtl8192ce/reg.h"
#include "../rtl8192ce/def.h"
#include "fw_common.h"
#include <linux/export.h>

static void _rtl92c_enable_fw_download(struct ieee80211_hw *hw, bool enable)
{}

static void _rtl92c_write_fw(struct ieee80211_hw *hw,
			     enum version_8192c version, u8 *buffer, u32 size)
{}

static int _rtl92c_fw_free_to_go(struct ieee80211_hw *hw)
{}

int rtl92c_download_fw(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL();

static bool _rtl92c_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum)
{}

static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
			      u8 element_id, u32 cmd_len, u8 *cmdbuffer)
{}

void rtl92c_fill_h2c_cmd(struct ieee80211_hw *hw,
			 u8 element_id, u32 cmd_len, u8 *cmdbuffer)
{}
EXPORT_SYMBOL();

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

void rtl92c_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 mode)
{}
EXPORT_SYMBOL();

#define BEACON_PG
#define PSPOLL_PG
#define NULL_PG
#define PROBERSP_PG

#define TOTAL_RESERVED_PKT_LEN

static u8 reserved_page_packet[TOTAL_RESERVED_PKT_LEN] =;

void rtl92c_set_fw_rsvdpagepkt(struct ieee80211_hw *hw,
	 bool (*cmd_send_packet)(struct ieee80211_hw *, struct sk_buff *))
{}
EXPORT_SYMBOL();

void rtl92c_set_fw_joinbss_report_cmd(struct ieee80211_hw *hw, u8 mstatus)
{}
EXPORT_SYMBOL();

static void rtl92c_set_p2p_ctw_period_cmd(struct ieee80211_hw *hw, u8 ctwindow)
{}

/* refactored routine */
static void set_noa_data(struct rtl_priv *rtlpriv,
			 struct rtl_p2p_ps_info *p2pinfo,
			 struct p2p_ps_offload_t *p2p_ps_offload)
{}

void rtl92c_set_p2p_ps_offload_cmd(struct ieee80211_hw *hw, u8 p2p_ps_state)
{}
EXPORT_SYMBOL_GPL();