2016-03-15 00:32:18 +01:00
|
|
|
|
|
|
|
#include "cw/cw.h"
|
2018-03-19 20:00:58 +01:00
|
|
|
|
2016-03-15 00:32:18 +01:00
|
|
|
#include "cw/dbg.h"
|
2018-03-19 20:00:58 +01:00
|
|
|
|
2016-03-15 00:32:18 +01:00
|
|
|
#include "cw/vendors.h"
|
|
|
|
|
|
|
|
int cisco_in_ac_descriptor(struct conn *conn, struct cw_action_in *a, uint8_t * data,
|
|
|
|
int len, struct sockaddr *from)
|
|
|
|
{
|
2018-03-06 03:08:14 +01:00
|
|
|
static struct cw_DescriptorSubelemDef allowed[] = {
|
2016-03-15 00:32:18 +01:00
|
|
|
{CW_VENDOR_ID_CISCO,0, CW_ITEM_AC_HARDWARE_VERSION, 1024,1},
|
|
|
|
{CW_VENDOR_ID_CISCO,1, CW_ITEM_AC_SOFTWARE_VERSION, 1024,1},
|
|
|
|
{0,0, NULL,0, 0}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
return cw_read_ac_descriptor(conn->config,data,len,allowed);
|
|
|
|
|
|
|
|
}
|