#define pr_fmt(fmt) …
#include <linux/hardirq.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
#include "libertas_tf.h"
#define LBTF_FW_VER_MIN …
#define LBTF_FW_VER_MAX …
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[] = …;
static const struct ieee80211_rate lbtf_rates[] = …;
static void lbtf_cmd_work(struct work_struct *work)
{ … }
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(…);
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(…) …;