Refactoring
FossilOrigin-Name: b8e167c681583af5ae33b851f26c4c699a04b5989191abbddb138f12b1dd4066
This commit is contained in:
parent
723d6d2162
commit
b09d35de50
@ -18,16 +18,15 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief CAPWAP definitions
|
* @brief CAPWAP definitions as in RFC 5415
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef __CAPWAP_H
|
#ifndef __CAPWAP_H
|
||||||
#define __CAPWAP_H
|
#define __CAPWAP_H
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
//#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@ -39,8 +38,6 @@
|
|||||||
#include "lwapp.h"
|
#include "lwapp.h"
|
||||||
#include "strlist.h"
|
#include "strlist.h"
|
||||||
|
|
||||||
//#include "cw.h"
|
|
||||||
|
|
||||||
/* capwap version and iana number */
|
/* capwap version and iana number */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -85,12 +82,17 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* wireless binding ids */
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup CAPWAPWBIDS Wireless binding IDs
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
#define CW_WBID_RESERVED1 0
|
#define CW_WBID_RESERVED1 0
|
||||||
#define CW_WBID_IEEE80211 1
|
#define CW_WBID_IEEE80211 1
|
||||||
#define CW_WBID_RESERVED2 2
|
#define CW_WBID_RESERVED2 2
|
||||||
#define CW_WBID_EPCGLOBAL 3
|
#define CW_WBID_EPCGLOBAL 3
|
||||||
|
/**@}*/
|
||||||
|
|
||||||
#define CAPWAP_PACKET_PREAMBLE (CW_VERSION<<4)
|
#define CAPWAP_PACKET_PREAMBLE (CW_VERSION<<4)
|
||||||
#define CAPWAP_DTLS_PACKET_PREAMBLE (CW_VERSION<<4|1)
|
#define CAPWAP_DTLS_PACKET_PREAMBLE (CW_VERSION<<4|1)
|
||||||
@ -347,7 +349,7 @@ CW_MSG_MAXMSG = 26
|
|||||||
#define CAPWAP_STATISTICS_TIMER 120
|
#define CAPWAP_STATISTICS_TIMER 120
|
||||||
|
|
||||||
|
|
||||||
#define CAPWAP_TIMERS ((CW_DISCOVERY_INTERVAL << 8) | CAPWAP_ECHO_INTERVAL)
|
#define CW_TIMERS ((CW_DISCOVERY_INTERVAL << 8) | CAPWAP_ECHO_INTERVAL)
|
||||||
|
|
||||||
|
|
||||||
//#define CAPWAP_CIPHER "PSK-AES128-CBC-SHA:"
|
//#define CAPWAP_CIPHER "PSK-AES128-CBC-SHA:"
|
||||||
|
Loading…
Reference in New Issue
Block a user