Ren CW_MSG_DISCOVERY... -> CAPWAP_MSG_DISCOVERY...
FossilOrigin-Name: 1a59f66389b747cd2a70a3ce4c187e61ba256fa8364df4fed6879bb0ba368a1a
This commit is contained in:
@ -330,7 +330,7 @@ IDL_PROPERTY_SUPPORT = YES
|
||||
# all members of a group must be documented explicitly.
|
||||
# The default value is: NO.
|
||||
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
DISTRIBUTE_GROUP_DOC = YES
|
||||
|
||||
# Set the SUBGROUPING tag to YES to allow class member groups of the same type
|
||||
# (for instance a group of public functions) to be put as a subgroup of that
|
||||
|
@ -95,10 +95,10 @@
|
||||
* @defgroup CAPWAPWBIDS CAPWAP Wireless binding IDs
|
||||
* @{
|
||||
*/
|
||||
#define CW_WBID_RESERVED1 0
|
||||
#define CW_WBID_IEEE80211 1
|
||||
#define CW_WBID_RESERVED2 2
|
||||
#define CW_WBID_EPCGLOBAL 3
|
||||
#define CAPWAP_WBID_RESERVED1 0
|
||||
#define CAPWAP_WBID_IEEE80211 1
|
||||
#define CAPWAP_WBID_RESERVED2 2
|
||||
#define CAPWAP_WBID_EPCGLOBAL 3
|
||||
/**@}*/
|
||||
|
||||
#define CAPWAP_PACKET_PREAMBLE (CAPWAP_VERSION<<4)
|
||||
@ -106,12 +106,12 @@
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* CAPWAP message types as defined in RFC 5416
|
||||
|
||||
/**
|
||||
* @defgroup CAPWAPMessages CAPWAP message types as defined in RFC 5416
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
#define CW_MSG_DISCOVERY_REQUEST 1
|
||||
#define CAPWAP_MSG_DISCOVERY_REQUEST 1
|
||||
#define CW_MSG_DISCOVERY_RESPONSE 2
|
||||
#define CW_MSG_JOIN_REQUEST 3
|
||||
#define CW_MSG_JOIN_RESPONSE 4
|
||||
@ -151,6 +151,7 @@
|
||||
|
||||
#define CW_MSG_MAXMSG 26
|
||||
|
||||
/**@}*/
|
||||
|
||||
|
||||
/**
|
||||
@ -169,6 +170,7 @@
|
||||
/**@{
|
||||
* one for all
|
||||
*/
|
||||
/* yes one for alllll */
|
||||
#define CW_ELEM_ADD_MAC_ACL_ENTRY 7
|
||||
#define CW_ELEM_ADD_STATION 8
|
||||
#define CW_ELEM_RESERVED_9 9
|
||||
|
@ -16,7 +16,7 @@ cw_action_in_t capwap_80211_actions_ac_in[] = {
|
||||
* Discovery Resquest
|
||||
*/
|
||||
|
||||
{0, 0, CW_STATE_DISCOVERY, CW_MSG_DISCOVERY_REQUEST,
|
||||
{0, 0, CW_STATE_DISCOVERY, CAPWAP_MSG_DISCOVERY_REQUEST,
|
||||
CW_ACTION_IN_80211_WTP_RADIO_INFORMATION, 1}
|
||||
,
|
||||
/* --------------------------------------------------------
|
||||
|
@ -34,7 +34,7 @@ cw_action_out_t capwap_80211_actions_wtp_out[]={
|
||||
*/
|
||||
|
||||
/* 802.11 Radio Information */
|
||||
{CW_MSG_DISCOVERY_REQUEST, CW_ITEM_RADIO_INFOS /*CW_ELEM80211_WTP_RADIO_INFORMATION*/, 0,
|
||||
{CAPWAP_MSG_DISCOVERY_REQUEST, CW_ITEM_RADIO_INFOS /*CW_ELEM80211_WTP_RADIO_INFORMATION*/, 0,
|
||||
CW_ELEM80211_WTP_RADIO_INFORMATION, NULL,cw_out_radio_infos, NULL,1}
|
||||
,
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* CAPWAP Message Strings
|
||||
*/
|
||||
struct cw_strlist_elem capwap_strings_msg[] = {
|
||||
{ CW_MSG_DISCOVERY_REQUEST, "Discovery Request" },
|
||||
{ CAPWAP_MSG_DISCOVERY_REQUEST, "Discovery Request" },
|
||||
{ CW_MSG_DISCOVERY_RESPONSE,"Discovery Response" },
|
||||
{ CW_MSG_JOIN_REQUEST, "Join Request"},
|
||||
{ CW_MSG_JOIN_RESPONSE,"Join Response"},
|
||||
|
@ -26,7 +26,7 @@ int cw_in_radio_generic(struct conn *conn, struct cw_action_in *a, uint8_t * dat
|
||||
mbag_t radio = mbag_i_get_mbag(conn->radios, rid, NULL);
|
||||
if (!radio) {
|
||||
if (a->vendor_id != 0
|
||||
|| ( (a->vendor_id == 0) && (a->msg_id != CW_MSG_DISCOVERY_REQUEST
|
||||
|| ( (a->vendor_id == 0) && (a->msg_id != CAPWAP_MSG_DISCOVERY_REQUEST
|
||||
&& a->msg_id != CW_MSG_JOIN_REQUEST) )) {
|
||||
cw_dbg(DBG_ELEM_ERR, "Radio not found %d", rid);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user