diff --git a/src/capwap/Makefile b/src/capwap/Makefile index ec4783bc..31f9d899 100644 --- a/src/capwap/Makefile +++ b/src/capwap/Makefile @@ -115,6 +115,7 @@ CAPWAPOBJS= \ cw_readelem_result_code.o\ cw_readelem_ac_name.o \ cw_readelem_radio_administrative_state.o \ + cw_readelem_radio_operational_state.o \ cw_readelem_statistics_timer.o \ cw_readelem_wtp_reboot_statistics.o\ cwmsg_addelem_vendor_cisco_ap_timesync.o diff --git a/src/capwap/capwap.h b/src/capwap/capwap.h index b591cf38..0bcf3f18 100644 --- a/src/capwap/capwap.h +++ b/src/capwap/capwap.h @@ -384,6 +384,8 @@ extern int cw_readelem_ac_name(uint8_t **dst, int type,uint8_t *msgelem, int len extern int cw_readelem_wtp_reboot_statistics(struct wtp_reboot_statistics *s, int type,uint8_t *msgelem, int len); extern int cw_readelem_cw_local_ip_addr(struct sockaddr * local_ip, int type, uint8_t * msgelem, int len); extern int cw_readelem_radio_administrative_state(struct radioinfo * radioinfo, int type,uint8_t *msgelem, int len); +extern int cw_readelem_radio_operational_state(struct radioinfo * radioinfo, int type,uint8_t *msgelem, int len); + extern int cw_readelem_statistics_timer(uint16_t *timer, int type, uint8_t * msgelem, int len); extern int cw_readelem_result_code(uint32_t *result_code, int type, uint8_t * msgelem, int len); diff --git a/src/capwap/radioinfo.h b/src/capwap/radioinfo.h index 34618b94..370cc1c3 100644 --- a/src/capwap/radioinfo.h +++ b/src/capwap/radioinfo.h @@ -25,6 +25,8 @@ struct radioinfo{ int rid; uint32_t type; int admin_state; + int state; + int cause; uint8_t rmac[8]; };