Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228228
b: refs/heads/master
c: c84fa49
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Dec 1, 2010
1 parent 752bdc8 commit 9205259
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 49 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1140bd9f30f4d6dac6b53365a70819ecd4cc8c54
refs/heads/master: c84fa49f61798b6248cef56876f1643db3b7b2f3
46 changes: 0 additions & 46 deletions trunk/drivers/staging/winbond/mac_structures.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@
/* -- WPA -- */

#define ELEMENT_ID_RSN_WPA 221
#ifdef _WPA2_
#define ELEMENT_ID_RSN_WPA2 48
#endif /* endif WPA2 */

#define WLAN_MAX_PAIRWISE_CIPHER_SUITE_COUNT ((u16) 6)
#define WLAN_MAX_AUTH_KEY_MGT_SUITE_LIST_COUNT ((u16) 2)
Expand Down Expand Up @@ -367,21 +364,11 @@ struct Extended_Supported_Rates_Element {

/* WPA(802.11i draft 3.0) */
#define VERSION_WPA 1
#ifdef _WPA2_
#define VERSION_WPA2 1
#endif /* end def _WPA2_ */
/* WPA2.0 OUI=00:50:F2, the MSB is reserved for suite type */
#define OUI_WPA 0x00F25000
#ifdef _WPA2_
/* for wpa2 change to 0x00ACOF04 by Ws 26/04/04 */
#define OUI_WPA2 0x00AC0F00
#endif /* end def _WPA2_ */

#define OUI_WPA_ADDITIONAL 0x01
#define WLAN_MIN_RSN_WPA_LENGTH 6 /* added by ws 09/10/04 */
#ifdef _WPA2_
#define WLAN_MIN_RSN_WPA2_LENGTH 2 /* Fix to 2 09/14/05 */
#endif /* end def _WPA2_ */

#define oui_wpa (u32)(OUI_WPA|OUI_WPA_ADDITIONAL)

Expand All @@ -390,12 +377,6 @@ struct Extended_Supported_Rates_Element {
/* 20061108 For WPS. It's little endian. Big endian is 0x0050F204 */
#define WPA_WPS_OUI cpu_to_le32(0x04F25000)

/* -----WPA2----- */
#ifdef _WPA2_
#define WPA2_OUI_BIG ((u32)0x01AC0F00)
#define WPA2_OUI_LITTLE ((u32)0x01AC0F01)
#endif /* end def _WPA2_ */

/* Authentication suite */
#define OUI_AUTH_WPA_NONE 0x00 /* for WPA_NONE */
#define OUI_AUTH_8021X 0x01
Expand Down Expand Up @@ -460,33 +441,6 @@ struct RSN_Capability_Element {
} __attribute__ ((packed)) ;
} __attribute__ ((packed)) ;

#ifdef _WPA2_
struct pmkid {
u8 pValue[16];
};

struct WPA2_RSN_Information_Element {
u8 Element_ID;
u8 Length;
u16 Version;
struct suite_selector GroupKeySuite;
u16 PairwiseKeySuiteCount;
struct suite_selector PairwiseKeySuite[1];

} __attribute__ ((packed));

struct WPA2_RSN_Auth_Sub_Information_Element {
u16 AuthKeyMngtSuiteCount;
struct suite_selector AuthKeyMngtSuite[1];
} __attribute__ ((packed));


struct PMKID_Information_Element {
u16 PMKID_Count;
struct pmkid pmkid[16];
} __attribute__ ((packed));

#endif /* enddef _WPA2_ */
/*============================================================
// MAC Frame structure (different type) and subfield structure
//============================================================*/
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/winbond/sysdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#ifndef SYS_DEF_H
#define SYS_DEF_H

#define _WPA2_

/* debug print options, mark what debug you don't need */

#ifdef FULL_DEBUG
Expand Down

0 comments on commit 9205259

Please sign in to comment.