aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rndis.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rndis.h')
-rw-r--r--include/linux/rndis.h76
1 files changed, 27 insertions, 49 deletions
diff --git a/include/linux/rndis.h b/include/linux/rndis.h
index ebc40b3f1b1b..62aecb75b054 100644
--- a/include/linux/rndis.h
+++ b/include/linux/rndis.h
@@ -70,21 +70,6 @@
70/* IEEE 802.3 (Ethernet) OIDs */ 70/* IEEE 802.3 (Ethernet) OIDs */
71#define NDIS_802_3_MAC_OPTION_PRIORITY 0x00000001 71#define NDIS_802_3_MAC_OPTION_PRIORITY 0x00000001
72 72
73#define OID_802_3_CURRENT_ADDRESS 0x01010102
74#define OID_802_3_MULTICAST_LIST 0x01010103
75#define OID_802_3_MAXIMUM_LIST_SIZE 0x01010104
76#define OID_802_3_MAC_OPTIONS 0x01010105
77#define OID_802_3_RCV_ERROR_ALIGNMENT 0x01020101
78#define OID_802_3_XMIT_ONE_COLLISION 0x01020102
79#define OID_802_3_XMIT_MORE_COLLISIONS 0x01020103
80#define OID_802_3_XMIT_DEFERRED 0x01020201
81#define OID_802_3_XMIT_MAX_COLLISIONS 0x01020202
82#define OID_802_3_RCV_OVERRUN 0x01020203
83#define OID_802_3_XMIT_UNDERRUN 0x01020204
84#define OID_802_3_XMIT_HEARTBEAT_FAILURE 0x01020205
85#define OID_802_3_XMIT_TIMES_CRS_LOST 0x01020206
86#define OID_802_3_XMIT_LATE_COLLISIONS 0x01020207
87
88/* RNDIS_OID_GEN_MINIPORT_INFO constants */ 73/* RNDIS_OID_GEN_MINIPORT_INFO constants */
89#define NDIS_MINIPORT_BUS_MASTER 0x00000001 74#define NDIS_MINIPORT_BUS_MASTER 0x00000001
90#define NDIS_MINIPORT_WDM_DRIVER 0x00000002 75#define NDIS_MINIPORT_WDM_DRIVER 0x00000002
@@ -402,6 +387,33 @@
402#define RNDIS_OID_802_3_XMIT_TIMES_CRS_LOST 0x01020206 387#define RNDIS_OID_802_3_XMIT_TIMES_CRS_LOST 0x01020206
403#define RNDIS_OID_802_3_XMIT_LATE_COLLISIONS 0x01020207 388#define RNDIS_OID_802_3_XMIT_LATE_COLLISIONS 0x01020207
404 389
390#define RNDIS_OID_802_11_BSSID 0x0d010101
391#define RNDIS_OID_802_11_SSID 0x0d010102
392#define RNDIS_OID_802_11_INFRASTRUCTURE_MODE 0x0d010108
393#define RNDIS_OID_802_11_ADD_WEP 0x0d010113
394#define RNDIS_OID_802_11_REMOVE_WEP 0x0d010114
395#define RNDIS_OID_802_11_DISASSOCIATE 0x0d010115
396#define RNDIS_OID_802_11_AUTHENTICATION_MODE 0x0d010118
397#define RNDIS_OID_802_11_PRIVACY_FILTER 0x0d010119
398#define RNDIS_OID_802_11_BSSID_LIST_SCAN 0x0d01011a
399#define RNDIS_OID_802_11_ENCRYPTION_STATUS 0x0d01011b
400#define RNDIS_OID_802_11_ADD_KEY 0x0d01011d
401#define RNDIS_OID_802_11_REMOVE_KEY 0x0d01011e
402#define RNDIS_OID_802_11_ASSOCIATION_INFORMATION 0x0d01011f
403#define RNDIS_OID_802_11_CAPABILITY 0x0d010122
404#define RNDIS_OID_802_11_PMKID 0x0d010123
405#define RNDIS_OID_802_11_NETWORK_TYPES_SUPPORTED 0x0d010203
406#define RNDIS_OID_802_11_NETWORK_TYPE_IN_USE 0x0d010204
407#define RNDIS_OID_802_11_TX_POWER_LEVEL 0x0d010205
408#define RNDIS_OID_802_11_RSSI 0x0d010206
409#define RNDIS_OID_802_11_RSSI_TRIGGER 0x0d010207
410#define RNDIS_OID_802_11_FRAGMENTATION_THRESHOLD 0x0d010209
411#define RNDIS_OID_802_11_RTS_THRESHOLD 0x0d01020a
412#define RNDIS_OID_802_11_SUPPORTED_RATES 0x0d01020e
413#define RNDIS_OID_802_11_CONFIGURATION 0x0d010211
414#define RNDIS_OID_802_11_POWER_MODE 0x0d010216
415#define RNDIS_OID_802_11_BSSID_LIST 0x0d010217
416
405#define REMOTE_CONDIS_MP_CREATE_VC_MSG 0x00008001 417#define REMOTE_CONDIS_MP_CREATE_VC_MSG 0x00008001
406#define REMOTE_CONDIS_MP_DELETE_VC_MSG 0x00008002 418#define REMOTE_CONDIS_MP_DELETE_VC_MSG 0x00008002
407#define REMOTE_CONDIS_MP_ACTIVATE_VC_MSG 0x00008005 419#define REMOTE_CONDIS_MP_ACTIVATE_VC_MSG 0x00008005
@@ -438,37 +450,3 @@
438/* Remote NDIS medium connection states. */ 450/* Remote NDIS medium connection states. */
439#define RNDIS_MEDIA_STATE_CONNECTED 0x00000000 451#define RNDIS_MEDIA_STATE_CONNECTED 0x00000000
440#define RNDIS_MEDIA_STATE_DISCONNECTED 0x00000001 452#define RNDIS_MEDIA_STATE_DISCONNECTED 0x00000001
441
442/* From drivers/net/wireless/rndis_wlan.c */
443
444/* various RNDIS OID defs */
445#define OID_802_3_CURRENT_ADDRESS 0x01010102
446#define OID_802_3_MULTICAST_LIST 0x01010103
447#define OID_802_3_MAXIMUM_LIST_SIZE 0x01010104
448
449#define OID_802_11_BSSID 0x0d010101
450#define OID_802_11_SSID 0x0d010102
451#define OID_802_11_INFRASTRUCTURE_MODE 0x0d010108
452#define OID_802_11_ADD_WEP 0x0d010113
453#define OID_802_11_REMOVE_WEP 0x0d010114
454#define OID_802_11_DISASSOCIATE 0x0d010115
455#define OID_802_11_AUTHENTICATION_MODE 0x0d010118
456#define OID_802_11_PRIVACY_FILTER 0x0d010119
457#define OID_802_11_BSSID_LIST_SCAN 0x0d01011a
458#define OID_802_11_ENCRYPTION_STATUS 0x0d01011b
459#define OID_802_11_ADD_KEY 0x0d01011d
460#define OID_802_11_REMOVE_KEY 0x0d01011e
461#define OID_802_11_ASSOCIATION_INFORMATION 0x0d01011f
462#define OID_802_11_CAPABILITY 0x0d010122
463#define OID_802_11_PMKID 0x0d010123
464#define OID_802_11_NETWORK_TYPES_SUPPORTED 0x0d010203
465#define OID_802_11_NETWORK_TYPE_IN_USE 0x0d010204
466#define OID_802_11_TX_POWER_LEVEL 0x0d010205
467#define OID_802_11_RSSI 0x0d010206
468#define OID_802_11_RSSI_TRIGGER 0x0d010207
469#define OID_802_11_FRAGMENTATION_THRESHOLD 0x0d010209
470#define OID_802_11_RTS_THRESHOLD 0x0d01020a
471#define OID_802_11_SUPPORTED_RATES 0x0d01020e
472#define OID_802_11_CONFIGURATION 0x0d010211
473#define OID_802_11_POWER_MODE 0x0d010216
474#define OID_802_11_BSSID_LIST 0x0d010217