Capwpa 802.11 radio infos send and accept...

FossilOrigin-Name: 67290a384fba6794570a7f578dcef211456831d1e5255ea959ca57336a7b0129
This commit is contained in:
7u83@mail.ru
2016-03-09 08:09:28 +00:00
parent 51ea7bc45e
commit e5203b81a2
12 changed files with 71 additions and 15 deletions

View File

@ -1,7 +1,9 @@
OBJS=\
mod_capwap80211_ac.o \
capwap80211_actions_ac.o
mod_capwap80211_wtp.o \
capwap80211_actions_ac.o \
capwap80211_actions_wtp.o
NAME=libcapwap80211.a

View File

@ -20,7 +20,7 @@ static cw_action_in_t actions_ac_in[] = {
* Discovery Resquest
*/
/* Element Discovery Type */
/* 802.11 Radio Inmformation - Discovery Request */
{
.capwap_state = CW_STATE_DISCOVERY,
.msg_id = CW_MSG_DISCOVERY_REQUEST,
@ -34,6 +34,24 @@ static cw_action_in_t actions_ac_in[] = {
,
/* --------------------------------------------------------
* Join Resquest
*/
/* 802.11 Radio Inmformation - Join Request */
{
.capwap_state = CW_STATE_JOIN,
.msg_id = CW_MSG_JOIN_REQUEST,
.elem_id = CW_ELEM80211_WTP_RADIO_INFORMATION,
.item_id = "radio_information",
.start = cw_in_radio_generic,
.mand = 1,
.min_len = 5,
.max_len = 5
}
,
// {0, 0, CW_STATE_DISCOVERY, CW_MSG_DISCOVERY_REQUEST,
// CW_ACTION_IN_80211_WTP_RADIO_INFORMATION, 1}

View File

@ -2,9 +2,10 @@
#define __MOD_CAPWAP80211_H
struct mod_ac *mod_capwap80211_ac();
struct mod_wtp *mod_capwap2011_wtp();
struct mod_wtp *mod_capwap80211_wtp();
extern int capwap80211_register_actions_ac(struct cw_actiondef *def);
extern int capwap80211_register_actions_wtp(struct cw_actiondef *def);
#endif