2016-02-26 18:55:40 +01:00
|
|
|
/*
|
|
|
|
This file is part of libcapwap.
|
|
|
|
|
|
|
|
libcapwap is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
libcapwap is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2016-03-03 20:46:20 +01:00
|
|
|
#include "cw/sock.h"
|
|
|
|
#include "cw/cw.h"
|
2022-08-13 09:47:12 +02:00
|
|
|
#include "cw/dbg.h"
|
2016-02-26 18:55:40 +01:00
|
|
|
|
2018-03-06 03:08:14 +01:00
|
|
|
#include "mod_capwap.h"
|
|
|
|
|
2018-03-09 07:44:17 +01:00
|
|
|
int capwap_in_wtp_descriptor(struct cw_ElemHandler *eh, struct cw_ElemHandlerParams *params, uint8_t * data,
|
|
|
|
int len)
|
2016-02-26 18:55:40 +01:00
|
|
|
{
|
2018-03-06 03:08:14 +01:00
|
|
|
int rc;
|
2022-07-28 01:36:16 +02:00
|
|
|
/*rc =cw_read_wtp_descriptor(params->remote_cfg, params->conn, eh, data, len, NULL);*/
|
2022-08-13 09:47:12 +02:00
|
|
|
rc =cw_read_wtp_descriptor(params->cfg, NULL, eh, data, len, NULL);
|
2016-02-27 05:35:25 +01:00
|
|
|
return rc;
|
2016-02-26 18:55:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|