1
2
3
4
5
6
7 #ifndef _RTW_SRESET_C_
8 #define _RTW_SRESET_C_
9
10 #include <osdep_service.h>
11 #include <drv_types.h>
12
13 struct sreset_priv {
14 u8 wifi_error_status;
15 };
16
17 #include <rtl8188e_hal.h>
18
19 #define WIFI_STATUS_SUCCESS 0
20 #define USB_VEN_REQ_CMD_FAIL BIT(0)
21 #define USB_READ_PORT_FAIL BIT(1)
22 #define USB_WRITE_PORT_FAIL BIT(2)
23 #define WIFI_MAC_TXDMA_ERROR BIT(3)
24 #define WIFI_TX_HANG BIT(4)
25 #define WIFI_RX_HANG BIT(5)
26 #define WIFI_IF_NOT_EXIST BIT(6)
27
28 void sreset_set_wifi_error_status(struct adapter *padapter, u32 status);
29
30 #endif