Remove typedef from union.
Rename union.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
struct rtllib_qos_parameters *qos_parameters = &priv->rtllib->current_network.qos_data.parameters;
u8 pAcParam = *((u8*)val);
u32 eACI = pAcParam;
- PACI_AIFSN pAciAifsn = (PACI_AIFSN)&(qos_parameters->aifs[0]);
+ union aci_aifsn *pAciAifsn = (union aci_aifsn *)&(qos_parameters->aifs[0]);
u8 acm = pAciAifsn->f.acm;
u8 AcmCtrl = read_nic_byte( dev, AcmHwCtrl);
#define IsACValid(ac) ( ( ac>=0 && ac<=7 )? true : false )
-typedef union _ACI_AIFSN{
+union aci_aifsn {
u8 charData;
struct
u8 ACI:2;
u8 Reserved:1;
}f;
-}ACI_AIFSN, *PACI_AIFSN;
+};
typedef union _ECW{
u8 charData;
struct
{
- ACI_AIFSN AciAifsn;
+ union aci_aifsn AciAifsn;
ECW Ecw;
u16 TXOPLimit;
}f;