2015-04-19 16:48:43 +02:00
|
|
|
#ifndef __CW_RADIO_H
|
|
|
|
#define __CW_RADIO_H
|
|
|
|
|
|
|
|
#include "mbag.h"
|
2015-05-04 07:42:09 +02:00
|
|
|
#include "item.h"
|
2016-03-28 10:46:24 +02:00
|
|
|
#include "conn.h"
|
2015-04-19 16:48:43 +02:00
|
|
|
|
2015-05-01 00:16:54 +02:00
|
|
|
|
|
|
|
|
2018-03-06 18:28:31 +01:00
|
|
|
/*
|
2016-04-02 09:05:07 +02:00
|
|
|
//extern const char CW_RADIO_ADMIN_STATE[];
|
|
|
|
//extern const char CW_RADIO_OPER_STATE[];
|
2018-03-06 18:28:31 +01:00
|
|
|
*/
|
2016-03-28 10:46:24 +02:00
|
|
|
|
|
|
|
extern const char CW_RADIO_SUPPORTED_RATES[];
|
|
|
|
|
|
|
|
|
2015-05-01 00:16:54 +02:00
|
|
|
extern const char CW_RADIO_TYPE[];
|
|
|
|
extern const char CW_RADIO_REG_DOMAIN[];
|
|
|
|
extern const char CW_RADIO_BSSID[];
|
|
|
|
extern const char CW_RADIO_SHORT_PREAMBLE[];
|
|
|
|
extern const char CW_RADIO_COUNTRY_STRING[];
|
2015-05-08 06:43:42 +02:00
|
|
|
extern const char CW_RADIO_DECRYPTION_ERROR_REPORT_PERIOD[];
|
2015-05-01 00:16:54 +02:00
|
|
|
|
|
|
|
/* Cisco */
|
|
|
|
|
|
|
|
extern const char CW_RADIO_OCCUPANCY_LIMIT[];
|
|
|
|
extern const char CW_RADIO_CFP_PERIOD[];
|
|
|
|
extern const char CW_RADIO_CFP_MAX_DURATION[];
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
2015-04-19 16:48:43 +02:00
|
|
|
enum radiodata{
|
|
|
|
CW_RADIO_ADMIN_STATE=10000,
|
2015-04-28 10:23:03 +02:00
|
|
|
CW_RADIO_OPER_STATE,
|
2015-04-19 16:48:43 +02:00
|
|
|
CW_RADIO_TYPE,
|
|
|
|
CW_RADIO_REG_DOMAIN,
|
|
|
|
CW_RADIO_BSSID,
|
|
|
|
CW_RADIO_SHORT_PREAMBLE,
|
|
|
|
CW_RADIO_COUNTRY_STRING,
|
|
|
|
|
|
|
|
|
|
|
|
CW_RADIO_OCCUPANCY_LIMIT,
|
|
|
|
CW_RADIO_CFP_PERIOD,
|
|
|
|
CW_RADIO_CFP_MAX_DURATION
|
2015-04-26 08:41:12 +02:00
|
|
|
|
2015-04-19 16:48:43 +02:00
|
|
|
|
|
|
|
|
2015-05-01 00:16:54 +02:00
|
|
|
}[];
|
|
|
|
*/
|
|
|
|
|
2015-04-19 16:48:43 +02:00
|
|
|
|
|
|
|
|
2015-04-28 14:27:53 +02:00
|
|
|
int cw_radio_update_oper_states(mbag_t radios,int cause);
|
2015-05-04 07:42:09 +02:00
|
|
|
extern struct cw_itemdef capwap_radioitemdefs[];
|
2016-03-19 12:52:18 +01:00
|
|
|
extern int cw_radio_set_all_admin_states(mbag_t radios,int state, int cause);
|
2015-05-04 07:42:09 +02:00
|
|
|
|
2016-03-28 10:46:24 +02:00
|
|
|
int cw_out_80211_supported_rates(struct conn *conn, struct cw_action_out *a, uint8_t * dst);
|
|
|
|
|
2015-04-28 14:27:53 +02:00
|
|
|
|
|
|
|
|
2015-04-19 16:48:43 +02:00
|
|
|
#endif
|