Added nmissing stoppers
FossilOrigin-Name: 78b897b12ce0571ca669fb163e20518a34902eb1557b8a76b60cf6f11db58136
This commit is contained in:
parent
837bc95685
commit
3f06e4c0db
@ -13,51 +13,49 @@
|
|||||||
|
|
||||||
static struct cw_ElemHandler handlers[] = {
|
static struct cw_ElemHandler handlers[] = {
|
||||||
{
|
{
|
||||||
"80211 WTP Radio Information", /* name */
|
"80211 WTP Radio Information", /* name */
|
||||||
CAPWAP80211_ELEM_WTP_RADIO_INFORMATION, /* Element ID */
|
CAPWAP80211_ELEM_WTP_RADIO_INFORMATION, /* Element ID */
|
||||||
0,0, /* Vendor / Proto */
|
0, 0, /* Vendor / Proto */
|
||||||
0,0, /* min/max length */
|
0, 0, /* min/max length */
|
||||||
NULL, /* type */
|
NULL, /* type */
|
||||||
"key", /* Key */
|
"wtp-radio_information", /* Key */
|
||||||
NULL, /* get */
|
NULL, /* get */
|
||||||
NULL /* put */
|
NULL /* put */
|
||||||
}
|
},
|
||||||
|
{NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int discovery_request_states[] = {CAPWAP_STATE_DISCOVERY,0};
|
static int discovery_request_states[] = { CAPWAP_STATE_DISCOVERY, 0 };
|
||||||
static struct cw_ElemDef discovery_request_elements[] ={
|
|
||||||
{0,0,CAPWAP80211_ELEM_WTP_RADIO_INFORMATION, 1, 0},
|
static struct cw_ElemDef discovery_request_elements[] = {
|
||||||
{0,0,0,0,0}
|
{0, 0, CAPWAP80211_ELEM_WTP_RADIO_INFORMATION, 1, 0},
|
||||||
|
{0, 0, 0, 0, 0}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cw_MsgDef messages[] = {
|
static struct cw_MsgDef messages[] = {
|
||||||
{
|
{
|
||||||
"Discovery Request",
|
"Discovery Request",
|
||||||
CAPWAP_MSG_DISCOVERY_REQUEST,
|
CAPWAP_MSG_DISCOVERY_REQUEST,
|
||||||
CW_RECEIVER_AC,
|
CW_RECEIVER_AC,
|
||||||
discovery_request_states,
|
discovery_request_states,
|
||||||
discovery_request_elements
|
discovery_request_elements},
|
||||||
}
|
{0, 0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct cw_MsgSet *capwap80211_register_msgset(set, mode)
|
||||||
|
struct cw_MsgSet *set;
|
||||||
|
int mode;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
struct cw_MsgSet * capwap80211_register_msg_set(set, mode)
|
|
||||||
struct cw_MsgSet * set;
|
|
||||||
int mode;
|
|
||||||
{
|
{
|
||||||
if (mode != CW_MOD_MODE_BINDINGS)
|
if (mode != CW_MOD_MODE_BINDINGS)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
cw_dbg(DBG_INFO,"CAPWAP80211: Register messages");
|
cw_dbg(DBG_INFO, "CAPWAP80211: Register messages");
|
||||||
|
|
||||||
cw_msgset_add(set,messages, handlers);
|
cw_msgset_add(set, messages, handlers);
|
||||||
cw_dbg(DBG_INFO,"CAPWAP0211: Done register messages");
|
cw_dbg(DBG_INFO, "CAPWAP0211: Done register messages");
|
||||||
|
|
||||||
return set;
|
return set;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user