More actions
FossilOrigin-Name: deaf6a36a8c96a51334dc48fd11342be80831d9033af59be50a00246478387fd
This commit is contained in:
parent
062db3c567
commit
d5add1d384
@ -272,6 +272,20 @@ static cw_action_out_t actions_out[]={
|
|||||||
}
|
}
|
||||||
,
|
,
|
||||||
|
|
||||||
|
{
|
||||||
|
/* Cisco's APs complain about msg elements of type
|
||||||
|
45 (WTP Name). So it ist silenced here.
|
||||||
|
But the method her used to licence the element
|
||||||
|
isn't effective. TODO: There shuld be a way to remove
|
||||||
|
or replace such elemenns */
|
||||||
|
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
|
||||||
|
.item_id = CW_ITEM_WTP_NAME,
|
||||||
|
.elem_id = CW_ELEM_WTP_NAME,
|
||||||
|
}
|
||||||
|
,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
|
.msg_id = CW_MSG_CONFIGURATION_UPDATE_REQUEST,
|
||||||
.item_id = CW_ITEM_WTP_NAME,
|
.item_id = CW_ITEM_WTP_NAME,
|
||||||
|
@ -244,11 +244,6 @@ static cw_action_out_t actions_out[]={
|
|||||||
}
|
}
|
||||||
,
|
,
|
||||||
|
|
||||||
// {CW_MSG_CONFIGURATION_STATUS_REQUEST, CW_ITEM_RADIO_CFG, CW_VENDOR_ID_CISCO,
|
|
||||||
// CW_CISCO_AP_GROUP_NAME, NULL,cw_out_cisco_wtp_radio_cfg, cw_out_get_config, 1}
|
|
||||||
// ,
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{0,0}
|
{0,0}
|
||||||
@ -256,6 +251,25 @@ static cw_action_out_t actions_out[]={
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
static cw_action_out_t actions80211_out[]={
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------
|
||||||
|
* Configuration Status Request
|
||||||
|
*/
|
||||||
|
{
|
||||||
|
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
|
||||||
|
.item_id = CW_RADIO_SUPPORTED_RATES ,
|
||||||
|
.elem_id = CW_ELEM80211_SUPPORTED_RATES,
|
||||||
|
.mand = 0,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "cw/item.h"
|
#include "cw/item.h"
|
||||||
|
|
||||||
static struct cw_itemdef _capwap_itemdefs[] = {
|
static struct cw_itemdef _capwap_itemdefs[] = {
|
||||||
@ -300,9 +314,9 @@ int cisco_register_actions80211_wtp(struct cw_actiondef *def)
|
|||||||
int rc;
|
int rc;
|
||||||
rc=0;
|
rc=0;
|
||||||
// rc = cw_actionlist_in_register_actions(def->in, actions80211_in);
|
// rc = cw_actionlist_in_register_actions(def->in, actions80211_in);
|
||||||
/* rc += cw_actionlist_out_register_actions(def->out, actions_out);
|
rc += cw_actionlist_out_register_actions(def->out, actions80211_out);
|
||||||
|
|
||||||
rc += cw_strheap_register_strings(def->strmsg, capwap_strings_msg);
|
/* rc += cw_strheap_register_strings(def->strmsg, capwap_strings_msg);
|
||||||
rc += cw_strheap_register_strings(def->strelem, cipwap_strings_elem);
|
rc += cw_strheap_register_strings(def->strelem, cipwap_strings_elem);
|
||||||
|
|
||||||
rc += cw_itemdefheap_register(def->items, _capwap_itemdefs);
|
rc += cw_itemdefheap_register(def->items, _capwap_itemdefs);
|
||||||
|
Loading…
Reference in New Issue
Block a user