linux/drivers/net/wireless/marvell/libertas_tf/main.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (C) 2008, cozybit Inc.
 *  Copyright (C) 2003-2006, Marvell International Ltd.
 */
#define pr_fmt(fmt)

#include <linux/hardirq.h>
#include <linux/slab.h>

#include <linux/etherdevice.h>
#include <linux/module.h>
#include "libertas_tf.h"

/* thinfirm version: 5.132.X.pX */
#define LBTF_FW_VER_MIN
#define LBTF_FW_VER_MAX

/* Module parameters */
unsigned int lbtf_debug;
EXPORT_SYMBOL_GPL();
module_param_named(libertas_tf_debug, lbtf_debug, int, 0644);

struct workqueue_struct *lbtf_wq;

static const struct ieee80211_channel lbtf_channels[] =;

/* This table contains the hardware specific values for the modulation rates. */
static const struct ieee80211_rate lbtf_rates[] =;

static void lbtf_cmd_work(struct work_struct *work)
{}

/*
 *  This function handles the timeout of command sending.
 *  It will re-send the same command again.
 */
static void command_timer_fn(struct timer_list *t)
{}

static int lbtf_init_adapter(struct lbtf_private *priv)
{}

static void lbtf_free_adapter(struct lbtf_private *priv)
{}

static void lbtf_op_tx(struct ieee80211_hw *hw,
		       struct ieee80211_tx_control *control,
		       struct sk_buff *skb)
{}

static void lbtf_tx_work(struct work_struct *work)
{}

static int lbtf_op_start(struct ieee80211_hw *hw)
{}

static void lbtf_op_stop(struct ieee80211_hw *hw, bool suspend)
{}

static int lbtf_op_add_interface(struct ieee80211_hw *hw,
			struct ieee80211_vif *vif)
{}

static void lbtf_op_remove_interface(struct ieee80211_hw *hw,
			struct ieee80211_vif *vif)
{}

static int lbtf_op_config(struct ieee80211_hw *hw, u32 changed)
{}

static u64 lbtf_op_prepare_multicast(struct ieee80211_hw *hw,
				     struct netdev_hw_addr_list *mc_list)
{}

#define SUPPORTED_FIF_FLAGS
static void lbtf_op_configure_filter(struct ieee80211_hw *hw,
			unsigned int changed_flags,
			unsigned int *new_flags,
			u64 multicast)
{}

static void lbtf_op_bss_info_changed(struct ieee80211_hw *hw,
			struct ieee80211_vif *vif,
			struct ieee80211_bss_conf *bss_conf,
			u64 changes)
{}

static int lbtf_op_get_survey(struct ieee80211_hw *hw, int idx,
				struct survey_info *survey)
{}

static const struct ieee80211_ops lbtf_ops =;

int lbtf_rx(struct lbtf_private *priv, struct sk_buff *skb)
{}
EXPORT_SYMBOL_GPL();

/*
 * lbtf_add_card: Add and initialize the card.
 *
 *  Returns: pointer to struct lbtf_priv.
 */
struct lbtf_private *lbtf_add_card(void *card, struct device *dmdev,
				   const struct lbtf_ops *ops)
{}
EXPORT_SYMBOL_GPL();


int lbtf_remove_card(struct lbtf_private *priv)
{}
EXPORT_SYMBOL_GPL();

void lbtf_send_tx_feedback(struct lbtf_private *priv, u8 retrycnt, u8 fail)
{}
EXPORT_SYMBOL_GPL();

void lbtf_bcn_sent(struct lbtf_private *priv)
{}
EXPORT_SYMBOL_GPL();

static int __init lbtf_init_module(void)
{}

static void __exit lbtf_exit_module(void)
{}

module_init();
module_exit(lbtf_exit_module);

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();