p80211metamsg.c

来自「Linux的无线局域网方案是一个Linux设备驱动程序和子系统 一揽子方案的用」· C语言 代码 · 共 2,183 行 · 第 1/5 页

C
2,183
字号
{	/* name        */ MKITEMNAME("beaconperiod"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 1,	/* max         */ 65535,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("dtimperiod"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 1,	/* max         */ 255,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("cfpperiod"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 255,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("cfpmaxduration"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 65535,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("fhdwelltime"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 1,	/* max         */ 65535,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("fhhopset"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 1,	/* max         */ 255,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("fhhoppattern"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 255,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("dschannel"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 1,	/* max         */ 14,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("ibssatimwindow"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 0,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_int,	/* fromtextptr */ p80211_fromtext_int,	/* validfunptr */ p80211_isvalid_int},{	/* name        */ MKITEMNAME("probedelay"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 0,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_int,	/* fromtextptr */ p80211_fromtext_int,	/* validfunptr */ p80211_isvalid_int},{	/* name        */ MKITEMNAME("cfpollable"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 0,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ &MKENUMNAME(truth),	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_enumint,	/* fromtextptr */ p80211_fromtext_enumint,	/* validfunptr */ p80211_isvalid_enumint},{	/* name        */ MKITEMNAME("cfpollreq"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 0,	/* max         */ 0,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ &MKENUMNAME(truth),	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_enumint,	/* fromtextptr */ p80211_fromtext_enumint,	/* validfunptr */ p80211_isvalid_enumint},{	/* name        */ MKITEMNAME("basicrate1"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate2"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate3"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate4"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate5"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate6"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate7"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("basicrate8"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate1"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate2"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate3"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate4"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate5"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate6"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate7"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("operationalrate8"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(0UL, ISREQUEST, 0UL),	/* min         */ 2,	/* max         */ 127,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_boundedint,	/* fromtextptr */ p80211_fromtext_boundedint,	/* validfunptr */ p80211_isvalid_boundedint},{	/* name        */ MKITEMNAME("resultcode"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, 0UL, ISCONFIRM),	/* min         */ 0,	/* max         */ 0,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ &MKENUMNAME(resultcode),	/* collptr     */ NULL,	/* totextptr   */ p80211_totext_enumint,	/* fromtextptr */ p80211_fromtext_enumint,	/* validfunptr */ p80211_isvalid_enumint}};  /* end of dot11req_start request message metadata list */UINT32	MKREQMETASIZE(dot11req_start) = 		sizeof(MKREQMETANAME(dot11req_start))/sizeof(p80211meta_t);/*--------------------------------------------------------------------*//* metadata for the dot11ind_authenticate indication message arguments */extern	UINT32	MKINDMETASIZE(dot11ind_authenticate);p80211meta_t MKINDMETANAME(dot11ind_authenticate)[] = {{	/* name        */ (char *)&(MKINDMETASIZE(dot11ind_authenticate)),	/* did         */ 0,	/* flags       */ 0,	/* min         */ 0,	/* max         */ 0,	/* maxlen      */ 0,	/* minlen      */ 0,	/* enumptr     */ NULL,	/* collptr     */ NULL,	/* totextptr   */ NULL,	/* fromtextptr */ NULL,	/* validfunptr */ NULL},{	/* name        */ MKITEMNAME("peerstaaddress"),	/* did         */ 0,	/* flags       */ P80211ITEM_SETFLAGS(ISREQUIRED, ISRE

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?