Remove code related to PLATFORM_WINDOWS

This commit is contained in:
Carlos Garces
2021-10-14 19:32:27 +02:00
parent 507d1c07e0
commit 9d13b33a29
33 changed files with 121 additions and 1314 deletions

View File

@@ -66,21 +66,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;
@@ -383,31 +368,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;