From 4c108c58fc2aa0e6a5ecb29ac225f384147f4258 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 9 Apr 2016 11:36:32 +0000 Subject: [PATCH] Added radio oper states and fixed radio admin states FossilOrigin-Name: 3f359c926e99fe02d4c251f127ad89b085eee8f4a29ec959ab90d68a00da0cdf --- src/cw/capwap.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/cw/capwap.h b/src/cw/capwap.h index b8f02d5e..32528053 100644 --- a/src/cw/capwap.h +++ b/src/cw/capwap.h @@ -361,7 +361,6 @@ CW_MSG_MAXMSG = 26 - /** * @defgroup ACSECURITY Security Flags used in AC Descriptor * @{ @@ -503,8 +502,14 @@ enum cw_reboot_failure_types { -#define CW_RADIO_ADMIN_STATE_DISABLED 1 -#define CW_RADIO_ADMIN_STATE_ENABLED 2 +#define CW_RADIO_ADMIN_STATE_ENABLED 1 +#define CW_RADIO_ADMIN_STATE_DISABLED 2 + +#define CW_RADIO_OPER_STATE_ENABLED 1 +#define CW_RADIO_OPER_STATE_DISABLED 2 + +#define CW_RADIO_OPER_STATE_ENABLED_7 2 +#define CW_RADIO_OPER_STATE_DISABLED_7 1 extern void cw_read_image_data_request(struct cwimage_data *, uint8_t * msg, int len);