Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
baseband.h File Reference
#include "ttype.h"
#include "tether.h"
#include "device.h"

Go to the source code of this file.

Macros

#define PREAMBLE_LONG   0
 
#define PREAMBLE_SHORT   1
 
#define BB_MAX_CONTEXT_SIZE   256
 
#define C_SIFS_A   16
 
#define C_SIFS_BG   10
 
#define C_EIFS   80
 
#define C_SLOT_SHORT   9
 
#define C_SLOT_LONG   20
 
#define C_CWMIN_A   15
 
#define C_CWMIN_B   31
 
#define C_CWMAX   1023
 
#define BB_TYPE_11A   0
 
#define BB_TYPE_11B   1
 
#define BB_TYPE_11G   2
 
#define PK_TYPE_11A   0
 
#define PK_TYPE_11B   1
 
#define PK_TYPE_11GB   2
 
#define PK_TYPE_11GA   3
 
#define TOP_RATE_54M   0x80000000
 
#define TOP_RATE_48M   0x40000000
 
#define TOP_RATE_36M   0x20000000
 
#define TOP_RATE_24M   0x10000000
 
#define TOP_RATE_18M   0x08000000
 
#define TOP_RATE_12M   0x04000000
 
#define TOP_RATE_11M   0x02000000
 
#define TOP_RATE_9M   0x01000000
 
#define TOP_RATE_6M   0x00800000
 
#define TOP_RATE_55M   0x00400000
 
#define TOP_RATE_2M   0x00200000
 
#define TOP_RATE_1M   0x00100000
 

Functions

unsigned int BBuGetFrameTime (BYTE byPreambleType, BYTE byFreqType, unsigned int cbFrameLength, WORD wRate)
 
void BBvCalculateParameter (PSDevice pDevice, unsigned int cbFrameLength, WORD wRate, BYTE byPacketType, PWORD pwPhyLen, PBYTE pbyPhySrv, PBYTE pbyPhySgn)
 
void TimerSQ3CallBack (void *hDeviceContext)
 
void TimerSQ3Tmax3CallBack (void *hDeviceContext)
 
void BBvAntennaDiversity (PSDevice pDevice, BYTE byRxRate, BYTE bySQ3)
 
void BBvLoopbackOn (PSDevice pDevice)
 
void BBvLoopbackOff (PSDevice pDevice)
 
void BBvSoftwareReset (PSDevice pDevice)
 
void BBvSetShortSlotTime (PSDevice pDevice)
 
void BBvSetVGAGainOffset (PSDevice pDevice, BYTE byData)
 
void BBvSetAntennaMode (PSDevice pDevice, BYTE byAntennaMode)
 
BOOL BBbVT3184Init (PSDevice pDevice)
 
void BBvSetDeepSleep (PSDevice pDevice)
 
void BBvExitDeepSleep (PSDevice pDevice)
 
void BBvUpdatePreEDThreshold (PSDevice pDevice, BOOL bScanning)
 

Macro Definition Documentation

#define BB_MAX_CONTEXT_SIZE   256

Definition at line 48 of file baseband.h.

#define BB_TYPE_11A   0

Definition at line 65 of file baseband.h.

#define BB_TYPE_11B   1

Definition at line 66 of file baseband.h.

#define BB_TYPE_11G   2

Definition at line 67 of file baseband.h.

#define C_CWMAX   1023

Definition at line 62 of file baseband.h.

#define C_CWMIN_A   15

Definition at line 59 of file baseband.h.

#define C_CWMIN_B   31

Definition at line 60 of file baseband.h.

#define C_EIFS   80

Definition at line 53 of file baseband.h.

#define C_SIFS_A   16

Definition at line 50 of file baseband.h.

#define C_SIFS_BG   10

Definition at line 51 of file baseband.h.

#define C_SLOT_LONG   20

Definition at line 57 of file baseband.h.

#define C_SLOT_SHORT   9

Definition at line 56 of file baseband.h.

#define PK_TYPE_11A   0

Definition at line 70 of file baseband.h.

#define PK_TYPE_11B   1

Definition at line 71 of file baseband.h.

#define PK_TYPE_11GA   3

Definition at line 73 of file baseband.h.

#define PK_TYPE_11GB   2

Definition at line 72 of file baseband.h.

#define PREAMBLE_LONG   0

Definition at line 42 of file baseband.h.

#define PREAMBLE_SHORT   1

Definition at line 43 of file baseband.h.

#define TOP_RATE_11M   0x02000000

Definition at line 81 of file baseband.h.

#define TOP_RATE_12M   0x04000000

Definition at line 80 of file baseband.h.

#define TOP_RATE_18M   0x08000000

Definition at line 79 of file baseband.h.

#define TOP_RATE_1M   0x00100000

Definition at line 86 of file baseband.h.

#define TOP_RATE_24M   0x10000000

Definition at line 78 of file baseband.h.

#define TOP_RATE_2M   0x00200000

Definition at line 85 of file baseband.h.

#define TOP_RATE_36M   0x20000000

Definition at line 77 of file baseband.h.

#define TOP_RATE_48M   0x40000000

Definition at line 76 of file baseband.h.

#define TOP_RATE_54M   0x80000000

Definition at line 75 of file baseband.h.

#define TOP_RATE_55M   0x00400000

Definition at line 84 of file baseband.h.

#define TOP_RATE_6M   0x00800000

Definition at line 83 of file baseband.h.

#define TOP_RATE_9M   0x01000000

Definition at line 82 of file baseband.h.

Function Documentation

BOOL BBbVT3184Init ( PSDevice  pDevice)

Definition at line 971 of file baseband.c.

unsigned int BBuGetFrameTime ( BYTE  byPreambleType,
BYTE  byFreqType,
unsigned int  cbFrameLength,
WORD  wRate 
)

Definition at line 1778 of file baseband.c.

void BBvAntennaDiversity ( PSDevice  pDevice,
BYTE  byRxRate,
BYTE  bySQ3 
)

Definition at line 2788 of file baseband.c.

void BBvCalculateParameter ( PSDevice  pDevice,
unsigned int  cbFrameLength,
WORD  wRate,
BYTE  byPacketType,
PWORD  pwPhyLen,
PBYTE  pbyPhySrv,
PBYTE  pbyPhySgn 
)

Definition at line 760 of file baseband.c.

void BBvExitDeepSleep ( PSDevice  pDevice)

Definition at line 1326 of file baseband.c.

void BBvLoopbackOff ( PSDevice  pDevice)

Definition at line 2401 of file baseband.c.

void BBvLoopbackOn ( PSDevice  pDevice)

Definition at line 2347 of file baseband.c.

void BBvSetAntennaMode ( PSDevice  pDevice,
BYTE  byAntennaMode 
)

Definition at line 933 of file baseband.c.

void BBvSetDeepSleep ( PSDevice  pDevice)

Definition at line 1319 of file baseband.c.

void BBvSetShortSlotTime ( PSDevice  pDevice)

Definition at line 2440 of file baseband.c.

void BBvSetVGAGainOffset ( PSDevice  pDevice,
BYTE  byData 
)

Definition at line 2463 of file baseband.c.

void BBvSoftwareReset ( PSDevice  pDevice)

Definition at line 1298 of file baseband.c.

void BBvUpdatePreEDThreshold ( PSDevice  pDevice,
BOOL  bScanning 
)

Definition at line 1611 of file baseband.c.

void TimerSQ3CallBack ( void hDeviceContext)

Definition at line 2878 of file baseband.c.

void TimerSQ3Tmax3CallBack ( void hDeviceContext)

Definition at line 1582 of file baseband.c.