Staging: winbond: Convert typedef struct _STRUCT_SELECTOR
This patch converts the declaration typedef struct _STRUCT_SELECTOR to struct struct_selector and also the places where it was used. Signed-off-by: Sankar P <sankar.curiosity@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ef1566e2bb
commit
2de975336f
@@ -436,7 +436,7 @@ struct Extended_Supported_Rates_Element
|
|||||||
#define OUI_CIPHER_CCMP 0x04
|
#define OUI_CIPHER_CCMP 0x04
|
||||||
#define OUI_CIPHER_WEP_104 0x05
|
#define OUI_CIPHER_WEP_104 0x05
|
||||||
|
|
||||||
typedef struct _SUITE_SELECTOR_
|
struct suite_selector
|
||||||
{
|
{
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
@@ -447,23 +447,23 @@ typedef struct _SUITE_SELECTOR_
|
|||||||
u8 Type;
|
u8 Type;
|
||||||
}SuitSelector;
|
}SuitSelector;
|
||||||
};
|
};
|
||||||
}SUITE_SELECTOR;
|
};
|
||||||
|
|
||||||
//-- WPA --
|
//-- WPA --
|
||||||
struct RSN_Information_Element
|
struct RSN_Information_Element
|
||||||
{
|
{
|
||||||
u8 Element_ID;
|
u8 Element_ID;
|
||||||
u8 Length;
|
u8 Length;
|
||||||
SUITE_SELECTOR OuiWPAAdditional;//WPA version 2.0 additional field, and should be 00:50:F2:01
|
struct suite_selector OuiWPAAdditional; /* WPA version 2.0 additional field, and should be 00:50:F2:01 */
|
||||||
u16 Version;
|
u16 Version;
|
||||||
SUITE_SELECTOR GroupKeySuite;
|
struct suite_selector GroupKeySuite;
|
||||||
u16 PairwiseKeySuiteCount;
|
u16 PairwiseKeySuiteCount;
|
||||||
SUITE_SELECTOR PairwiseKeySuite[1];
|
struct suite_selector PairwiseKeySuite[1];
|
||||||
}__attribute__ ((packed));
|
}__attribute__ ((packed));
|
||||||
struct RSN_Auth_Sub_Information_Element
|
struct RSN_Auth_Sub_Information_Element
|
||||||
{
|
{
|
||||||
u16 AuthKeyMngtSuiteCount;
|
u16 AuthKeyMngtSuiteCount;
|
||||||
SUITE_SELECTOR AuthKeyMngtSuite[1];
|
struct suite_selector AuthKeyMngtSuite[1];
|
||||||
}__attribute__ ((packed));
|
}__attribute__ ((packed));
|
||||||
|
|
||||||
//-- WPA2 --
|
//-- WPA2 --
|
||||||
@@ -508,16 +508,16 @@ struct WPA2_RSN_Information_Element
|
|||||||
u8 Element_ID;
|
u8 Element_ID;
|
||||||
u8 Length;
|
u8 Length;
|
||||||
u16 Version;
|
u16 Version;
|
||||||
SUITE_SELECTOR GroupKeySuite;
|
struct suite_selector GroupKeySuite;
|
||||||
u16 PairwiseKeySuiteCount;
|
u16 PairwiseKeySuiteCount;
|
||||||
SUITE_SELECTOR PairwiseKeySuite[1];
|
struct suite_selector PairwiseKeySuite[1];
|
||||||
|
|
||||||
}__attribute__ ((packed));
|
}__attribute__ ((packed));
|
||||||
|
|
||||||
struct WPA2_RSN_Auth_Sub_Information_Element
|
struct WPA2_RSN_Auth_Sub_Information_Element
|
||||||
{
|
{
|
||||||
u16 AuthKeyMngtSuiteCount;
|
u16 AuthKeyMngtSuiteCount;
|
||||||
SUITE_SELECTOR AuthKeyMngtSuite[1];
|
struct suite_selector AuthKeyMngtSuite[1];
|
||||||
}__attribute__ ((packed));
|
}__attribute__ ((packed));
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user