Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
rtl819x_HTProc.c File Reference
#include "ieee80211.h"
#include "rtl819x_HT.h"

Go to the source code of this file.

Functions

void HTUpdateDefaultSetting (struct ieee80211_device *ieee)
 
void HTDebugHTCapability (u8 *CapIE, u8 *TitleString)
 
void HTDebugHTInfo (u8 *InfoIE, u8 *TitleString)
 
bool IsHTHalfNmode40Bandwidth (struct ieee80211_device *ieee)
 
bool IsHTHalfNmodeSGI (struct ieee80211_device *ieee, bool is40MHz)
 
u16 HTHalfMcsToDataRate (struct ieee80211_device *ieee, u8 nMcsRate)
 
u16 HTMcsToDataRate (struct ieee80211_device *ieee, u8 nMcsRate)
 
u16 TxCountToDataRate (struct ieee80211_device *ieee, u8 nDataRate)
 
bool IsHTHalfNmodeAPs (struct ieee80211_device *ieee)
 
void HTIOTPeerDetermine (struct ieee80211_device *ieee)
 
u8 HTIOTActIsDisableMCS14 (struct ieee80211_device *ieee, u8 *PeerMacAddr)
 
bool HTIOTActIsDisableMCS15 (struct ieee80211_device *ieee)
 
bool HTIOTActIsDisableMCSTwoSpatialStream (struct ieee80211_device *ieee, u8 *PeerMacAddr)
 
u8 HTIOTActIsDisableEDCATurbo (struct ieee80211_device *ieee, u8 *PeerMacAddr)
 
u8 HTIOTActIsMgntUseCCK6M (struct ieee80211_network *network)
 
u8 HTIOTActIsCCDFsync (u8 *PeerMacAddr)
 
void HTResetIOTSetting (PRT_HIGH_THROUGHPUT pHTInfo)
 
void HTConstructCapabilityElement (struct ieee80211_device *ieee, u8 *posHTCap, u8 *len, u8 IsEncrypt)
 
void HTConstructInfoElement (struct ieee80211_device *ieee, u8 *posHTInfo, u8 *len, u8 IsEncrypt)
 
void HTConstructRT2RTAggElement (struct ieee80211_device *ieee, u8 *posRT2RTAgg, u8 *len)
 
u8 HT_PickMCSRate (struct ieee80211_device *ieee, u8 *pOperateMCS)
 
u8 HTGetHighestMCSRate (struct ieee80211_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter)
 
u8 HTFilterMCSRate (struct ieee80211_device *ieee, u8 *pSupportMCS, u8 *pOperateMCS)
 
void HTSetConnectBwMode (struct ieee80211_device *ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset)
 
void HTOnAssocRsp (struct ieee80211_device *ieee)
 
void HTSetConnectBwModeCallback (struct ieee80211_device *ieee)
 
void HTInitializeHTInfo (struct ieee80211_device *ieee)
 
void HTInitializeBssDesc (PBSS_HT pBssHT)
 
void HTResetSelfAndSavePeerSetting (struct ieee80211_device *ieee, struct ieee80211_network *pNetwork)
 
void HTUpdateSelfAndPeerSetting (struct ieee80211_device *ieee, struct ieee80211_network *pNetwork)
 
void HTUseDefaultSetting (struct ieee80211_device *ieee)
 
u8 HTCCheck (struct ieee80211_device *ieee, u8 *pFrame)
 
 EXPORT_SYMBOL (HTUpdateSelfAndPeerSetting)
 

Variables

u8 MCS_FILTER_ALL [16] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
 
u8 MCS_FILTER_1SS [16] = {0xff, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
 
u16 MCS_DATA_RATE [2][2][77]
 

Function Documentation

EXPORT_SYMBOL ( HTUpdateSelfAndPeerSetting  )
u8 HT_PickMCSRate ( struct ieee80211_device ieee,
u8 pOperateMCS 
)

Definition at line 795 of file rtl819x_HTProc.c.

u8 HTCCheck ( struct ieee80211_device ieee,
u8 pFrame 
)

Definition at line 1373 of file rtl819x_HTProc.c.

void HTConstructCapabilityElement ( struct ieee80211_device ieee,
u8 posHTCap,
u8 len,
u8  IsEncrypt 
)

Definition at line 550 of file rtl819x_HTProc.c.

void HTConstructInfoElement ( struct ieee80211_device ieee,
u8 posHTInfo,
u8 len,
u8  IsEncrypt 
)

Definition at line 669 of file rtl819x_HTProc.c.

void HTConstructRT2RTAggElement ( struct ieee80211_device ieee,
u8 posRT2RTAgg,
u8 len 
)

Definition at line 741 of file rtl819x_HTProc.c.

void HTDebugHTCapability ( u8 CapIE,
u8 TitleString 
)

Definition at line 124 of file rtl819x_HTProc.c.

void HTDebugHTInfo ( u8 InfoIE,
u8 TitleString 
)

Definition at line 161 of file rtl819x_HTProc.c.

u8 HTFilterMCSRate ( struct ieee80211_device ieee,
u8 pSupportMCS,
u8 pOperateMCS 
)

Definition at line 910 of file rtl819x_HTProc.c.

u8 HTGetHighestMCSRate ( struct ieee80211_device ieee,
u8 pMCSRateSet,
u8 pMCSFilter 
)

Definition at line 858 of file rtl819x_HTProc.c.

u16 HTHalfMcsToDataRate ( struct ieee80211_device ieee,
u8  nMcsRate 
)

Definition at line 268 of file rtl819x_HTProc.c.

void HTInitializeBssDesc ( PBSS_HT  pBssHT)

Definition at line 1195 of file rtl819x_HTProc.c.

void HTInitializeHTInfo ( struct ieee80211_device ieee)

Definition at line 1127 of file rtl819x_HTProc.c.

u8 HTIOTActIsCCDFsync ( u8 PeerMacAddr)

Definition at line 518 of file rtl819x_HTProc.c.

u8 HTIOTActIsDisableEDCATurbo ( struct ieee80211_device ieee,
u8 PeerMacAddr 
)

Definition at line 489 of file rtl819x_HTProc.c.

u8 HTIOTActIsDisableMCS14 ( struct ieee80211_device ieee,
u8 PeerMacAddr 
)

Definition at line 416 of file rtl819x_HTProc.c.

bool HTIOTActIsDisableMCS15 ( struct ieee80211_device ieee)

Function: HTIOTActIsDisableMCS15

Overview: Check whether driver should declare capability of receiving MCS15

Input: PADAPTER Adapter,

Output: None Return: true if driver should disable MCS15 2008.04.15 Emily

Definition at line 435 of file rtl819x_HTProc.c.

bool HTIOTActIsDisableMCSTwoSpatialStream ( struct ieee80211_device ieee,
u8 PeerMacAddr 
)

Function: HTIOTActIsDisableMCSTwoSpatialStream

Overview: Check whether driver should declare capability of receiving All 2 ss packets

Input: PADAPTER Adapter,

Output: None Return: true if driver should disable all two spatial stream packet 2008.04.21 Emily

Definition at line 472 of file rtl819x_HTProc.c.

u8 HTIOTActIsMgntUseCCK6M ( struct ieee80211_network network)

Definition at line 503 of file rtl819x_HTProc.c.

void HTIOTPeerDetermine ( struct ieee80211_device ieee)

Definition at line 379 of file rtl819x_HTProc.c.

u16 HTMcsToDataRate ( struct ieee80211_device ieee,
u8  nMcsRate 
)

Definition at line 281 of file rtl819x_HTProc.c.

void HTOnAssocRsp ( struct ieee80211_device ieee)

Definition at line 941 of file rtl819x_HTProc.c.

void HTResetIOTSetting ( PRT_HIGH_THROUGHPUT  pHTInfo)

Definition at line 531 of file rtl819x_HTProc.c.

void HTResetSelfAndSavePeerSetting ( struct ieee80211_device ieee,
struct ieee80211_network pNetwork 
)

Definition at line 1217 of file rtl819x_HTProc.c.

void HTSetConnectBwMode ( struct ieee80211_device ieee,
HT_CHANNEL_WIDTH  Bandwidth,
HT_EXTCHNL_OFFSET  Offset 
)

Definition at line 1389 of file rtl819x_HTProc.c.

void HTSetConnectBwModeCallback ( struct ieee80211_device ieee)

Definition at line 1438 of file rtl819x_HTProc.c.

void HTUpdateDefaultSetting ( struct ieee80211_device ieee)

Definition at line 54 of file rtl819x_HTProc.c.

void HTUpdateSelfAndPeerSetting ( struct ieee80211_device ieee,
struct ieee80211_network pNetwork 
)

Definition at line 1300 of file rtl819x_HTProc.c.

void HTUseDefaultSetting ( struct ieee80211_device ieee)

Definition at line 1320 of file rtl819x_HTProc.c.

bool IsHTHalfNmode40Bandwidth ( struct ieee80211_device ieee)

Definition at line 222 of file rtl819x_HTProc.c.

bool IsHTHalfNmodeAPs ( struct ieee80211_device ieee)

Definition at line 347 of file rtl819x_HTProc.c.

bool IsHTHalfNmodeSGI ( struct ieee80211_device ieee,
bool  is40MHz 
)

Definition at line 241 of file rtl819x_HTProc.c.

u16 TxCountToDataRate ( struct ieee80211_device ieee,
u8  nDataRate 
)

Definition at line 300 of file rtl819x_HTProc.c.

Variable Documentation

u16 MCS_DATA_RATE[2][2][77]
Initial value:
=
{ { {13, 26, 39, 52, 78, 104, 117, 130, 26, 52, 78 ,104, 156, 208, 234, 260,
39, 78, 117, 234, 312, 351, 390, 52, 104, 156, 208, 312, 416, 468, 520,
0, 78, 104, 130, 117, 156, 195, 104, 130, 130, 156, 182, 182, 208, 156, 195,
195, 234, 273, 273, 312, 130, 156, 181, 156, 181, 208, 234, 208, 234, 260, 260,
286, 195, 234, 273, 234, 273, 312, 351, 312, 351, 390, 390, 429},
{14, 29, 43, 58, 87, 116, 130, 144, 29, 58, 87, 116, 173, 231, 260, 289,
43, 87, 130, 173, 260, 347, 390, 433, 58, 116, 173, 231, 347, 462, 520, 578,
0, 87, 116, 144, 130, 173, 217, 116, 144, 144, 173, 202, 202, 231, 173, 217,
217, 260, 303, 303, 347, 144, 173, 202, 173, 202, 231, 260, 231, 260, 289, 289,
318, 217, 260, 303, 260, 303, 347, 390, 347, 390, 433, 433, 477} },
{ {27, 54, 81, 108, 162, 216, 243, 270, 54, 108, 162, 216, 324, 432, 486, 540,
81, 162, 243, 324, 486, 648, 729, 810, 108, 216, 324, 432, 648, 864, 972, 1080,
12, 162, 216, 270, 243, 324, 405, 216, 270, 270, 324, 378, 378, 432, 324, 405,
405, 486, 567, 567, 648, 270, 324, 378, 324, 378, 432, 486, 432, 486, 540, 540,
594, 405, 486, 567, 486, 567, 648, 729, 648, 729, 810, 810, 891},
{30, 60, 90, 120, 180, 240, 270, 300, 60, 120, 180, 240, 360, 480, 540, 600,
90, 180, 270, 360, 540, 720, 810, 900, 120, 240, 360, 480, 720, 960, 1080, 1200,
13, 180, 240, 300, 270, 360, 450, 240, 300, 300, 360, 420, 420, 480, 360, 450,
450, 540, 630, 630, 720, 300, 360, 420, 360, 420, 480, 540, 480, 540, 600, 600,
660, 450, 540, 630, 540, 630, 720, 810, 720, 810, 900, 900, 990} }
}

Definition at line 9 of file rtl819x_HTProc.c.

u8 MCS_FILTER_1SS[16] = {0xff, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

Definition at line 7 of file rtl819x_HTProc.c.

u8 MCS_FILTER_ALL[16] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

Definition at line 5 of file rtl819x_HTProc.c.