changes for conn.h defined req and resp buffer.
FossilOrigin-Name: 9e30fb2d30cf6af2882d064309b70ca66ee556deed55ec5700a79110cadeb055
This commit is contained in:
parent
de831efd9c
commit
ef32206764
@ -13,8 +13,8 @@ void cwmsg_addelem_capwap_timers(struct cwmsg *msg,int discovery,int echo_reques
|
||||
|
||||
void cwsend_conf_status_response(struct conn * conn,int seqnum, int rc, struct radioinfo * radioinfo, struct ac_info * acinfo, struct wtpinfo * wtpinfo)
|
||||
{
|
||||
struct cwmsg * cwmsg = &conn->swm;
|
||||
cwmsg_init(cwmsg,conn->buffer,CWMSG_CONFIGURATION_STATUS_RESPONSE,seqnum,NULL);
|
||||
struct cwmsg * cwmsg = &conn->resp_msg;
|
||||
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_CONFIGURATION_STATUS_RESPONSE,seqnum,NULL);
|
||||
|
||||
cwmsg_addelem_capwap_timers(cwmsg,120,15);
|
||||
/*
|
||||
|
@ -33,8 +33,8 @@ void cwsend_discovery_response(struct conn * conn,int seqnum, struct radioinfo *
|
||||
{
|
||||
cw_dbg(DBG_CW_MSG,"Sending discovery response to %s, seq = %d",sock_addr2str(&conn->addr),seqnum);
|
||||
|
||||
struct cwmsg * cwmsg = &conn->swm;
|
||||
cwmsg_init(cwmsg,conn->buffer,CWMSG_DISCOVERY_RESPONSE,seqnum,radioinfo);
|
||||
struct cwmsg * cwmsg = &conn->resp_msg;
|
||||
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_DISCOVERY_RESPONSE,seqnum,NULL);
|
||||
|
||||
// cwmsg_addelem_ac_timestamp(cwmsg);
|
||||
|
||||
@ -47,6 +47,10 @@ void cwsend_discovery_response(struct conn * conn,int seqnum, struct radioinfo *
|
||||
|
||||
|
||||
cwmsg_addelem_vendor_cisco_ap_timesync(cwmsg);
|
||||
|
||||
|
||||
// uint8_t buffer[]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
// cwmsg_addelem_vendor_specific_payload(cwmsg,CW_VENDOR_ID_CISCO, 149, buffer,sizeof(buffer));
|
||||
|
||||
conn_send_response(conn,cwmsg,seqnum);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user