diff --git a/src/mod/capwap80211/capwap80211_actions_ac.c b/src/mod/capwap80211/capwap80211_actions_ac.c index 01782567..4e88eb2a 100644 --- a/src/mod/capwap80211/capwap80211_actions_ac.c +++ b/src/mod/capwap80211/capwap80211_actions_ac.c @@ -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 + } + , + + diff --git a/src/mod/capwap80211/capwap80211_actions_wtp.c b/src/mod/capwap80211/capwap80211_actions_wtp.c index 0920afd6..fb749d8e 100644 --- a/src/mod/capwap80211/capwap80211_actions_wtp.c +++ b/src/mod/capwap80211/capwap80211_actions_wtp.c @@ -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} };