mod_capwap for WTP can handle discovery resp.

FossilOrigin-Name: 61394aa98b11d7b8576d1fa648b00dac6518d387597c131ec4ea8f4f712b2b22
This commit is contained in:
7u83@mail.ru
2016-03-05 07:05:46 +00:00
parent d1bd7f3b27
commit fca1378eaa
5 changed files with 91 additions and 4 deletions

View File

@ -3,11 +3,22 @@
#include "mavl.h"
#include "mbag.h"
//#include "mavl.h"
/**
* Used to store AC Name With Priority elements.
*/
struct cw_acprio{
/**
* AC Name
*/
char *name;
/**
* IP of AC
*/
struct sockaddr_storage * addr;
/**
* Priority
*/
uint8_t prio;
};

View File

@ -109,6 +109,7 @@ struct cw_itemdef capwap_itemdefs[] = {
{CW_ITEM_CAPWAP_TIMERS,CW_ITEM_NONE,MBAG_WORD},
{CW_ITEM_AC_NAME_WITH_PRIORITY,CW_ITEM_ANY,MBAG_STR},
{CW_ITEM_AC_NAME,CW_ITEM_NONE,MBAG_STR},
{CW_ITEM_AP_MODE_AND_TYPE,CW_ITEM_NONE,MBAG_WORD},