More actions

FossilOrigin-Name: deaf6a36a8c96a51334dc48fd11342be80831d9033af59be50a00246478387fd
This commit is contained in:
7u83@mail.ru 2016-03-28 08:50:23 +00:00
parent 062db3c567
commit d5add1d384
2 changed files with 35 additions and 7 deletions

View File

@ -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,
.item_id = CW_ITEM_WTP_NAME,

View File

@ -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}
@ -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"
static struct cw_itemdef _capwap_itemdefs[] = {
@ -300,9 +314,9 @@ int cisco_register_actions80211_wtp(struct cw_actiondef *def)
int rc;
rc=0;
// 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_itemdefheap_register(def->items, _capwap_itemdefs);