Initieal commit.
FossilOrigin-Name: a8ea3d6da9e6508794ced622ac6b1a4364add9da4d30ea1c695b222d968cc2a7
This commit is contained in:
parent
0d9a3ad8c7
commit
8ea94c7cf0
37
src/capwap/capwap_msg_strings.c
Normal file
37
src/capwap/capwap_msg_strings.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#include "capwap.h"
|
||||||
|
|
||||||
|
struct cw_strlist capwap_msg_strings[] = {
|
||||||
|
{ CW_MSG_DISCOVERY_REQUEST, "Discovery Request" },
|
||||||
|
{ CW_MSG_DISCOVERY_RESPONSE,"Discovery Response" },
|
||||||
|
{ CW_MSG_JOIN_REQUEST, "Join Request"},
|
||||||
|
{ CW_MSG_JOIN_RESPONSE,"Join Response"},
|
||||||
|
{ CW_MSG_CONFIGURATION_STATUS_REQUEST,"Configuration Request"},
|
||||||
|
{ CW_MSG_CONFIGURATION_STATUS_RESPONSE,"Configuration Response"},
|
||||||
|
{ CW_MSG_CONFIGURATION_UPDATE_REQUEST,"Update Request"},
|
||||||
|
{ CW_MSG_CONFIGURATION_UPDATE_RESPONSE,"Update Response"},
|
||||||
|
{ CW_MSG_WTP_EVENT_REQUEST,"WTP Event Request"},
|
||||||
|
{ CW_MSG_WTP_EVENT_RESPONSE,"WTP Event Response"},
|
||||||
|
{ CW_MSG_CHANGE_STATE_EVENT_REQUEST,"Change State Event Request"},
|
||||||
|
{ CW_MSG_CHANGE_STATE_EVENT_RESPONSE,"Change State Event Response"},
|
||||||
|
{ CW_MSG_ECHO_REQUEST,"Echo Request"},
|
||||||
|
{ CW_MSG_ECHO_RESPONSE,"Echo Response"},
|
||||||
|
{ CW_MSG_IMAGE_DATA_REQUEST,"Image Data Request"},
|
||||||
|
{ CW_MSG_IMAGE_DATA_RESPONSE,"Image Data Response"},
|
||||||
|
{ CW_MSG_RESET_REQUEST,"Reset Request"},
|
||||||
|
{ CW_MSG_RESET_RESPONSE,"Reset Response"},
|
||||||
|
{ CW_MSG_PRIMARY_DISCOVERY_REQUEST,"Primary Discovery Request"},
|
||||||
|
{ CW_MSG_PRIMARY_DISCOVERY_RESPONSE,"Primary Discovery Response"},
|
||||||
|
|
||||||
|
/* Data Transfer Request 21
|
||||||
|
Data Transfer Response 22
|
||||||
|
Clear Configuration Request 23
|
||||||
|
Clear Configuration Response 24
|
||||||
|
Station Configuration Request 25
|
||||||
|
Station Configuration Response 26
|
||||||
|
*/
|
||||||
|
|
||||||
|
{0,"Unknown Message Type"}
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
8
src/capwap/capwap_state_strings.c
Normal file
8
src/capwap/capwap_state_strings.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#include "capwap.h"
|
||||||
|
|
||||||
|
struct cw_strlist capwap_state_strings[] = {
|
||||||
|
{ CW_STATE_DISCOVERY, "Discovery" },
|
||||||
|
{ CW_STATE_JOIN,"Join" },
|
||||||
|
{ CW_STATE_RUN,"Run" },
|
||||||
|
{ 0,"Undefined" }
|
||||||
|
};
|
11
src/capwap/lw_readelem_vendor_specific.c
Normal file
11
src/capwap/lw_readelem_vendor_specific.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
#include "lwapp.h"
|
||||||
|
|
||||||
|
int lw_readelem_vendor_specific(void * data,int msgtype,int elemtype,uint8_t *msgelem, int len)
|
||||||
|
{
|
||||||
|
if (elemtype != LW_ELEM_VENDOR_SPECIFIC)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user