Missing 80211 actions for ac.
FossilOrigin-Name: e30be86029bd0023eef9a1674f01f5a985d75b78e4005e29abe4dd54195da755
This commit is contained in:
parent
e12d176dc9
commit
3f088ce9c5
52
src/capwap/capwap_80211_actions_ac.c
Normal file
52
src/capwap/capwap_80211_actions_ac.c
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
|
||||
#include "action.h"
|
||||
#include "capwap_80211_actions.h"
|
||||
#include "capwap_80211.h"
|
||||
#include "capwap.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cw_action_in_t capwap_80211_actions_ac_in[] = {
|
||||
|
||||
/* --------------------------------------------------------
|
||||
* Discovery Resquest
|
||||
*/
|
||||
|
||||
{0, 0, CW_STATE_DISCOVERY, CW_MSG_DISCOVERY_REQUEST,
|
||||
CW_ACTION_IN_80211_WTP_RADIO_INFORMATION, 1}
|
||||
,
|
||||
|
||||
|
||||
{0, 0, 0}
|
||||
};
|
||||
|
||||
|
||||
cw_action_out_t capwap_80211_actions_ac_out[]={
|
||||
/* Radio Infos */
|
||||
{CW_MSG_DISCOVERY_RESPONSE, CW_ELEM80211_WTP_RADIO_INFORMATION, 0,
|
||||
CW_ELEM80211_WTP_RADIO_INFORMATION, NULL,cw_out_radio_infos, NULL,1}
|
||||
,
|
||||
{0,0,0}
|
||||
};
|
||||
|
||||
|
||||
int cw_register_actions_capwap_80211_ac(struct cw_actiondef *def)
|
||||
{
|
||||
|
||||
cw_actionlist_in_register_actions(def->in, capwap_80211_actions_ac_in);
|
||||
cw_actionlist_out_register_actions(def->out, capwap_80211_actions_ac_out);
|
||||
|
||||
int rc;
|
||||
rc = cw_strheap_register_strings(def->strelem, capwap_strings_elem80211);
|
||||
printf("80211 Registerd %d\n",rc);
|
||||
/*rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem);
|
||||
*/
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user