Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267800
b: refs/heads/master
c: ed306e4
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 4f7866e commit e5bfaea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42c53e7aaec108cf12431d6aca9ddac90b39d573
refs/heads/master: ed306e486d673a3ba4f9b0f2ab15afab0a6ba171
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ union qos_tsinfo {
}field;
};

typedef union _TSPEC_BODY{
union tspec_body {
u8 charData[55];

struct
Expand All @@ -92,7 +92,7 @@ typedef union _TSPEC_BODY{
u16 SurplusBandwidthAllowance;
u16 MediumTime;
} f;
}TSPEC_BODY, *PTSPEC_BODY;
};

struct wmm_tspec {
u8 ID;
Expand All @@ -101,7 +101,7 @@ struct wmm_tspec {
u8 OUI_Type;
u8 OUI_SubType;
u8 Version;
TSPEC_BODY Body;
union tspec_body Body;
};

struct octet_string {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rtl8192e/rtl819x_TS.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct ts_common_info {
struct timer_list SetupTimer;
struct timer_list InactTimer;
u8 Addr[6];
TSPEC_BODY TSpec;
union tspec_body TSpec;
QOS_TCLAS TClass[TCLAS_NUM];
u8 TClasProc;
u8 TClasNum;
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/rtl8192e/rtl819x_TSProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void TsAddBaProcess(unsigned long data)
void ResetTsCommonInfo(struct ts_common_info *pTsCommonInfo)
{
memset(pTsCommonInfo->Addr, 0, 6);
memset(&pTsCommonInfo->TSpec, 0, sizeof(TSPEC_BODY));
memset(&pTsCommonInfo->TSpec, 0, sizeof(union tspec_body));
memset(&pTsCommonInfo->TClass, 0, sizeof(QOS_TCLAS)*TCLAS_NUM);
pTsCommonInfo->TClasProc = 0;
pTsCommonInfo->TClasNum = 0;
Expand Down Expand Up @@ -293,7 +293,7 @@ struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee, u8* Addr,
void MakeTSEntry(
struct ts_common_info *pTsCommonInfo,
u8* Addr,
PTSPEC_BODY pTSPEC,
union tspec_body *pTSPEC,
PQOS_TCLAS pTCLAS,
u8 TCLAS_Num,
u8 TCLAS_Proc
Expand All @@ -307,7 +307,7 @@ void MakeTSEntry(
memcpy(pTsCommonInfo->Addr, Addr, 6);

if (pTSPEC != NULL)
memcpy((u8*)(&(pTsCommonInfo->TSpec)), (u8*)pTSPEC, sizeof(TSPEC_BODY));
memcpy((u8*)(&(pTsCommonInfo->TSpec)), (u8*)pTSPEC, sizeof(union tspec_body));

for (count = 0; count < TCLAS_Num; count++)
memcpy((u8*)(&(pTsCommonInfo->TClass[count])), (u8*)pTCLAS, sizeof(QOS_TCLAS));
Expand Down Expand Up @@ -376,7 +376,7 @@ bool GetTs(
}
else
{
TSPEC_BODY TSpec;
union tspec_body TSpec;
union qos_tsinfo *pTSInfo = &TSpec.f.TSInfo;
struct list_head* pUnusedList =
(TxRxSelect == TX_DIR)?
Expand Down

0 comments on commit e5bfaea

Please sign in to comment.