Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
bssdb.c File Reference
#include "ttype.h"
#include "tmacro.h"
#include "tether.h"
#include "device.h"
#include "80211hdr.h"
#include "bssdb.h"
#include "wmgr.h"
#include "datarate.h"
#include "desc.h"
#include "wcmd.h"
#include "wpa.h"
#include "baseband.h"
#include "rf.h"
#include "card.h"
#include "channel.h"
#include "mac.h"
#include "wpa2.h"
#include "iowpa.h"

Go to the source code of this file.

Functions

void s_vCheckSensitivity (void *hDeviceContext)
 
void s_uCalculateLinkQual (void *hDeviceContext)
 
void s_vCheckPreEDThreshold (void *hDeviceContext)
 
PKnownBSS BSSpSearchBSSList (void *hDeviceContext, unsigned char *pbyDesireBSSID, unsigned char *pbyDesireSSID, CARD_PHY_TYPE ePhyType)
 
void BSSvClearBSSList (void *hDeviceContext, bool bKeepCurrBSSID)
 
PKnownBSS BSSpAddrIsInBSSList (void *hDeviceContext, unsigned char *abyBSSID, PWLAN_IE_SSID pSSID)
 
bool BSSbInsertToBSSList (void *hDeviceContext, unsigned char *abyBSSIDAddr, QWORD qwTimestamp, unsigned short wBeaconInterval, unsigned short wCapInfo, unsigned char byCurrChannel, PWLAN_IE_SSID pSSID, PWLAN_IE_SUPP_RATES pSuppRates, PWLAN_IE_SUPP_RATES pExtSuppRates, PERPObject psERP, PWLAN_IE_RSN pRSN, PWLAN_IE_RSN_EXT pRSNWPA, PWLAN_IE_COUNTRY pIE_Country, PWLAN_IE_QUIET pIE_Quiet, unsigned int uIELength, unsigned char *pbyIEs, void *pRxPacketContext)
 
bool BSSbUpdateToBSSList (void *hDeviceContext, QWORD qwTimestamp, unsigned short wBeaconInterval, unsigned short wCapInfo, unsigned char byCurrChannel, bool bChannelHit, PWLAN_IE_SSID pSSID, PWLAN_IE_SUPP_RATES pSuppRates, PWLAN_IE_SUPP_RATES pExtSuppRates, PERPObject psERP, PWLAN_IE_RSN pRSN, PWLAN_IE_RSN_EXT pRSNWPA, PWLAN_IE_COUNTRY pIE_Country, PWLAN_IE_QUIET pIE_Quiet, PKnownBSS pBSSList, unsigned int uIELength, unsigned char *pbyIEs, void *pRxPacketContext)
 
bool BSSDBbIsSTAInNodeDB (void *pMgmtObject, unsigned char *abyDstAddr, unsigned int *puNodeIndex)
 
void BSSvCreateOneNode (void *hDeviceContext, unsigned int *puNodeIndex)
 
void BSSvRemoveOneNode (void *hDeviceContext, unsigned int uNodeIndex)
 
void BSSvUpdateAPNode (void *hDeviceContext, unsigned short *pwCapInfo, PWLAN_IE_SUPP_RATES pSuppRates, PWLAN_IE_SUPP_RATES pExtSuppRates)
 
void BSSvAddMulticastNode (void *hDeviceContext)
 
void BSSvSecondCallBack (void *hDeviceContext)
 
void BSSvUpdateNodeTxCounter (void *hDeviceContext, unsigned char byTsr0, unsigned char byTsr1, unsigned char *pbyBuffer, unsigned int uFIFOHeaderSize)
 
void BSSvClearNodeDBTable (void *hDeviceContext, unsigned int uStartIndex)
 
void BSSvClearAnyBSSJoinRecord (void *hDeviceContext)
 

Variables

const unsigned short awHWRetry0 [5][5]
 
const unsigned short awHWRetry1 [5][5]
 

Function Documentation

bool BSSbInsertToBSSList ( void hDeviceContext,
unsigned char abyBSSIDAddr,
QWORD  qwTimestamp,
unsigned short  wBeaconInterval,
unsigned short  wCapInfo,
unsigned char  byCurrChannel,
PWLAN_IE_SSID  pSSID,
PWLAN_IE_SUPP_RATES  pSuppRates,
PWLAN_IE_SUPP_RATES  pExtSuppRates,
PERPObject  psERP,
PWLAN_IE_RSN  pRSN,
PWLAN_IE_RSN_EXT  pRSNWPA,
PWLAN_IE_COUNTRY  pIE_Country,
PWLAN_IE_QUIET  pIE_Quiet,
unsigned int  uIELength,
unsigned char pbyIEs,
void pRxPacketContext 
)

Definition at line 369 of file bssdb.c.

bool BSSbUpdateToBSSList ( void hDeviceContext,
QWORD  qwTimestamp,
unsigned short  wBeaconInterval,
unsigned short  wCapInfo,
unsigned char  byCurrChannel,
bool  bChannelHit,
PWLAN_IE_SSID  pSSID,
PWLAN_IE_SUPP_RATES  pSuppRates,
PWLAN_IE_SUPP_RATES  pExtSuppRates,
PERPObject  psERP,
PWLAN_IE_RSN  pRSN,
PWLAN_IE_RSN_EXT  pRSNWPA,
PWLAN_IE_COUNTRY  pIE_Country,
PWLAN_IE_QUIET  pIE_Quiet,
PKnownBSS  pBSSList,
unsigned int  uIELength,
unsigned char pbyIEs,
void pRxPacketContext 
)

Definition at line 585 of file bssdb.c.

bool BSSDBbIsSTAInNodeDB ( void pMgmtObject,
unsigned char abyDstAddr,
unsigned int puNodeIndex 
)

Definition at line 763 of file bssdb.c.

PKnownBSS BSSpAddrIsInBSSList ( void hDeviceContext,
unsigned char abyBSSID,
PWLAN_IE_SSID  pSSID 
)

Definition at line 326 of file bssdb.c.

PKnownBSS BSSpSearchBSSList ( void hDeviceContext,
unsigned char pbyDesireBSSID,
unsigned char pbyDesireSSID,
CARD_PHY_TYPE  ePhyType 
)

Definition at line 127 of file bssdb.c.

void BSSvAddMulticastNode ( void hDeviceContext)

Definition at line 953 of file bssdb.c.

void BSSvClearAnyBSSJoinRecord ( void hDeviceContext)

Definition at line 1654 of file bssdb.c.

void BSSvClearBSSList ( void hDeviceContext,
bool  bKeepCurrBSSID 
)

Definition at line 283 of file bssdb.c.

void BSSvClearNodeDBTable ( void hDeviceContext,
unsigned int  uStartIndex 
)

Definition at line 1576 of file bssdb.c.

void BSSvCreateOneNode ( void hDeviceContext,
unsigned int puNodeIndex 
)

Definition at line 795 of file bssdb.c.

void BSSvRemoveOneNode ( void hDeviceContext,
unsigned int  uNodeIndex 
)

Definition at line 857 of file bssdb.c.

void BSSvSecondCallBack ( void hDeviceContext)

Definition at line 1006 of file bssdb.c.

void BSSvUpdateAPNode ( void hDeviceContext,
unsigned short pwCapInfo,
PWLAN_IE_SUPP_RATES  pSuppRates,
PWLAN_IE_SUPP_RATES  pExtSuppRates 
)

Definition at line 890 of file bssdb.c.

void BSSvUpdateNodeTxCounter ( void hDeviceContext,
unsigned char  byTsr0,
unsigned char  byTsr1,
unsigned char pbyBuffer,
unsigned int  uFIFOHeaderSize 
)

Definition at line 1383 of file bssdb.c.

void s_uCalculateLinkQual ( void hDeviceContext)

Definition at line 1669 of file bssdb.c.

void s_vCheckPreEDThreshold ( void hDeviceContext)

Definition at line 1717 of file bssdb.c.

void s_vCheckSensitivity ( void hDeviceContext)

Definition at line 1604 of file bssdb.c.

Variable Documentation

const unsigned short awHWRetry0[5][5]
Initial value:

Definition at line 74 of file bssdb.c.

const unsigned short awHWRetry1[5][5]
Initial value:

Definition at line 81 of file bssdb.c.