Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
};
#define MAX_WMMELE_LENGTH 64
-typedef u32 QOS_MODE, *PQOS_MODE;
+#define QOS_MODE u32
+
#define QOS_DISABLE 0
#define QOS_WMM 1
#define QOS_WMMSA 2
};
-typedef u32 AC_CODING;
+#define AC_CODING u32
+
#define AC0_BE 0
#define AC1_BK 1
#define AC2_VI 2
-typedef u8 AC_UAPSD, *PAC_UAPSD;
+#define AC_UAPSD u8
#define GET_VO_UAPSD(_apsd) ((_apsd) & BIT0)
#define SET_VO_UAPSD(_apsd) ((_apsd) |= BIT0)
.vendor = (vend), .device = (dev), \
.subvendor = PCI_ANY_ID, .subdevice =PCI_ANY_ID , \
.driver_data = (kernel_ulong_t)&(cfg)
- typedef irqreturn_t irqreturn_type;
+#define irqreturn_type irqreturn_t
#define rtl8192_interrupt(x,y,z) rtl8192_interrupt_rsl(x,y)
};
-typedef u32 RT_RF_CHANGE_SOURCE;
+#define RT_RF_CHANGE_SOURCE u32
+
#define RF_CHANGE_BY_SW BIT31
#define RF_CHANGE_BY_HW BIT30
#define RF_CHANGE_BY_PS BIT29