Added a lot of cisco stuff

FossilOrigin-Name: 1a3b0824d3b9bc97cf15dd7f3922ea96fccb707695f0bacdd9570e212428e4a5
This commit is contained in:
7u83@mail.ru
2018-04-18 07:40:37 +00:00
parent 128b388032
commit d786fa1928
12 changed files with 213 additions and 29 deletions

View File

@ -31,10 +31,10 @@ static struct cw_ElemHandler handlers[] = {
CAPWAP80211_ELEM_RATE_SET, /* Element ID */
0, 0, /* Vendor / Proto */
3, 0, /* min/max length */
NULL, /* type */
CW_TYPE_BSTR16, /* type */
"rate_set", /* Key */
capwap80211_in_crate_set, /* get */
NULL /* put */
cw_in_radio_generic, /* get */
cw_out_radio_generic /* put */
}
,
{NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL}
@ -126,14 +126,14 @@ static int capwap80211_in_crate_set(struct cw_ElemHandler *eh,
struct cw_ElemHandlerParams *params,
uint8_t * data, int len)
{
int radio;
/* int radio;
int i;
radio = cw_get_byte(data);
for (i=0; i<len-1; i++){
int rate = (data+1)[i];
sprintf(d,"%0.1f",dot11_rate2float(val & 0x7f));
}
*/
}