renamed capwap directory to cw.
FossilOrigin-Name: 8a43dd9d05a4cb73210243ddd8df2a26f16c7ef2c4d4e36ab446de1f65d88223
This commit is contained in:
18
src/cw/lw_put_ac_descriptor.c
Normal file
18
src/cw/lw_put_ac_descriptor.c
Normal file
@ -0,0 +1,18 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "lwapp.h"
|
||||
|
||||
int lw_put_ac_descriptor(uint8_t * dst)
|
||||
{
|
||||
uint8_t *d=dst;
|
||||
d+=lw_put_byte(d,0); /* Cisco MWAR type */
|
||||
|
||||
// d+=lw_put_bstr(d,acinfo->hardware_version); /* length must be 4 */
|
||||
// d+=lw_put_bstr(d,acinfo->software_version); /* length must be 4 */
|
||||
d+=lw_put_word(d,200);
|
||||
d+=lw_put_word(d,1000);
|
||||
d+=lw_put_word(d,2);
|
||||
d+=lw_put_word(d,2);
|
||||
//d+=lw_put_byte(d,acinfo->security);
|
||||
return d-dst;
|
||||
}
|
Reference in New Issue
Block a user