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)
{
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;
}
}
}ACM_METHOD,*PACM_METHOD;
-typedef struct _ACM{
+struct acm {
u64 UsedTime;
u64 MediumTime;
u8 HwAcmCtl;
-}ACM, *PACM;
+};//, *struct acm *;
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];
struct
{
u8 AIFSN:4;
- u8 ACM:1;
+ u8 acm:1;
u8 ACI:2;
u8 Reserved:1;
}f;