From 1b56389736cbda6b2cd4bf43096705b9c404038d Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 27 Jul 2014 08:30:22 +0000 Subject: [PATCH] Removed unused capwap_ctrlhdr structure FossilOrigin-Name: 26abf3afefc73a1eac3bf6c44bbd7d63d5de4de3075bff825eeeaf7e124f82d8 --- src/capwap/capwap.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/capwap/capwap.h b/src/capwap/capwap.h index 60783a90..0e988560 100644 --- a/src/capwap/capwap.h +++ b/src/capwap/capwap.h @@ -74,6 +74,8 @@ /* * control header stuff */ + +/* struct capwap_ctrlhdr { int msgtype; @@ -82,7 +84,7 @@ struct capwap_ctrlhdr uint8_t * msgelems; int msgelemslen; }; - +*/ //extern int capwap_parse_trnsprthdr(struct capwap_trnsprthdr * cwh,uint8_t *msg, int msglen); //extern int capwap_parse_ctrlhdr(struct capwap_ctrlhdr * ch,uint8_t * msg, int len); @@ -188,9 +190,10 @@ struct capwap_ctrlhdr /* Returned Message Element 34 */ #define CWMSGELEM_SESSION_ID 35 -/* Statistics Timer 36 - Vendor Specific Payload 37 - */ +/* Statistics Timer 36 +*/ +#define CWMSGELEM_VENDOR_SPECIFIC_PAYLOAD 37 + #define CWMSGELEM_WTP_BOARD_DATA 38 #define CWMSGELEM_WTP_DESCRIPTOR 39 @@ -327,5 +330,7 @@ extern void process_join_request(struct wtpinfo * wtpinfo, uint8_t * msg, int le void cwread_discovery_response(struct ac_info * acinfo, uint8_t * msg, int len); extern int cwsend_echo_response(struct conn * conn,int seqnum,struct radioinfo * radioinfo); //,struct wtpinfo * wtpinfo +extern const char * cw_msgelemtostr(int elem); + #endif