Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
rxtx.c File Reference
#include "device.h"
#include "rxtx.h"
#include "tether.h"
#include "card.h"
#include "bssdb.h"
#include "mac.h"
#include "baseband.h"
#include "michael.h"
#include "tkip.h"
#include "tcrc.h"
#include "wctl.h"
#include "hostap.h"
#include "rf.h"
#include "datarate.h"
#include "usbpipe.h"
#include "iocmd.h"

Go to the source code of this file.

Macros

#define RTSDUR_BB   0
 
#define RTSDUR_BA   1
 
#define RTSDUR_AA   2
 
#define CTSDUR_BA   3
 
#define RTSDUR_BA_F0   4
 
#define RTSDUR_AA_F0   5
 
#define RTSDUR_BA_F1   6
 
#define RTSDUR_AA_F1   7
 
#define CTSDUR_BA_F0   8
 
#define CTSDUR_BA_F1   9
 
#define DATADUR_B   10
 
#define DATADUR_A   11
 
#define DATADUR_A_F0   12
 
#define DATADUR_A_F1   13
 

Functions

BOOL s_bPacketToWirelessUsb (PSDevice pDevice, BYTE byPktType, PBYTE usbPacketBuf, BOOL bNeedEncryption, unsigned int uSkbPacketLen, unsigned int uDMAIdx, PSEthernetHeader psEthHeader, PBYTE pPacket, PSKeyItem pTransmitKey, unsigned int uNodeIndex, WORD wCurrentRate, unsigned int *pcbHeaderLen, unsigned int *pcbTotalLen)
 
CMD_STATUS csMgmt_xmit (PSDevice pDevice, PSTxMgmtPacket pPacket)
 
CMD_STATUS csBeacon_xmit (PSDevice pDevice, PSTxMgmtPacket pPacket)
 
void vDMA0_tx_80211 (PSDevice pDevice, struct sk_buff *skb)
 
int nsDMA_tx_packet (PSDevice pDevice, unsigned int uDMAIdx, struct sk_buff *skb)
 
BOOL bRelayPacketSend (PSDevice pDevice, PBYTE pbySkbData, unsigned int uDataLen, unsigned int uNodeIndex)
 

Variables

const WORD wTimeStampOff [2][MAX_RATE]
 
const WORD wFB_Opt0 [2][5]
 
const WORD wFB_Opt1 [2][5]
 

Macro Definition Documentation

#define CTSDUR_BA   3

Definition at line 95 of file rxtx.c.

#define CTSDUR_BA_F0   8

Definition at line 100 of file rxtx.c.

#define CTSDUR_BA_F1   9

Definition at line 101 of file rxtx.c.

#define DATADUR_A   11

Definition at line 103 of file rxtx.c.

#define DATADUR_A_F0   12

Definition at line 104 of file rxtx.c.

#define DATADUR_A_F1   13

Definition at line 105 of file rxtx.c.

#define DATADUR_B   10

Definition at line 102 of file rxtx.c.

#define RTSDUR_AA   2

Definition at line 94 of file rxtx.c.

#define RTSDUR_AA_F0   5

Definition at line 97 of file rxtx.c.

#define RTSDUR_AA_F1   7

Definition at line 99 of file rxtx.c.

#define RTSDUR_BA   1

Definition at line 93 of file rxtx.c.

#define RTSDUR_BA_F0   4

Definition at line 96 of file rxtx.c.

#define RTSDUR_BA_F1   6

Definition at line 98 of file rxtx.c.

#define RTSDUR_BB   0

Definition at line 92 of file rxtx.c.

Function Documentation

BOOL bRelayPacketSend ( PSDevice  pDevice,
PBYTE  pbySkbData,
unsigned int  uDataLen,
unsigned int  uNodeIndex 
)

Definition at line 3130 of file rxtx.c.

CMD_STATUS csBeacon_xmit ( PSDevice  pDevice,
PSTxMgmtPacket  pPacket 
)

Definition at line 2235 of file rxtx.c.

CMD_STATUS csMgmt_xmit ( PSDevice  pDevice,
PSTxMgmtPacket  pPacket 
)

Definition at line 1943 of file rxtx.c.

int nsDMA_tx_packet ( PSDevice  pDevice,
unsigned int  uDMAIdx,
struct sk_buff skb 
)

Definition at line 2730 of file rxtx.c.

BOOL s_bPacketToWirelessUsb ( PSDevice  pDevice,
BYTE  byPktType,
PBYTE  usbPacketBuf,
BOOL  bNeedEncryption,
unsigned int  uSkbPacketLen,
unsigned int  uDMAIdx,
PSEthernetHeader  psEthHeader,
PBYTE  pPacket,
PSKeyItem  pTransmitKey,
unsigned int  uNodeIndex,
WORD  wCurrentRate,
unsigned int pcbHeaderLen,
unsigned int pcbTotalLen 
)

Definition at line 1411 of file rxtx.c.

void vDMA0_tx_80211 ( PSDevice  pDevice,
struct sk_buff skb 
)

Definition at line 2328 of file rxtx.c.

Variable Documentation

const WORD wFB_Opt0[2][5]
Initial value:

Definition at line 82 of file rxtx.c.

const WORD wFB_Opt1[2][5]
Initial value:

Definition at line 86 of file rxtx.c.

const WORD wTimeStampOff[2][MAX_RATE]
Initial value:
= {
{384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23},
{384, 192, 130, 113, 54, 43, 37, 31, 28, 25, 24, 23},
}

Definition at line 77 of file rxtx.c.