1
2
3
4
5
6
7 #ifndef _RTW_IOCTL_H_
8 #define _RTW_IOCTL_H_
9
10
11
12 #define STATUS_SUCCESS (0x00000000L)
13 #define STATUS_PENDING (0x00000103L)
14
15 #define STATUS_UNSUCCESSFUL (0xC0000001L)
16 #define STATUS_INSUFFICIENT_RESOURCES (0xC000009AL)
17 #define STATUS_NOT_SUPPORTED (0xC00000BBL)
18
19 #define NDIS_STATUS_SUCCESS ((uint)STATUS_SUCCESS)
20 #define NDIS_STATUS_PENDING ((uint)STATUS_PENDING)
21 #define NDIS_STATUS_NOT_RECOGNIZED ((uint)0x00010001L)
22 #define NDIS_STATUS_NOT_COPIED ((uint)0x00010002L)
23 #define NDIS_STATUS_NOT_ACCEPTED ((uint)0x00010003L)
24 #define NDIS_STATUS_CALL_ACTIVE ((uint)0x00010007L)
25
26 #define NDIS_STATUS_FAILURE ((uint)STATUS_UNSUCCESSFUL)
27 #define NDIS_STATUS_RESOURCES ((uint)STATUS_INSUFFICIENT_RESOURCES)
28 #define NDIS_STATUS_CLOSING ((uint)0xC0010002L)
29 #define NDIS_STATUS_BAD_VERSION ((uint)0xC0010004L)
30 #define NDIS_STATUS_BAD_CHARACTERISTICS ((uint)0xC0010005L)
31 #define NDIS_STATUS_ADAPTER_NOT_FOUND ((uint)0xC0010006L)
32 #define NDIS_STATUS_OPEN_FAILED ((uint)0xC0010007L)
33 #define NDIS_STATUS_DEVICE_FAILED ((uint)0xC0010008L)
34 #define NDIS_STATUS_MULTICAST_FULL ((uint)0xC0010009L)
35 #define NDIS_STATUS_MULTICAST_EXISTS ((uint)0xC001000AL)
36 #define NDIS_STATUS_MULTICAST_NOT_FOUND ((uint)0xC001000BL)
37 #define NDIS_STATUS_REQUEST_ABORTED ((uint)0xC001000CL)
38 #define NDIS_STATUS_RESET_IN_PROGRESS ((uint)0xC001000DL)
39 #define NDIS_STATUS_CLOSING_INDICATING ((uint)0xC001000EL)
40 #define NDIS_STATUS_NOT_SUPPORTED ((uint)STATUS_NOT_SUPPORTED)
41 #define NDIS_STATUS_INVALID_PACKET ((uint)0xC001000FL)
42 #define NDIS_STATUS_OPEN_LIST_FULL ((uint)0xC0010010L)
43 #define NDIS_STATUS_ADAPTER_NOT_READY ((uint)0xC0010011L)
44 #define NDIS_STATUS_ADAPTER_NOT_OPEN ((uint)0xC0010012L)
45 #define NDIS_STATUS_NOT_INDICATING ((uint)0xC0010013L)
46 #define NDIS_STATUS_INVALID_LENGTH ((uint)0xC0010014L)
47 #define NDIS_STATUS_INVALID_DATA ((uint)0xC0010015L)
48 #define NDIS_STATUS_BUFFER_TOO_SHORT ((uint)0xC0010016L)
49 #define NDIS_STATUS_INVALID_OID ((uint)0xC0010017L)
50 #define NDIS_STATUS_ADAPTER_REMOVED ((uint)0xC0010018L)
51 #define NDIS_STATUS_UNSUPPORTED_MEDIA ((uint)0xC0010019L)
52 #define NDIS_STATUS_GROUP_ADDRESS_IN_USE ((uint)0xC001001AL)
53 #define NDIS_STATUS_FILE_NOT_FOUND ((uint)0xC001001BL)
54 #define NDIS_STATUS_ERROR_READING_FILE ((uint)0xC001001CL)
55 #define NDIS_STATUS_ALREADY_MAPPED ((uint)0xC001001DL)
56 #define NDIS_STATUS_RESOURCE_CONFLICT ((uint)0xC001001EL)
57 #define NDIS_STATUS_NO_CABLE ((uint)0xC001001FL)
58
59 #define NDIS_STATUS_INVALID_SAP ((uint)0xC0010020L)
60 #define NDIS_STATUS_SAP_IN_USE ((uint)0xC0010021L)
61 #define NDIS_STATUS_INVALID_ADDRESS ((uint)0xC0010022L)
62 #define NDIS_STATUS_VC_NOT_ACTIVATED ((uint)0xC0010023L)
63 #define NDIS_STATUS_DEST_OUT_OF_ORDER ((uint)0xC0010024L)
64 #define NDIS_STATUS_VC_NOT_AVAILABLE ((uint)0xC0010025L)
65 #define NDIS_STATUS_CELLRATE_NOT_AVAILABLE ((uint)0xC0010026L)
66 #define NDIS_STATUS_INCOMPATABLE_QOS ((uint)0xC0010027L)
67 #define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED ((uint)0xC0010028L)
68 #define NDIS_STATUS_NO_ROUTE_TO_DESTINATION ((uint)0xC0010029L)
69
70 extern struct iw_handler_def rtw_handlers_def;
71
72 #endif