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 "rtllib.h"
#include "rtl819x_HT.h"

Go to the source code of this file.

Functions

void HTUpdateDefaultSetting (struct rtllib_device *ieee)
 
void HTDebugHTCapability (u8 *CapIE, u8 *TitleString)
 
void HTDebugHTInfo (u8 *InfoIE, u8 *TitleString)
 
u16 HTHalfMcsToDataRate (struct rtllib_device *ieee, u8 nMcsRate)
 
u16 HTMcsToDataRate (struct rtllib_device *ieee, u8 nMcsRate)
 
u16 TxCountToDataRate (struct rtllib_device *ieee, u8 nDataRate)
 
bool IsHTHalfNmodeAPs (struct rtllib_device *ieee)
 
void HTResetIOTSetting (struct rt_hi_throughput *pHTInfo)
 
void HTConstructCapabilityElement (struct rtllib_device *ieee, u8 *posHTCap, u8 *len, u8 IsEncrypt, bool bAssoc)
 
void HTConstructInfoElement (struct rtllib_device *ieee, u8 *posHTInfo, u8 *len, u8 IsEncrypt)
 
void HTConstructRT2RTAggElement (struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len)
 
u8 HTGetHighestMCSRate (struct rtllib_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter)
 
u8 HTFilterMCSRate (struct rtllib_device *ieee, u8 *pSupportMCS, u8 *pOperateMCS)
 
void HTSetConnectBwMode (struct rtllib_device *ieee, enum ht_channel_width Bandwidth, enum ht_extchnl_offset Offset)
 
void HTOnAssocRsp (struct rtllib_device *ieee)
 
void HTInitializeHTInfo (struct rtllib_device *ieee)
 
void HTInitializeBssDesc (struct bss_ht *pBssHT)
 
void HTResetSelfAndSavePeerSetting (struct rtllib_device *ieee, struct rtllib_network *pNetwork)
 
void HT_update_self_and_peer_setting (struct rtllib_device *ieee, struct rtllib_network *pNetwork)
 
 EXPORT_SYMBOL (HT_update_self_and_peer_setting)
 
void HTUseDefaultSetting (struct rtllib_device *ieee)
 
u8 HTCCheck (struct rtllib_device *ieee, u8 *pFrame)
 

Variables

u8 MCS_FILTER_ALL [16]
 
u8 MCS_FILTER_1SS [16]
 
u16 MCS_DATA_RATE [2][2][77]
 

Function Documentation

EXPORT_SYMBOL ( HT_update_self_and_peer_setting  )
void HT_update_self_and_peer_setting ( struct rtllib_device ieee,
struct rtllib_network pNetwork 
)

Definition at line 946 of file rtl819x_HTProc.c.

u8 HTCCheck ( struct rtllib_device ieee,
u8 pFrame 
)

Definition at line 997 of file rtl819x_HTProc.c.

void HTConstructCapabilityElement ( struct rtllib_device ieee,
u8 posHTCap,
u8 len,
u8  IsEncrypt,
bool  bAssoc 
)

Definition at line 445 of file rtl819x_HTProc.c.

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

Definition at line 527 of file rtl819x_HTProc.c.

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

Definition at line 570 of file rtl819x_HTProc.c.

void HTDebugHTCapability ( u8 CapIE,
u8 TitleString 
)

Definition at line 120 of file rtl819x_HTProc.c.

void HTDebugHTInfo ( u8 InfoIE,
u8 TitleString 
)

Definition at line 158 of file rtl819x_HTProc.c.

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

Definition at line 663 of file rtl819x_HTProc.c.

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

Definition at line 625 of file rtl819x_HTProc.c.

u16 HTHalfMcsToDataRate ( struct rtllib_device ieee,
u8  nMcsRate 
)

Definition at line 262 of file rtl819x_HTProc.c.

void HTInitializeBssDesc ( struct bss_ht pBssHT)

Definition at line 855 of file rtl819x_HTProc.c.

void HTInitializeHTInfo ( struct rtllib_device ieee)

Definition at line 804 of file rtl819x_HTProc.c.

u16 HTMcsToDataRate ( struct rtllib_device ieee,
u8  nMcsRate 
)

Definition at line 275 of file rtl819x_HTProc.c.

void HTOnAssocRsp ( struct rtllib_device ieee)

Definition at line 687 of file rtl819x_HTProc.c.

void HTResetIOTSetting ( struct rt_hi_throughput pHTInfo)

Definition at line 438 of file rtl819x_HTProc.c.

void HTResetSelfAndSavePeerSetting ( struct rtllib_device ieee,
struct rtllib_network pNetwork 
)

Definition at line 871 of file rtl819x_HTProc.c.

void HTSetConnectBwMode ( struct rtllib_device ieee,
enum ht_channel_width  Bandwidth,
enum ht_extchnl_offset  Offset 
)

Definition at line 1037 of file rtl819x_HTProc.c.

void HTUpdateDefaultSetting ( struct rtllib_device ieee)

Definition at line 82 of file rtl819x_HTProc.c.

void HTUseDefaultSetting ( struct rtllib_device ieee)

Definition at line 960 of file rtl819x_HTProc.c.

bool IsHTHalfNmodeAPs ( struct rtllib_device ieee)

Definition at line 314 of file rtl819x_HTProc.c.

u16 TxCountToDataRate ( struct rtllib_device ieee,
u8  nDataRate 
)

Definition at line 286 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 31 of file rtl819x_HTProc.c.

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

Definition at line 26 of file rtl819x_HTProc.c.

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

Definition at line 21 of file rtl819x_HTProc.c.