#include <linux/etherdevice.h>
#include "device.h"
#include "rxtx.h"
#include "card.h"
#include "mac.h"
#include "rf.h"
#include "usbpipe.h"
static const u16 vnt_time_stampoff[2][MAX_RATE] = …;
#define DATADUR_B …
#define DATADUR_A …
static const u8 vnt_phy_signal[] = …;
static struct vnt_usb_send_context
*vnt_get_free_context(struct vnt_private *priv)
{ … }
static void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
u16 tx_rate, u8 pkt_type,
struct vnt_phy_field *phy)
{ … }
static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate)
{ … }
static __le16 vnt_rxtx_rsvtime_le16(struct vnt_usb_send_context *context)
{ … }
static __le16 vnt_get_rts_duration(struct vnt_usb_send_context *context)
{ … }
static __le16 vnt_get_cts_duration(struct vnt_usb_send_context *context)
{ … }
static void vnt_rxtx_datahead_g(struct vnt_usb_send_context *tx_context,
struct vnt_tx_datahead_g *buf)
{ … }
static void vnt_rxtx_datahead_ab(struct vnt_usb_send_context *tx_context,
struct vnt_tx_datahead_ab *buf)
{ … }
static void vnt_fill_ieee80211_rts(struct vnt_usb_send_context *tx_context,
struct ieee80211_rts *rts, __le16 duration)
{ … }
static void vnt_rxtx_rts_g_head(struct vnt_usb_send_context *tx_context,
struct vnt_rts_g *buf)
{ … }
static void vnt_rxtx_rts_ab_head(struct vnt_usb_send_context *tx_context,
struct vnt_rts_ab *buf)
{ … }
static void vnt_fill_cts_head(struct vnt_usb_send_context *tx_context,
union vnt_tx_data_head *head)
{ … }
static bool vnt_fill_txkey(struct vnt_tx_buffer *tx_buffer, struct sk_buff *skb)
{ … }
static void vnt_rxtx_rts(struct vnt_usb_send_context *tx_context)
{ … }
static void vnt_rxtx_cts(struct vnt_usb_send_context *tx_context)
{ … }
static void vnt_rxtx_ab(struct vnt_usb_send_context *tx_context)
{ … }
static void vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context)
{ … }
static u16 vnt_get_hdr_size(struct ieee80211_tx_info *info)
{ … }
int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
{ … }
static int vnt_beacon_xmit(struct vnt_private *priv, struct sk_buff *skb)
{ … }
int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif)
{ … }
int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif,
struct ieee80211_bss_conf *conf)
{ … }