Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267755
b: refs/heads/master
c: b0d7de7
h: refs/heads/master
i:
  267753: 52fded1
  267751: 7452f6d
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent e6447f8 commit 0d1f492
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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: 8cba1432cee4c88668160750f1892aa09a2ba56a
refs/heads/master: b0d7de7314d359ec52d8ba3660e1d5c729e44161
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/r8192E_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val)
u8 pAcParam = *((u8*)val);
u32 eACI = pAcParam;
PACI_AIFSN pAciAifsn = (PACI_AIFSN)&(qos_parameters->aifs[0]);
u8 ACM = pAciAifsn->f.ACM;
u8 acm = pAciAifsn->f.acm;
u8 AcmCtrl = read_nic_byte( dev, AcmHwCtrl);

RT_TRACE(COMP_DBG, "===========>%s():HW_VAR_ACM_CTRL:%x\n", __func__,eACI);
AcmCtrl = AcmCtrl | ((priv->AcmMethod == 2)?0x0:0x1);

if ( ACM )
if (acm)
{
switch (eACI)
{
Expand All @@ -259,7 +259,7 @@ rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val)
break;

default:
RT_TRACE( COMP_QOS, "SetHwReg8185(): [HW_VAR_ACM_CTRL] ACM set failed: eACI is %d\n", eACI );
RT_TRACE( COMP_QOS, "SetHwReg8185(): [HW_VAR_ACM_CTRL] acm set failed: eACI is %d\n", eACI );
break;
}
}
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/rtl8192e/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ typedef enum _ACM_METHOD{
}ACM_METHOD,*PACM_METHOD;


typedef struct _ACM{
struct acm {
u64 UsedTime;
u64 MediumTime;
u8 HwAcmCtl;
}ACM, *PACM;
};//, *struct acm *;



Expand Down Expand Up @@ -329,7 +329,7 @@ struct sta_qos {
u8 * pWMMInfoEle;
u8 WMMParamEle[WMM_PARAM_ELEMENT_SIZE];

ACM acm[4];
struct acm acm[4];
ACM_METHOD AcmMethod;

struct qos_tstream StaTsArray[MAX_STA_TS_COUNT];
Expand Down Expand Up @@ -380,7 +380,7 @@ typedef union _ACI_AIFSN{
struct
{
u8 AIFSN:4;
u8 ACM:1;
u8 acm:1;
u8 ACI:2;
u8 Reserved:1;
}f;
Expand Down

0 comments on commit 0d1f492

Please sign in to comment.