提交 e1b19da1 编写于 作者: B Bartlomiej Zolnierkiewicz 提交者: Greg Kroah-Hartman

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

Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册