diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-09-22 14:44:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 15:21:44 -0500 |
commit | ca97b8388838ee9ea4b4bad04948f8f7f8a607a3 (patch) | |
tree | 2f45db84158e603cbde3871fb9f5137448ef6773 /drivers/staging/rt2860/oid.h | |
parent | 3441d25f03a078d493777f165194f8623ec2750f (diff) |
Staging: rt28x0: updates from vendor's V2.1.0.0 drivers
Port changes from:
* 2009_0420_RT2860_Linux_STA_V2.1.0.0
* 2009_0302_RT2870_Linux_STA_v2.1.0.0
* 2009_0525_RT3070_Linux_STA_v2.1.1.0
to in-kernel drivers.
From the RT2860 driver release note:
[2.1.0.0]
1. New generation schema for multiple OS porting
2. Fixed Ad-hoc ping failed in noisy environment. (Probe Response has too
many retry packet then cause "not enough space in MgmtRing")
3. Fixed WPA(2)PSK issue when group cipher of AP is WEP40 or WEP104.
4. Modified iwpriv ra0 get_site_survey:
In scan list result: Security shows "NONE" when AP is OPEN/NONE,
shows "WEP" when AP is OPEN/WEP or SHARED/WEP, shows
"WPAPSK(WPA2PSK)/TKIP(AES)" when AP is WPAPSK(WPA2PSK)/TKIP(AES)
shows "WPA(WPA2)/TKIP(AES)" when AP is WPA(WPA2)/TKIP(AES)
5. Support kthread.
6. Add New A band channel list region 15 contains the whole channels in
the A band region 4 and the new CE channel 167,169,171,173
7. Add New IEEE802.11r functionality.
8. Fixed WPA2-Enterprise failed when AP reboot or turn off then turn on.
9. Fixed STA cannot connect to 11B only AP when the setting of is PHY_11GN.
From the RT2870 driver release note:
[V2.1.0.0]
1. New generation schema for multiple OS porting.
2. Fixed Ad-hoc ping failed in noisy environment. (Probe Response has too
many retry packet then cause "not enough space in MgmtRing").
3. Fixed WPS failed with D-Link DIR-628 in 5GHz.
4. Change FastRoaming in DAT file to AutoRoaming.
5. Support kthread.
6. Add New A band channel list region 15 contains the whole channels in
the A band region and the new CE channel 167,169,171,173.
7. New IEEE802.11r functionality.
From the RT3070 driver release note:
Version V2.1.1.0
1. Linux kernel 2.6.29 support.
2. Fix eFuse write from BIN file bug.
Version 2.1.0.0
1. New generation schema for multiple OS porting
2. Fixed Ad-hoc ping failed in noisy environment.
3. Modified iwpriv ra0 get_site_survey:
4. Change FastRoaming in DAT file to AutoRoaming.
5. Support kthread.
6. New IEEE802.11r functionality.
Tested with RT2860 and RT3070 chipsets.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/oid.h')
-rw-r--r-- | drivers/staging/rt2860/oid.h | 135 |
1 files changed, 93 insertions, 42 deletions
diff --git a/drivers/staging/rt2860/oid.h b/drivers/staging/rt2860/oid.h index 0227c4a38f9..a03293cabd8 100644 --- a/drivers/staging/rt2860/oid.h +++ b/drivers/staging/rt2860/oid.h | |||
@@ -37,9 +37,14 @@ | |||
37 | #ifndef _OID_H_ | 37 | #ifndef _OID_H_ |
38 | #define _OID_H_ | 38 | #define _OID_H_ |
39 | 39 | ||
40 | //#include <linux/wireless.h> | ||
40 | 41 | ||
42 | #ifndef TRUE | ||
41 | #define TRUE 1 | 43 | #define TRUE 1 |
44 | #endif | ||
45 | #ifndef FALSE | ||
42 | #define FALSE 0 | 46 | #define FALSE 0 |
47 | #endif | ||
43 | // | 48 | // |
44 | // IEEE 802.11 Structures and definitions | 49 | // IEEE 802.11 Structures and definitions |
45 | // | 50 | // |
@@ -73,24 +78,25 @@ | |||
73 | #define NDIS_802_11_LENGTH_RATES 8 | 78 | #define NDIS_802_11_LENGTH_RATES 8 |
74 | #define NDIS_802_11_LENGTH_RATES_EX 16 | 79 | #define NDIS_802_11_LENGTH_RATES_EX 16 |
75 | #define MAC_ADDR_LENGTH 6 | 80 | #define MAC_ADDR_LENGTH 6 |
76 | #define MAX_NUM_OF_CHS 49 // 14 channels @2.4G + 12@UNII + 4 @MMAC + 11 @HiperLAN2 + 7 @Japan + 1 as NULL terminationc | 81 | //#define MAX_NUM_OF_CHS 49 // 14 channels @2.4G + 12@UNII + 4 @MMAC + 11 @HiperLAN2 + 7 @Japan + 1 as NULL terminationc |
82 | #define MAX_NUM_OF_CHS 54 // 14 channels @2.4G + 12@UNII(lower/middle) + 16@HiperLAN2 + 11@UNII(upper) + 0 @Japan + 1 as NULL termination | ||
77 | #define MAX_NUMBER_OF_EVENT 10 // entry # in EVENT table | 83 | #define MAX_NUMBER_OF_EVENT 10 // entry # in EVENT table |
78 | #define MAX_NUMBER_OF_MAC 32 // if MAX_MBSSID_NUM is 8, this value can't be larger than 211 | 84 | #define MAX_NUMBER_OF_MAC 32 // if MAX_MBSSID_NUM is 8, this value can't be larger than 211 |
79 | #define MAX_NUMBER_OF_ACL 64 | 85 | #define MAX_NUMBER_OF_ACL 64 |
80 | #define MAX_LENGTH_OF_SUPPORT_RATES 12 // 1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48, 54 | 86 | #define MAX_LENGTH_OF_SUPPORT_RATES 12 // 1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48, 54 |
81 | #define MAX_NUMBER_OF_DLS_ENTRY 4 | 87 | #define MAX_NUMBER_OF_DLS_ENTRY 4 |
82 | 88 | ||
83 | #define OID_GEN_MACHINE_NAME 0x0001021A | ||
84 | 89 | ||
85 | #define RT_QUERY_SIGNAL_CONTEXT 0x0402 | 90 | #define RT_QUERY_SIGNAL_CONTEXT 0x0402 |
86 | #define RT_SET_IAPP_PID 0x0404 | 91 | #define RT_SET_IAPP_PID 0x0404 |
87 | #define RT_SET_APD_PID 0x0405 | 92 | #define RT_SET_APD_PID 0x0405 |
88 | #define RT_SET_DEL_MAC_ENTRY 0x0406 | 93 | #define RT_SET_DEL_MAC_ENTRY 0x0406 |
89 | 94 | #define RT_QUERY_EVENT_TABLE 0x0407 | |
90 | // | 95 | // |
91 | // IEEE 802.11 OIDs | 96 | // IEEE 802.11 OIDs |
92 | // | 97 | // |
93 | #define OID_GET_SET_TOGGLE 0x8000 | 98 | #define OID_GET_SET_TOGGLE 0x8000 |
99 | #define OID_GET_SET_FROM_UI 0x4000 | ||
94 | 100 | ||
95 | #define OID_802_11_ADD_WEP 0x0112 | 101 | #define OID_802_11_ADD_WEP 0x0112 |
96 | #define OID_802_11_DISASSOCIATE 0x0114 | 102 | #define OID_802_11_DISASSOCIATE 0x0114 |
@@ -101,22 +107,28 @@ | |||
101 | 107 | ||
102 | #define RT_OID_DEVICE_NAME 0x0607 | 108 | #define RT_OID_DEVICE_NAME 0x0607 |
103 | #define RT_OID_VERSION_INFO 0x0608 | 109 | #define RT_OID_VERSION_INFO 0x0608 |
110 | #define OID_802_11_BSSID_LIST 0x0609 | ||
111 | #define OID_802_3_CURRENT_ADDRESS 0x060A | ||
104 | #define OID_GEN_MEDIA_CONNECT_STATUS 0x060B | 112 | #define OID_GEN_MEDIA_CONNECT_STATUS 0x060B |
113 | #define RT_OID_802_11_QUERY_LINK_STATUS 0x060C | ||
114 | #define OID_802_11_RSSI 0x060D | ||
115 | #define OID_802_11_STATISTICS 0x060E | ||
105 | #define OID_GEN_RCV_OK 0x060F | 116 | #define OID_GEN_RCV_OK 0x060F |
106 | #define OID_GEN_RCV_NO_BUFFER 0x0610 | 117 | #define OID_GEN_RCV_NO_BUFFER 0x0610 |
107 | 118 | #define RT_OID_802_11_QUERY_EEPROM_VERSION 0x0611 | |
119 | #define RT_OID_802_11_QUERY_FIRMWARE_VERSION 0x0612 | ||
120 | #define RT_OID_802_11_QUERY_LAST_RX_RATE 0x0613 | ||
121 | #define RT_OID_802_11_TX_POWER_LEVEL_1 0x0614 | ||
122 | #define RT_OID_802_11_QUERY_PIDVID 0x0615 | ||
123 | //for WPA_SUPPLICANT_SUPPORT | ||
108 | #define OID_SET_COUNTERMEASURES 0x0616 | 124 | #define OID_SET_COUNTERMEASURES 0x0616 |
109 | #define RT_OID_WPA_SUPPLICANT_SUPPORT 0x0621 | 125 | #define RT_OID_WPA_SUPPLICANT_SUPPORT 0x0621 |
110 | #define RT_OID_WE_VERSION_COMPILED 0x0622 | 126 | #define RT_OID_WE_VERSION_COMPILED 0x0622 |
111 | #define RT_OID_NEW_DRIVER 0x0623 | 127 | #define RT_OID_NEW_DRIVER 0x0623 |
112 | 128 | ||
113 | //rt2860 , kathy | ||
114 | #define RT_OID_DRIVER_DEVICE_NAME 0x0645 | 129 | #define RT_OID_DRIVER_DEVICE_NAME 0x0645 |
115 | #define RT_OID_QUERY_MULTIPLE_CARD_SUPPORT 0x0647 | 130 | #define RT_OID_QUERY_MULTIPLE_CARD_SUPPORT 0x0647 |
116 | 131 | ||
117 | // Ralink defined OIDs | ||
118 | // Dennis Lee move to platform specific | ||
119 | |||
120 | typedef enum _NDIS_802_11_STATUS_TYPE | 132 | typedef enum _NDIS_802_11_STATUS_TYPE |
121 | { | 133 | { |
122 | Ndis802_11StatusType_Authentication, | 134 | Ndis802_11StatusType_Authentication, |
@@ -169,10 +181,10 @@ typedef enum _NDIS_802_11_NETWORK_TYPE | |||
169 | Ndis802_11FH, | 181 | Ndis802_11FH, |
170 | Ndis802_11DS, | 182 | Ndis802_11DS, |
171 | Ndis802_11OFDM5, | 183 | Ndis802_11OFDM5, |
172 | Ndis802_11OFDM5_N, | ||
173 | Ndis802_11OFDM24, | 184 | Ndis802_11OFDM24, |
174 | Ndis802_11OFDM24_N, | ||
175 | Ndis802_11Automode, | 185 | Ndis802_11Automode, |
186 | Ndis802_11OFDM5_N, | ||
187 | Ndis802_11OFDM24_N, | ||
176 | Ndis802_11NetworkTypeMax // not a real type, defined as an upper bound | 188 | Ndis802_11NetworkTypeMax // not a real type, defined as an upper bound |
177 | } NDIS_802_11_NETWORK_TYPE, *PNDIS_802_11_NETWORK_TYPE; | 189 | } NDIS_802_11_NETWORK_TYPE, *PNDIS_802_11_NETWORK_TYPE; |
178 | 190 | ||
@@ -271,13 +283,15 @@ typedef struct PACKED _RADIUS_CONF | |||
271 | UINT32 own_ip_addr; | 283 | UINT32 own_ip_addr; |
272 | UINT32 retry_interval; | 284 | UINT32 retry_interval; |
273 | UINT32 session_timeout_interval; | 285 | UINT32 session_timeout_interval; |
274 | UCHAR EAPifname[IFNAMSIZ]; | 286 | UCHAR EAPifname[8][IFNAMSIZ]; |
275 | UCHAR EAPifname_len; | 287 | UCHAR EAPifname_len[8]; |
276 | UCHAR PreAuthifname[IFNAMSIZ]; | 288 | UCHAR PreAuthifname[8][IFNAMSIZ]; |
277 | UCHAR PreAuthifname_len; | 289 | UCHAR PreAuthifname_len[8]; |
278 | RADIUS_KEY_INFO RadiusInfo[8/*MAX_MBSSID_NUM*/]; | 290 | RADIUS_KEY_INFO RadiusInfo[8]; |
279 | } RADIUS_CONF, *PRADIUS_CONF; | 291 | } RADIUS_CONF, *PRADIUS_CONF; |
280 | 292 | ||
293 | |||
294 | |||
281 | // Key mapping keys require a BSSID | 295 | // Key mapping keys require a BSSID |
282 | typedef struct _NDIS_802_11_KEY | 296 | typedef struct _NDIS_802_11_KEY |
283 | { | 297 | { |
@@ -289,6 +303,13 @@ typedef struct _NDIS_802_11_KEY | |||
289 | UCHAR KeyMaterial[1]; // variable length depending on above field | 303 | UCHAR KeyMaterial[1]; // variable length depending on above field |
290 | } NDIS_802_11_KEY, *PNDIS_802_11_KEY; | 304 | } NDIS_802_11_KEY, *PNDIS_802_11_KEY; |
291 | 305 | ||
306 | typedef struct _NDIS_802_11_PASSPHRASE | ||
307 | { | ||
308 | UINT KeyLength; // length of key in bytes | ||
309 | NDIS_802_11_MAC_ADDRESS BSSID; | ||
310 | UCHAR KeyMaterial[1]; // variable length depending on above field | ||
311 | } NDIS_802_11_PASSPHRASE, *PNDIS_802_11_PASSPHRASE; | ||
312 | |||
292 | typedef struct _NDIS_802_11_REMOVE_KEY | 313 | typedef struct _NDIS_802_11_REMOVE_KEY |
293 | { | 314 | { |
294 | UINT Length; // Length of this structure | 315 | UINT Length; // Length of this structure |
@@ -481,6 +502,19 @@ typedef struct _NDIS_802_11_AUTHENTICATION_EVENT | |||
481 | NDIS_802_11_AUTHENTICATION_REQUEST Request[1]; | 502 | NDIS_802_11_AUTHENTICATION_REQUEST Request[1]; |
482 | } NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT; | 503 | } NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT; |
483 | 504 | ||
505 | /* | ||
506 | typedef struct _NDIS_802_11_TEST | ||
507 | { | ||
508 | ULONG Length; | ||
509 | ULONG Type; | ||
510 | union | ||
511 | { | ||
512 | NDIS_802_11_AUTHENTICATION_EVENT AuthenticationEvent; | ||
513 | NDIS_802_11_RSSI RssiTrigger; | ||
514 | }; | ||
515 | } NDIS_802_11_TEST, *PNDIS_802_11_TEST; | ||
516 | */ | ||
517 | |||
484 | // 802.11 Media stream constraints, associated with OID_802_11_MEDIA_STREAM_MODE | 518 | // 802.11 Media stream constraints, associated with OID_802_11_MEDIA_STREAM_MODE |
485 | typedef enum _NDIS_802_11_MEDIA_STREAM_MODE | 519 | typedef enum _NDIS_802_11_MEDIA_STREAM_MODE |
486 | { | 520 | { |
@@ -519,14 +553,18 @@ typedef struct _NDIS_802_11_CAPABILITY | |||
519 | NDIS_802_11_AUTHENTICATION_ENCRYPTION AuthenticationEncryptionSupported[1]; | 553 | NDIS_802_11_AUTHENTICATION_ENCRYPTION AuthenticationEncryptionSupported[1]; |
520 | } NDIS_802_11_CAPABILITY, *PNDIS_802_11_CAPABILITY; | 554 | } NDIS_802_11_CAPABILITY, *PNDIS_802_11_CAPABILITY; |
521 | 555 | ||
522 | #define RT_PRIV_IOCTL_EXT (SIOCIWFIRSTPRIV + 0x01) // Sync. with AP for wsc upnp daemon | 556 | #ifdef LINUX |
557 | #endif // LINUX // | ||
558 | |||
559 | |||
560 | #define RT_PRIV_IOCTL (SIOCIWFIRSTPRIV + 0x01) // Sync. with AP for wsc upnp daemon | ||
523 | #define RTPRIV_IOCTL_SET (SIOCIWFIRSTPRIV + 0x02) | 561 | #define RTPRIV_IOCTL_SET (SIOCIWFIRSTPRIV + 0x02) |
524 | 562 | ||
525 | #define RTPRIV_IOCTL_STATISTICS (SIOCIWFIRSTPRIV + 0x09) | 563 | #define RTPRIV_IOCTL_STATISTICS (SIOCIWFIRSTPRIV + 0x09) |
526 | #define RTPRIV_IOCTL_ADD_PMKID_CACHE (SIOCIWFIRSTPRIV + 0x0A) | 564 | #define RTPRIV_IOCTL_ADD_PMKID_CACHE (SIOCIWFIRSTPRIV + 0x0A) |
527 | #define RTPRIV_IOCTL_RADIUS_DATA (SIOCIWFIRSTPRIV + 0x0C) | 565 | #define RTPRIV_IOCTL_RADIUS_DATA (SIOCIWFIRSTPRIV + 0x0C) |
528 | #define RTPRIV_IOCTL_GSITESURVEY (SIOCIWFIRSTPRIV + 0x0D) | 566 | #define RTPRIV_IOCTL_GSITESURVEY (SIOCIWFIRSTPRIV + 0x0D) |
529 | #define RT_PRIV_IOCTL (SIOCIWFIRSTPRIV + 0x0E) // Sync. with RT61 (for wpa_supplicant) | 567 | #define RT_PRIV_IOCTL_EXT (SIOCIWFIRSTPRIV + 0x0E) // Sync. with RT61 (for wpa_supplicant) |
530 | #define RTPRIV_IOCTL_GET_MAC_TABLE (SIOCIWFIRSTPRIV + 0x0F) | 568 | #define RTPRIV_IOCTL_GET_MAC_TABLE (SIOCIWFIRSTPRIV + 0x0F) |
531 | 569 | ||
532 | #define RTPRIV_IOCTL_SHOW (SIOCIWFIRSTPRIV + 0x11) | 570 | #define RTPRIV_IOCTL_SHOW (SIOCIWFIRSTPRIV + 0x11) |
@@ -535,27 +573,54 @@ enum { | |||
535 | SHOW_DRVIER_VERION = 5, | 573 | SHOW_DRVIER_VERION = 5, |
536 | SHOW_BA_INFO = 6, | 574 | SHOW_BA_INFO = 6, |
537 | SHOW_DESC_INFO = 7, | 575 | SHOW_DESC_INFO = 7, |
538 | #ifdef RT2870 | 576 | #ifdef RTMP_MAC_USB |
539 | SHOW_RXBULK_INFO = 8, | 577 | SHOW_RXBULK_INFO = 8, |
540 | SHOW_TXBULK_INFO = 9, | 578 | SHOW_TXBULK_INFO = 9, |
541 | #endif // RT2870 // | 579 | #endif // RTMP_MAC_USB // |
542 | RAIO_OFF = 10, | 580 | RAIO_OFF = 10, |
543 | RAIO_ON = 11, | 581 | RAIO_ON = 11, |
544 | SHOW_CFG_VALUE = 20, | 582 | SHOW_CFG_VALUE = 20, |
545 | #if !defined(RT2860) | ||
546 | SHOW_ADHOC_ENTRY_INFO = 21, | 583 | SHOW_ADHOC_ENTRY_INFO = 21, |
547 | #endif | ||
548 | }; | 584 | }; |
549 | 585 | ||
550 | #ifdef LLTD_SUPPORT | 586 | |
587 | |||
588 | |||
589 | |||
590 | |||
591 | #define OID_802_11_BUILD_CHANNEL_EX 0x0714 | ||
592 | #define OID_802_11_GET_CH_LIST 0x0715 | ||
593 | #define OID_802_11_GET_COUNTRY_CODE 0x0716 | ||
594 | #define OID_802_11_GET_CHANNEL_GEOGRAPHY 0x0717 | ||
595 | |||
596 | //#define RT_OID_802_11_STATISTICS (OID_GET_SET_TOGGLE | OID_802_11_STATISTICS) | ||
597 | |||
598 | #define RT_OID_WSC_SET_PASSPHRASE 0x0740 // passphrase for wpa(2)-psk | ||
599 | #define RT_OID_WSC_DRIVER_AUTO_CONNECT 0x0741 | ||
600 | #define RT_OID_WSC_QUERY_DEFAULT_PROFILE 0x0742 | ||
601 | #define RT_OID_WSC_SET_CONN_BY_PROFILE_INDEX 0x0743 | ||
602 | #define RT_OID_WSC_SET_ACTION 0x0744 | ||
603 | #define RT_OID_WSC_SET_SSID 0x0745 | ||
604 | #define RT_OID_WSC_SET_PIN_CODE 0x0746 | ||
605 | #define RT_OID_WSC_SET_MODE 0x0747 // PIN or PBC | ||
606 | #define RT_OID_WSC_SET_CONF_MODE 0x0748 // Enrollee or Registrar | ||
607 | #define RT_OID_WSC_SET_PROFILE 0x0749 | ||
608 | #define RT_OID_WSC_CONFIG_STATUS 0x074F | ||
609 | #define RT_OID_802_11_WSC_QUERY_PROFILE 0x0750 | ||
551 | // for consistency with RT61 | 610 | // for consistency with RT61 |
552 | #define RT_OID_GET_PHY_MODE 0x761 | 611 | #define RT_OID_WSC_QUERY_STATUS 0x0751 |
553 | #endif // LLTD_SUPPORT // | 612 | #define RT_OID_WSC_PIN_CODE 0x0752 |
613 | #define RT_OID_WSC_UUID 0x0753 | ||
614 | #define RT_OID_WSC_SET_SELECTED_REGISTRAR 0x0754 | ||
615 | #define RT_OID_WSC_EAPMSG 0x0755 | ||
616 | #define RT_OID_WSC_MANUFACTURER 0x0756 | ||
617 | #define RT_OID_WSC_MODEL_NAME 0x0757 | ||
618 | #define RT_OID_WSC_MODEL_NO 0x0758 | ||
619 | #define RT_OID_WSC_SERIAL_NO 0x0759 | ||
620 | #define RT_OID_WSC_MAC_ADDRESS 0x0760 | ||
554 | 621 | ||
555 | #if defined(RT2860) || defined(RT30xx) | ||
556 | // New for MeetingHouse Api support | 622 | // New for MeetingHouse Api support |
557 | #define OID_MH_802_1X_SUPPORTED 0xFFEDC100 | 623 | #define OID_MH_802_1X_SUPPORTED 0xFFEDC100 |
558 | #endif | ||
559 | 624 | ||
560 | // MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition!!! | 625 | // MIMO Tx parameter, ShortGI, MCS, STBC, etc. these are fields in TXWI. Don't change this definition!!! |
561 | typedef union _HTTRANSMIT_SETTING { | 626 | typedef union _HTTRANSMIT_SETTING { |
@@ -564,6 +629,7 @@ typedef union _HTTRANSMIT_SETTING { | |||
564 | USHORT BW:1; //channel bandwidth 20MHz or 40 MHz | 629 | USHORT BW:1; //channel bandwidth 20MHz or 40 MHz |
565 | USHORT ShortGI:1; | 630 | USHORT ShortGI:1; |
566 | USHORT STBC:2; //SPACE | 631 | USHORT STBC:2; //SPACE |
632 | // USHORT rsv:3; | ||
567 | USHORT rsv:2; | 633 | USHORT rsv:2; |
568 | USHORT TxBF:1; | 634 | USHORT TxBF:1; |
569 | USHORT MODE:2; // Use definition MODE_xxx. | 635 | USHORT MODE:2; // Use definition MODE_xxx. |
@@ -577,7 +643,6 @@ typedef enum _RT_802_11_PREAMBLE { | |||
577 | Rt802_11PreambleAuto | 643 | Rt802_11PreambleAuto |
578 | } RT_802_11_PREAMBLE, *PRT_802_11_PREAMBLE; | 644 | } RT_802_11_PREAMBLE, *PRT_802_11_PREAMBLE; |
579 | 645 | ||
580 | // Only for STA, need to sync with AP | ||
581 | typedef enum _RT_802_11_PHY_MODE { | 646 | typedef enum _RT_802_11_PHY_MODE { |
582 | PHY_11BG_MIXED = 0, | 647 | PHY_11BG_MIXED = 0, |
583 | PHY_11B, | 648 | PHY_11B, |
@@ -744,19 +809,6 @@ typedef struct { | |||
744 | UCHAR rsv; | 809 | UCHAR rsv; |
745 | } OID_SET_HT_PHYMODE, *POID_SET_HT_PHYMODE; | 810 | } OID_SET_HT_PHYMODE, *POID_SET_HT_PHYMODE; |
746 | 811 | ||
747 | #ifdef LLTD_SUPPORT | ||
748 | typedef struct _RT_LLTD_ASSOICATION_ENTRY { | ||
749 | UCHAR Addr[ETH_LENGTH_OF_ADDRESS]; | ||
750 | unsigned short MOR; // maximum operational rate | ||
751 | UCHAR phyMode; | ||
752 | } RT_LLTD_ASSOICATION_ENTRY, *PRT_LLTD_ASSOICATION_ENTRY; | ||
753 | |||
754 | typedef struct _RT_LLTD_ASSOICATION_TABLE { | ||
755 | unsigned int Num; | ||
756 | RT_LLTD_ASSOICATION_ENTRY Entry[MAX_NUMBER_OF_MAC]; | ||
757 | } RT_LLTD_ASSOICATION_TABLE, *PRT_LLTD_ASSOICATION_TABLE; | ||
758 | #endif // LLTD_SUPPORT // | ||
759 | |||
760 | #define MAX_CUSTOM_LEN 128 | 812 | #define MAX_CUSTOM_LEN 128 |
761 | 813 | ||
762 | typedef enum _RT_802_11_D_CLIENT_MODE | 814 | typedef enum _RT_802_11_D_CLIENT_MODE |
@@ -772,7 +824,6 @@ typedef struct _RT_CHANNEL_LIST_INFO | |||
772 | UCHAR ChannelListNum; // number of channel in ChannelList[] | 824 | UCHAR ChannelListNum; // number of channel in ChannelList[] |
773 | } RT_CHANNEL_LIST_INFO, *PRT_CHANNEL_LIST_INFO; | 825 | } RT_CHANNEL_LIST_INFO, *PRT_CHANNEL_LIST_INFO; |
774 | 826 | ||
775 | #ifdef RT2870 | ||
776 | // WSC configured credential | 827 | // WSC configured credential |
777 | typedef struct _WSC_CREDENTIAL | 828 | typedef struct _WSC_CREDENTIAL |
778 | { | 829 | { |
@@ -790,9 +841,9 @@ typedef struct _WSC_CREDENTIAL | |||
790 | typedef struct _WSC_PROFILE | 841 | typedef struct _WSC_PROFILE |
791 | { | 842 | { |
792 | UINT ProfileCnt; | 843 | UINT ProfileCnt; |
844 | UINT ApplyProfileIdx; // add by johnli, fix WPS test plan 5.1.1 | ||
793 | WSC_CREDENTIAL Profile[8]; // Support up to 8 profiles | 845 | WSC_CREDENTIAL Profile[8]; // Support up to 8 profiles |
794 | } WSC_PROFILE, *PWSC_PROFILE; | 846 | } WSC_PROFILE, *PWSC_PROFILE; |
795 | #endif | ||
796 | 847 | ||
797 | #endif // _OID_H_ | 848 | #endif // _OID_H_ |
798 | 849 | ||