From b09d35de507960d0fc6cb34460a1f59a15ebeb6c Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Fri, 23 Feb 2018 00:41:07 +0000 Subject: [PATCH] Refactoring FossilOrigin-Name: b8e167c681583af5ae33b851f26c4c699a04b5989191abbddb138f12b1dd4066 --- src/cw/capwap.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/cw/capwap.h b/src/cw/capwap.h index 79462e3e..cc4577c6 100644 --- a/src/cw/capwap.h +++ b/src/cw/capwap.h @@ -18,16 +18,15 @@ /** * @file - * @brief CAPWAP definitions + * @brief CAPWAP definitions as in RFC 5415 */ - #ifndef __CAPWAP_H #define __CAPWAP_H -#include +//#include #include #include @@ -39,8 +38,6 @@ #include "lwapp.h" #include "strlist.h" -//#include "cw.h" - /* 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_IEEE80211 1 #define CW_WBID_RESERVED2 2 #define CW_WBID_EPCGLOBAL 3 - +/**@}*/ #define CAPWAP_PACKET_PREAMBLE (CW_VERSION<<4) #define CAPWAP_DTLS_PACKET_PREAMBLE (CW_VERSION<<4|1) @@ -347,7 +349,7 @@ CW_MSG_MAXMSG = 26 #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:"