More actions added

FossilOrigin-Name: 2d2ed1cdfa081ce04ee52f491d8429dd7f07334624e67f8613d25a41d0aecd16
This commit is contained in:
7u83@mail.ru 2016-03-28 08:49:19 +00:00
parent 9479795a7b
commit 537cdac0a5
2 changed files with 33 additions and 14 deletions

View File

@ -21,7 +21,7 @@ static cw_action_in_t actions_ac_in[] = {
* Discovery Resquest
*/
/* 802.11 Radio Inmformation - Discovery Request */
/* 802.11 Radio Information - Discovery Request */
{
.capwap_state = CW_STATE_DISCOVERY,
.msg_id = CW_MSG_DISCOVERY_REQUEST,
@ -39,7 +39,7 @@ static cw_action_in_t actions_ac_in[] = {
* Join Resquest
*/
/* 802.11 Radio Inmformation - Join Request */
/* 802.11 Radio Information - Join Request */
{
.capwap_state = CW_STATE_JOIN,
.msg_id = CW_MSG_JOIN_REQUEST,
@ -52,16 +52,24 @@ static cw_action_in_t actions_ac_in[] = {
}
,
// {0, 0, CW_STATE_DISCOVERY, CW_MSG_DISCOVERY_REQUEST,
// CW_ACTION_IN_80211_WTP_RADIO_INFORMATION, 1}
/* --------------------------------------------------------
* Discovery Resquest
* Configuration Satus Request
*/
// {0, 0, CW_STATE_JOIN, CW_MSG_JOIN_REQUEST,
// CW_ACTION_IN_80211_WTP_RADIO_INFORMATION, 1}
/* 802.11 Supported Rates - Config Status Request */
{
.capwap_state = CW_STATE_CONFIGURE,
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
.elem_id = CW_ELEM80211_SUPPORTED_RATES,
.item_id = "supported_rates",
.start = cw_in_radio_generic,
.mand = 1,
.min_len = 3,
.max_len = 9
}
,

View File

@ -5,6 +5,7 @@
#include "cw/capwap.h"
#include "cw/capwap80211.h"
#include "cw/capwap_items.h"
#include "cw/radio.h"
//#include "capwap_80211_actions.h"
//#include "capwap_80211.h"
@ -93,15 +94,25 @@ cw_action_out_t actions_out[]={
}
,
/* --------------------------------------------------------
* Config Status Request
*/
/* 802.11 Radio Information */
{
.msg_id = CW_MSG_CONFIGURATION_STATUS_REQUEST,
.item_id = CW_RADIO_SUPPORTED_RATES ,
.elem_id = CW_ELEM80211_SUPPORTED_RATES,
.out = cw_out_80211_supported_rates,
.mand = 1
}
,
/* --------------------------------------------------------
* Config Status Update Request
*/
// {CW_MSG_DISCOVERY_RESPONSE, NULL /*CW_ELEM80211_WTP_RADIO_INFORMATION*/, 0,
// CW_ELEM80211_WTP_RADIO_INFORMATION, NULL,cw_out_radio_infos, NULL,1}
/* Radio Infos */
// {CW_MSG_JOIN_RESPONSE, NULL /*CW_ELEM80211_WTP_RADIO_INFORMATION*/, 0,
// CW_ELEM80211_WTP_RADIO_INFORMATION, NULL,cw_out_radio_infos, NULL,1}
{0,0,0}
};