From 3f69dbf67ef9d1f4b524345de5201dec832221cd Mon Sep 17 00:00:00 2001 From: 7u83 <7u83@mail.ru> Date: Sat, 27 Aug 2022 00:50:59 +0200 Subject: [PATCH] More clean-up --- src/cw/Makefile | 37 +-------------------------------- src/cw/radioinfo.h | 51 ---------------------------------------------- 2 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 src/cw/radioinfo.h diff --git a/src/cw/Makefile b/src/cw/Makefile index 2742e37d..c26739da 100644 --- a/src/cw/Makefile +++ b/src/cw/Makefile @@ -35,7 +35,6 @@ CWSRC=\ cw_put_elem_radio_operational_state.c\ cw_put_image_data.c\ cw_put_local_ip_address.c\ - cw_radio_set_admin_state.c\ cw_rand.c\ cw_randint.c\ cw_read_ac_descriptor.c\ @@ -77,46 +76,12 @@ CWSRC=\ # cw_out_generic_struct.c\ cw_in_radio_generic_struct.c\ cw_in_generic_struct.c\ + cw_radio_set_admin_state.c\ KTVSRC=\ cfg.c\ -# cw_ktv_add.c\ - cw_ktv_idx_get.c\ - cw_ktv_mavlcmp.c\ - cw_ktv_mavlcmp_type_by_name.c\ - cw_ktv_mavldel.c\ - - -# cw_ktv_parser.c\ -# cw_ktv_del_sub.c\ -# cw_ktv_base_exists.c\ - cw_ktv_add_from_str.c\ - cw_ktv_read_file.c\ - cw_ktv_readline.c\ - cw_ktv_save.c\ - cw_ktv_std_types.c\ - cw_ktv_read_struct.c\ - cw_ktv_write_struct.c\ - -# cw_ktv_get_byte.c\ - cw_ktv_get_bool.c\ - cw_ktv_get_bstr16.c\ - cw_ktv_set_byte.c\ - cw_ktv_set_word.c\ - cw_ktv_set_dword.c\ - -# cw_ktv_get_word.c\ - cw_ktv_get_dword.c\ - cw_ktv_get_sysptr.c\ - cw_ktv_get_str.c\ - -# cw_ktv_cast.c\ - cw_ktv_replace.c\ - cw_ktv_get.c\ - - LWSRC=\ lw_addelem.c\ lw_checksum.c\ diff --git a/src/cw/radioinfo.h b/src/cw/radioinfo.h deleted file mode 100644 index 36aa5868..00000000 --- a/src/cw/radioinfo.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - 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 . - -*/ - - -#ifndef __RADIOINFO_H -#define __RADIOINFO_H - -#include "bstr.h" - - -struct radioinfo{ - char set; - int rid; - uint32_t type; - int admin_state; - int state; - int cause; - bstr_t rmac; - - uint16_t regDomain; - - uint8_t country_str[4]; - uint8_t country_str2[4]; - - int cfp_period; - int cfp_max_duration; - int beacon_period; - int dtim_period; - int max_bssid; - int occupancy_limit; - - bstr_t bssid; - -}; - -#endif