diff --git a/actube.workspace b/actube.workspace
index c63c2d68..e0162c79 100644
--- a/actube.workspace
+++ b/actube.workspace
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/cw/cw_read_wtp_descriptor_7.c b/src/cw/cw_read_wtp_descriptor_7.c
index b2192eb7..e2e130f1 100644
--- a/src/cw/cw_read_wtp_descriptor_7.c
+++ b/src/cw/cw_read_wtp_descriptor_7.c
@@ -25,7 +25,8 @@ int cw_read_wtp_descriptor_7(mavl_t cfg, struct conn *conn,
struct cw_DescriptorSubelemDef *allowed)
{
- int ncrypt, pos;
+/* int ncrypt; //currentliy unused */
+ int pos;
char key[64];
sprintf(key,"%s/%s",eh->key, CW_SKEY_MAX_RADIOS);
diff --git a/src/cw/keys.h b/src/cw/keys.h
index 50078236..4ef50c93 100644
--- a/src/cw/keys.h
+++ b/src/cw/keys.h
@@ -17,6 +17,11 @@
#define CW_KEY_WTP_NAME "wtp-name"
+#define CW_KEY_DISCOVERY_TYPE "discovery-type"
+#define CW_KEY_WTP_MAC_TYPE "wtp-mac-type"
+#define CW_KEY_WTP_BOARD_DATA "wtp-board-data"
+#define CW_KEY_WTP_FRAME_TUNNEL_MODE "wtp-frame-tunnel-mode"
+
#endif
diff --git a/src/mod/capwap/capwap_actions_ac.c b/src/mod/capwap/capwap_actions_ac.c
index c9029a51..f3b79329 100644
--- a/src/mod/capwap/capwap_actions_ac.c
+++ b/src/mod/capwap/capwap_actions_ac.c
@@ -22,6 +22,7 @@
#include "cw/log.h"
#include "cw/msgset.h"
+#include "cw/keys.h"
#include "mod_capwap.h"
@@ -33,7 +34,7 @@ static struct cw_ElemHandler handlers[] = {
0,0, /* Vendor / Proto */
1,1, /* min/max length */
CW_TYPE_BYTE, /* type */
- "discovery_type", /* Key */
+ CW_KEY_DISCOVERY_TYPE, /* Key */
cw_in_generic, /* get */
cw_out_generic /* put */
}
@@ -44,7 +45,7 @@ static struct cw_ElemHandler handlers[] = {
0,0, /* Vendor / Proto */
1,1, /* min/max length */
CW_TYPE_BYTE, /* type */
- "wtp_mac_type", /* Key */
+ CW_KEY_WTP_MAC_TYPE, /* Key */
cw_in_generic, /* get */
cw_out_generic /* put */
}
@@ -55,7 +56,7 @@ static struct cw_ElemHandler handlers[] = {
0,0, /* Vendor / Proto */
4,128, /* min/max length */
NULL, /* type */
- "wtp_board_data", /* Key */
+ CW_KEY_WTP_BOARD_DATA, /* Key */
capwap_in_wtp_board_data, /* get */
NULL /* put */
}
@@ -66,7 +67,7 @@ static struct cw_ElemHandler handlers[] = {
0,0, /* Vendor / Proto */
4,128, /* min/max length */
NULL, /* type */
- "wtp_descriptor", /* Key */
+ CW_KEY_WTP_DESCRIPTOR, /* Key */
capwap_in_wtp_descriptor, /* get */
NULL /* put */
}
@@ -77,7 +78,7 @@ static struct cw_ElemHandler handlers[] = {
0,0, /* Vendor / Proto */
1,1, /* min/max length */
CW_TYPE_BYTE, /* type */
- "wtp_frame_tunnel_mode", /* Key */
+ CW_KEY_WTP_FRAME_TUNNEL_MODE, /* Key */
cw_in_generic, /* get */
cw_out_generic /* put */
}