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

@ -298,6 +298,8 @@ cw_action_out_t *cw_actionlist_out_add(cw_actionlist_out_t t, struct cw_action_o
}
*/
//printf("Add %d %d\n",a->msg_id,a->elem_id);
struct outelem * o = cw_actionlist_out_get_outelem(t,a->msg_id);

View File

@ -1,12 +1,6 @@
#ifndef __CAPWAP80211_H
#define __CAPWAP80211_H
//#include "capwap.h"
//#include <stdint.h>
//#include "bstr.h"
//#include "action.h"
#include "strlist.h"
/**
@ -54,8 +48,12 @@ enum radioelems {
CW_ELEM80211_ODFM_CONTROL = 1033,
/** IEEE 802.11 Supported WLAN Rates */
CW_ELEM80211_RATE_SET = 1034,
/** IEEE 802.11 RSNA Error Report From Station */
CW_ELEM80211_RSNA_ERROR_REPORT_FROM_STATION=1035,
/** IEEE 802.11 Station */
CW_ELEM80211_STATION=1036,
/* IEEE 802.11 RSNA Error Report From Station 1035
/*
IEEE 802.11 Station 1036
IEEE 802.11 Station QoS Profile 1037
IEEE 802.11 Station Session Key 1038
@ -108,7 +106,9 @@ struct cw_wlan {
*/
//int cw_out_radio_infos(struct conn *conn, struct cw_action_out *a, uint8_t * dst);
#include "action.h"
int cw_out_radio_infos(struct conn *conn, struct cw_action_out *a, uint8_t * dst);
//extern int cw_register_actions_capwap_80211_wtp(struct cw_actiondef *def);

View File

@ -29,6 +29,7 @@ int cw_put_elem_radio_administrative_state(uint8_t *dst,int radio_id,mbag_t radi
int cw_out_radio_infos(struct conn *conn, struct cw_action_out *a, uint8_t * dst)
{
int l=0;
MAVLITER_DEFINE(it,conn->radios);
mavliter_foreach(&it){