diff --git a/src/mod/cisco/cisco_actions_ac.c b/src/mod/cisco/cisco_actions_ac.c index a446bd8e..da7151da 100644 --- a/src/mod/cisco/cisco_actions_ac.c +++ b/src/mod/cisco/cisco_actions_ac.c @@ -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, diff --git a/src/mod/cisco/cisco_actions_wtp.c b/src/mod/cisco/cisco_actions_wtp.c index 168f19bd..b5867dbc 100644 --- a/src/mod/cisco/cisco_actions_wtp.c +++ b/src/mod/cisco/cisco_actions_wtp.c @@ -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);