More documentation and Cisco support.
FossilOrigin-Name: 0a22e4c44b2df5712b2f8edaea0712fcc7fc0ca953e86179c0a653a484197a43
This commit is contained in:
@ -16,6 +16,11 @@
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Implents configuration status request
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "capwap.h"
|
||||
@ -34,15 +39,30 @@ static int readelem(void * eparm,int type,uint8_t* msgelem,int len)
|
||||
cw_dbg_msgelem(CWMSG_CONFIGURATION_STATUS_REQUEST, type, msgelem,len);
|
||||
|
||||
/* mandatory elements */
|
||||
|
||||
/* ac name */
|
||||
if (cw_readelem_ac_name(&e->wtpinfo->ac_name,type,msgelem,len))
|
||||
goto foundX;
|
||||
if (cw_readelem_wtp_reboot_statistics(&e->wtpinfo->reboot_statistics,type,msgelem,len))
|
||||
goto foundX;
|
||||
|
||||
/* radio administrative state */
|
||||
if (cw_readelem_radio_administrative_state(e->wtpinfo->radioinfo, type,msgelem,len))
|
||||
goto foundX;
|
||||
|
||||
/* statistics timer */
|
||||
if (cw_readelem_statistics_timer(&e->wtpinfo->statistics_timer, type,msgelem,len))
|
||||
goto foundX;
|
||||
|
||||
/* reboot statistics */
|
||||
if (cw_readelem_wtp_reboot_statistics(&e->wtpinfo->reboot_statistics,type,msgelem,len))
|
||||
goto foundX;
|
||||
|
||||
/* non-mantatory elements */
|
||||
|
||||
if (cw_readelem_vendor_specific_payload
|
||||
(e->wtpinfo, CWMSG_CONFIGURATION_STATUS_REQUEST, type, msgelem, len))
|
||||
return 1;
|
||||
|
||||
|
||||
return 0;
|
||||
foundX:
|
||||
cw_mand_elem_found(e->mand,type);
|
||||
|
Reference in New Issue
Block a user