2015-03-23 22:28:32 +01:00
|
|
|
/*
|
|
|
|
This file is part of libcapwap.
|
|
|
|
|
|
|
|
libcapwap is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
libcapwap is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LWAPP_CISCO_H
|
|
|
|
#define __LWAPP_CISCO_H
|
|
|
|
|
2015-03-24 20:12:33 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "lwapp.h"
|
2015-03-23 22:28:32 +01:00
|
|
|
|
|
|
|
#define LW_VENDOR_CISCO 4232704
|
|
|
|
|
|
|
|
|
|
|
|
/* Vendor specific message elements LWAPP Cisco */
|
|
|
|
|
2015-03-29 01:55:06 +01:00
|
|
|
|
2015-04-21 08:24:59 +02:00
|
|
|
enum lwap_cisco_elems {
|
2015-03-29 01:55:06 +01:00
|
|
|
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_AP_USERNAME_PASSWORD=18,
|
2015-04-28 15:29:27 +02:00
|
|
|
|
2015-04-28 22:50:29 +02:00
|
|
|
LW_CISCO_RADIO_MODULE_INFO=21,
|
|
|
|
LW_CISCO_AC_IP_ADDR_WITH_INDEX=32,
|
|
|
|
LW_CISCO_AP_ETHERNET_PORT_SUBTYPE=34,
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_AP_LOGHOST_CONFIG=36,
|
2015-04-28 22:50:29 +02:00
|
|
|
LW_CISCO_MCAST_MGID_INFO=39,
|
2015-03-29 15:36:23 +02:00
|
|
|
|
2015-04-28 22:50:29 +02:00
|
|
|
LW_CISCO_TELNET_SSH=44,
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_AP_SUBMODE=67,
|
2015-03-28 11:04:16 +01:00
|
|
|
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_PATH_MTU=73,
|
2015-04-28 22:50:29 +02:00
|
|
|
LW_CISCO_AP_DTLS_DATA_CFG=74,
|
2015-03-29 01:55:06 +01:00
|
|
|
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_ADD_WLAN=128,
|
2015-03-23 22:28:32 +01:00
|
|
|
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_SSC_HASH_VALIDATION=133,
|
|
|
|
LW_CISCO_MWAR_HASH_VALUE=134,
|
|
|
|
LW_CISCO_DOT11R_WLC_MAC_AND_IP=135,
|
|
|
|
|
2015-04-28 22:50:29 +02:00
|
|
|
LW_CISCO_HARDWARE_INFO=139,
|
|
|
|
|
2015-04-21 08:24:59 +02:00
|
|
|
LW_CISCO_AP_JOIN_IP_PREF_MODE=166
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2015-03-23 22:28:32 +01:00
|
|
|
|
|
|
|
/* function proto types */
|
|
|
|
extern int lw_put_cisco_path_mtu(uint8_t *dst, uint16_t max, uint16_t padding);
|
|
|
|
|
2015-03-29 01:55:06 +01:00
|
|
|
extern const char * lw_cisco_id_to_str(int elem_id);
|
2015-03-23 22:28:32 +01:00
|
|
|
|
|
|
|
|
2015-03-24 20:12:33 +01:00
|
|
|
/*
|
|
|
|
#define lw_addelem_cisco_path_mtu(dst,max,padding) \
|
|
|
|
lw_put_elem_hdr(dst,LW_ELEM_VENDOR_SPECIFIC,lw_put_cisco_path_mtu(dst,max,padding))
|
|
|
|
*/
|
2015-03-23 22:28:32 +01:00
|
|
|
|
|
|
|
#endif
|