Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354515
b: refs/heads/master
c: 2578180
h: refs/heads/master
i:
  354513: 8dad8e2
  354511: 865d9f6
v: v3
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Feb 15, 2013
1 parent 8cbde42 commit e979f84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 39 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: e9d077bd2aafd11b4b12c76d34e9414157fb7665
refs/heads/master: 2578180858e80261f8ba133dc998d5fb5b54d547
39 changes: 1 addition & 38 deletions trunk/drivers/staging/rtl8187se/r8185b_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,44 +928,7 @@ void ActUpdateChannelAccessSetting(struct net_device *dev,

for (eACI = 0; eACI < AC_MAX; eACI++) {
AcParam.f.AciAifsn.f.ACI = (u8)eACI;
{
PAC_PARAM pAcParam = (PAC_PARAM)(&AcParam);
AC_CODING eACI;
u8 u1bAIFS;
u32 u4bAcParam;

/* Retrieve parameters to update. */
eACI = pAcParam->f.AciAifsn.f.ACI;
u1bAIFS = pAcParam->f.AciAifsn.f.AIFSN * ChnlAccessSetting->SlotTimeTimer + aSifsTime;
u4bAcParam = ((((u32)(pAcParam->f.TXOPLimit)) << AC_PARAM_TXOP_LIMIT_OFFSET) |
(((u32)(pAcParam->f.Ecw.f.ECWmax)) << AC_PARAM_ECW_MAX_OFFSET) |
(((u32)(pAcParam->f.Ecw.f.ECWmin)) << AC_PARAM_ECW_MIN_OFFSET) |
(((u32)u1bAIFS) << AC_PARAM_AIFS_OFFSET));

switch (eACI) {
case AC1_BK:
/* write_nic_dword(dev, AC_BK_PARAM, u4bAcParam); */
break;

case AC0_BE:
/* write_nic_dword(dev, AC_BK_PARAM, u4bAcParam); */
break;

case AC2_VI:
/* write_nic_dword(dev, AC_BK_PARAM, u4bAcParam); */
break;

case AC3_VO:
/* write_nic_dword(dev, AC_BK_PARAM, u4bAcParam); */
break;

default:
DMESGW("SetHwReg8185(): invalid ACI: %d !\n", eACI);
break;
}

write_nic_byte(dev, ACM_CONTROL, 0);
}
write_nic_byte(dev, ACM_CONTROL, 0);
}
}
}
Expand Down

0 comments on commit e979f84

Please sign in to comment.