#include "cfg80211.h"
struct wilc_wfi_radiotap_hdr { … } __packed;
struct wilc_wfi_radiotap_cb_hdr { … } __packed;
#define TX_RADIOTAP_PRESENT …
void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size)
{ … }
struct tx_complete_mon_data { … };
static void mgmt_tx_complete(void *priv, int status)
{ … }
static int mon_mgmt_tx(struct net_device *dev, const u8 *buf, size_t len)
{ … }
static netdev_tx_t wilc_wfi_mon_xmit(struct sk_buff *skb,
struct net_device *dev)
{ … }
static const struct net_device_ops wilc_wfi_netdev_ops = …;
struct net_device *wilc_wfi_init_mon_interface(struct wilc *wl,
const char *name,
struct net_device *real_dev)
{ … }
void wilc_wfi_deinit_mon_interface(struct wilc *wl, bool rtnl_locked)
{ … }