Commit e1b19da1 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Greg Kroah-Hartman

Staging: rtl8187se/ieee80211: convert MMIE_TYPE_* defines to enums

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bea385ac
...@@ -457,19 +457,21 @@ Total: 28-2340 bytes ...@@ -457,19 +457,21 @@ Total: 28-2340 bytes
*/ */
/* Management Frame Information Element Types */ /* Management Frame Information Element Types */
#define MFIE_TYPE_SSID 0 enum {
#define MFIE_TYPE_RATES 1 MFIE_TYPE_SSID = 0,
#define MFIE_TYPE_FH_SET 2 MFIE_TYPE_RATES = 1,
#define MFIE_TYPE_DS_SET 3 MFIE_TYPE_FH_SET = 2,
#define MFIE_TYPE_CF_SET 4 MFIE_TYPE_DS_SET = 3,
#define MFIE_TYPE_TIM 5 MFIE_TYPE_CF_SET = 4,
#define MFIE_TYPE_IBSS_SET 6 MFIE_TYPE_TIM = 5,
#define MFIE_TYPE_COUNTRY 7 //+YJ,080625 MFIE_TYPE_IBSS_SET = 6,
#define MFIE_TYPE_CHALLENGE 16 MFIE_TYPE_COUNTRY = 7,
#define MFIE_TYPE_ERP 42 MFIE_TYPE_CHALLENGE = 16,
#define MFIE_TYPE_RSN 48 MFIE_TYPE_ERP = 42,
#define MFIE_TYPE_RATES_EX 50 MFIE_TYPE_RSN = 48,
#define MFIE_TYPE_GENERIC 221 MFIE_TYPE_RATES_EX = 50,
MFIE_TYPE_GENERIC = 221,
};
struct ieee80211_header_data { struct ieee80211_header_data {
u16 frame_ctl; u16 frame_ctl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment