Takes care of cisco.
FossilOrigin-Name: 4d7bbc55511b0857f1c55a89565fe36e20ba665c530b7232196bcc606a950e7d
This commit is contained in:
parent
ddd5ff340f
commit
19ae2f7e20
@ -36,21 +36,20 @@ void cwsend_discovery_response(struct conn * conn,int seqnum, struct radioinfo *
|
||||
struct cwmsg * cwmsg = &conn->resp_msg;
|
||||
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_DISCOVERY_RESPONSE,seqnum,NULL);
|
||||
|
||||
// cwmsg_addelem_ac_timestamp(cwmsg);
|
||||
|
||||
cwmsg_addelem_ac_descriptor(cwmsg,acinfo);
|
||||
cwmsg_addelem(cwmsg,CWMSGELEM_AC_NAME,(uint8_t*)acinfo->ac_name,strlen((char*)acinfo->ac_name));
|
||||
|
||||
// cwmsg_addelem_wtp_radio_infos(cwmsg,wtpinfo->radioinfo);
|
||||
cwmsg_addelem_wtp_radio_infos(cwmsg,acinfo->radioinfos);
|
||||
cwmsg_addelem_ctrl_ip_addrs(cwmsg,acinfo);
|
||||
|
||||
|
||||
//cwmsg_addelem_vendor_cisco_ap_timesync(cwmsg);
|
||||
/* Send Cisco-specific message elements if needed */
|
||||
if (conn->capwap_mode == CWMODE_CISCO){
|
||||
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