linux/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
	Copyright (C) 2004 - 2009 Ivo van Doorn <[email protected]>
	<http://rt2x00.serialmonkey.com>

 */

/*
	Module: rt2x00mac
	Abstract: rt2x00 generic mac80211 routines.
 */

#include <linux/kernel.h>
#include <linux/module.h>

#include "rt2x00.h"
#include "rt2x00lib.h"

static int rt2x00mac_tx_rts_cts(struct rt2x00_dev *rt2x00dev,
				struct data_queue *queue,
				struct sk_buff *frag_skb)
{}

void rt2x00mac_tx(struct ieee80211_hw *hw,
		  struct ieee80211_tx_control *control,
		  struct sk_buff *skb)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_start(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();

void rt2x00mac_stop(struct ieee80211_hw *hw, bool suspend)
{}
EXPORT_SYMBOL_GPL();

void
rt2x00mac_reconfig_complete(struct ieee80211_hw *hw,
			    enum ieee80211_reconfig_type reconfig_type)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_add_interface(struct ieee80211_hw *hw,
			    struct ieee80211_vif *vif)
{}
EXPORT_SYMBOL_GPL();

void rt2x00mac_remove_interface(struct ieee80211_hw *hw,
				struct ieee80211_vif *vif)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed)
{}
EXPORT_SYMBOL_GPL();

void rt2x00mac_configure_filter(struct ieee80211_hw *hw,
				unsigned int changed_flags,
				unsigned int *total_flags,
				u64 multicast)
{}
EXPORT_SYMBOL_GPL();

static void rt2x00mac_set_tim_iter(void *data, u8 *mac,
				   struct ieee80211_vif *vif)
{}

int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
		      bool set)
{}
EXPORT_SYMBOL_GPL();

#ifdef CONFIG_RT2X00_LIB_CRYPTO
static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len)
{}

int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
		      struct ieee80211_vif *vif, struct ieee80211_sta *sta,
		      struct ieee80211_key_conf *key)
{}
EXPORT_SYMBOL_GPL();
#endif /* CONFIG_RT2X00_LIB_CRYPTO */

void rt2x00mac_sw_scan_start(struct ieee80211_hw *hw,
			     struct ieee80211_vif *vif,
			     const u8 *mac_addr)
{}
EXPORT_SYMBOL_GPL();

void rt2x00mac_sw_scan_complete(struct ieee80211_hw *hw,
				struct ieee80211_vif *vif)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_get_stats(struct ieee80211_hw *hw,
			struct ieee80211_low_level_stats *stats)
{}
EXPORT_SYMBOL_GPL();

void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
				struct ieee80211_vif *vif,
				struct ieee80211_bss_conf *bss_conf,
				u64 changes)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_conf_tx(struct ieee80211_hw *hw,
		      struct ieee80211_vif *vif,
		      unsigned int link_id, u16 queue_idx,
		      const struct ieee80211_tx_queue_params *params)
{}
EXPORT_SYMBOL_GPL();

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

void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
		     u32 queues, bool drop)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant)
{}
EXPORT_SYMBOL_GPL();

int rt2x00mac_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant)
{}
EXPORT_SYMBOL_GPL();

void rt2x00mac_get_ringparam(struct ieee80211_hw *hw,
			     u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max)
{}
EXPORT_SYMBOL_GPL();

bool rt2x00mac_tx_frames_pending(struct ieee80211_hw *hw)
{}
EXPORT_SYMBOL_GPL();