OSDN Git Service

Update rtl8812au driver
[android-x86/external-kernel-drivers.git] / rtl8812au / include / rtw_mp.h
index 4723ce7..359cfd5 100644 (file)
@@ -44,13 +44,7 @@ struct mp_xmit_frame {
        u8 *mem_addr;
        u32 sz[8];
 
-#if defined(PLATFORM_OS_XP) || defined(PLATFORM_LINUX)
        PURB pxmit_urb[8];
-#endif
-
-#ifdef PLATFORM_OS_XP
-       PIRP pxmit_irp[8];
-#endif
 
        u8 bpending[8];
        sint ac_tag[8];
@@ -71,21 +65,6 @@ struct mp_wiparam {
 
 typedef void(*wi_act_func)(void *padapter);
 
-#ifdef PLATFORM_WINDOWS
-struct mp_wi_cntx {
-       u8 bmpdrv_unload;
-
-       /* Work Item */
-       NDIS_WORK_ITEM mp_wi;
-       NDIS_EVENT mp_wi_evt;
-       _lock mp_wi_lock;
-       u8 bmp_wi_progress;
-       wi_act_func curractfunc;
-       /* Variable needed in each implementation of CurrActFunc. */
-       struct mp_wiparam param;
-};
-#endif
-
 struct mp_tx {
        u8 stop;
        u32 count, sended;
@@ -411,31 +390,6 @@ struct mp_priv {
        struct wlan_network mp_network;
        NDIS_802_11_MAC_ADDRESS network_macaddr;
 
-#ifdef PLATFORM_WINDOWS
-       u32 rx_testcnt;
-       u32 rx_testcnt1;
-       u32 rx_testcnt2;
-       u32 tx_testcnt;
-       u32 tx_testcnt1;
-
-       struct mp_wi_cntx wi_cntx;
-
-       u8 h2c_result;
-       u8 h2c_seqnum;
-       u16 h2c_cmdcode;
-       u8 h2c_resp_parambuf[512];
-       _lock h2c_lock;
-       _lock wkitm_lock;
-       u32 h2c_cmdcnt;
-       NDIS_EVENT h2c_cmd_evt;
-       NDIS_EVENT c2h_set;
-       NDIS_EVENT h2c_clr;
-       NDIS_EVENT cpwm_int;
-
-       NDIS_EVENT scsir_full_evt;
-       NDIS_EVENT scsiw_empty_evt;
-#endif
-
        u8 *pallocated_mp_xmitframe_buf;
        u8 *pmp_xmtframe_buf;
        _queue free_mp_xmitqueue;