Ren CW_DISCOVERY_RESPONSE to CAWPAP_DISCOVERY_REs...
FossilOrigin-Name: ccfb2274ae3f81d79e3264d67238822faa5df55df8c239f9ddb1b02762d8af39
This commit is contained in:
@ -25,8 +25,6 @@
|
||||
#ifndef __CAPWAP_H
|
||||
#define __CAPWAP_H
|
||||
|
||||
|
||||
//#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -49,6 +47,7 @@
|
||||
|
||||
/**
|
||||
*@defgroup CAPWAPConstants CAPWAP General Constants
|
||||
*@brief General constants as defined in RFC5415
|
||||
*@{
|
||||
*/
|
||||
|
||||
@ -56,7 +55,7 @@
|
||||
#define CAPWAP_VERSION (0)
|
||||
|
||||
#define CAPWAP_IANA_ENTERPRISE_NUMBER 0
|
||||
|
||||
*
|
||||
/** CAPWAP Control Port*/
|
||||
#define CAPWAP_CONTROL_PORT 5246
|
||||
/** CAPWAP Control Port as String */
|
||||
@ -74,7 +73,8 @@
|
||||
|
||||
/**
|
||||
*@defgroup CAPWAPHeaderFlags CAPWAP Header Flags
|
||||
*@brief Alles ist schoen
|
||||
*@brief The CAPWAP control header flags
|
||||
*
|
||||
*@{
|
||||
*/
|
||||
#define CAPWAP_FLAG_HDR_R1 0x01 /**< bit 0 reserved 1 */
|
||||
@ -111,8 +111,15 @@
|
||||
* @defgroup CAPWAPMessages CAPWAP message types as defined in RFC 5416
|
||||
* @{
|
||||
*/
|
||||
/**
|
||||
* The Discovery Request message is sent by the WTP to
|
||||
* find an AC on the network and inform the AC about some
|
||||
* basic capabillities of the WTP. */
|
||||
#define CAPWAP_MSG_DISCOVERY_REQUEST 1
|
||||
#define CW_MSG_DISCOVERY_RESPONSE 2
|
||||
/**
|
||||
* A Discovery Response message is send by the AP to
|
||||
* the WTP after receiving a Discovery Request message. */
|
||||
#define CAPWAP_MSG_DISCOVERY_RESPONSE 2
|
||||
#define CW_MSG_JOIN_REQUEST 3
|
||||
#define CW_MSG_JOIN_RESPONSE 4
|
||||
|
||||
@ -158,7 +165,7 @@
|
||||
* @defgroup CAPWAPMsgElems CAPWAP Message Elements
|
||||
* @brief CAPWAP message elements as defined in RFC 5415
|
||||
* @{
|
||||
*/
|
||||
*/namin
|
||||
|
||||
#define CW_ELEM_AC_DESCRIPTOR 1 /**< AC Descriptor */
|
||||
#define CW_ELEM_AC_IPV4_LIST 2 /**< AC IP V4 List */
|
||||
|
@ -35,7 +35,7 @@ cw_action_in_t capwap_80211_actions_ac_in[] = {
|
||||
|
||||
cw_action_out_t capwap_80211_actions_ac_out[]={
|
||||
/* Radio Infos */
|
||||
{CW_MSG_DISCOVERY_RESPONSE, NULL /*CW_ELEM80211_WTP_RADIO_INFORMATION*/, 0,
|
||||
{CAPWAP_MSG_DISCOVERY_RESPONSE, NULL /*CW_ELEM80211_WTP_RADIO_INFORMATION*/, 0,
|
||||
CW_ELEM80211_WTP_RADIO_INFORMATION, NULL,cw_out_radio_infos, NULL,1}
|
||||
,
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
cw_action_in_t capwap_80211_actions_wtp_in[] = {
|
||||
|
||||
/* Discovery Response */
|
||||
{0, 0, CW_STATE_DISCOVERY, CW_MSG_DISCOVERY_RESPONSE,
|
||||
{0, 0, CW_STATE_DISCOVERY, CAPWAP_MSG_DISCOVERY_RESPONSE,
|
||||
CW_ACTION_IN_80211_WTP_RADIO_INFORMATION, 1}
|
||||
,
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
struct cw_strlist_elem capwap_strings_msg[] = {
|
||||
{ CAPWAP_MSG_DISCOVERY_REQUEST, "Discovery Request" },
|
||||
{ CW_MSG_DISCOVERY_RESPONSE,"Discovery Response" },
|
||||
{ CAPWAP_MSG_DISCOVERY_RESPONSE,"Discovery Response" },
|
||||
{ CW_MSG_JOIN_REQUEST, "Join Request"},
|
||||
{ CW_MSG_JOIN_RESPONSE,"Join Response"},
|
||||
{ CW_MSG_CONFIGURATION_STATUS_REQUEST,"Configuration Status Request"},
|
||||
|
Reference in New Issue
Block a user