Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2003 Aurelien Alleaume <slts@free.fr> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | #if !defined(_OID_MGT_H) |
| 19 | #define _OID_MGT_H |
| 20 | |
| 21 | #include "isl_oid.h" |
| 22 | #include "islpci_dev.h" |
| 23 | |
| 24 | extern struct oid_t isl_oid[]; |
| 25 | |
| 26 | int mgt_init(islpci_private *); |
| 27 | |
| 28 | void mgt_clean(islpci_private *); |
| 29 | |
| 30 | /* I don't know where to put these 2 */ |
| 31 | extern const int frequency_list_a[]; |
| 32 | int channel_of_freq(int); |
| 33 | |
| 34 | void mgt_le_to_cpu(int, void *); |
| 35 | |
| 36 | int mgt_set_request(islpci_private *, enum oid_num_t, int, void *); |
| 37 | int mgt_set_varlen(islpci_private *, enum oid_num_t, void *, int); |
| 38 | |
| 39 | |
| 40 | int mgt_get_request(islpci_private *, enum oid_num_t, int, void *, |
| 41 | union oid_res_t *); |
| 42 | |
| 43 | int mgt_commit_list(islpci_private *, enum oid_num_t *, int); |
| 44 | |
| 45 | void mgt_set(islpci_private *, enum oid_num_t, void *); |
| 46 | |
| 47 | void mgt_get(islpci_private *, enum oid_num_t, void *); |
| 48 | |
| 49 | int mgt_commit(islpci_private *); |
| 50 | |
| 51 | int mgt_mlme_answer(islpci_private *); |
| 52 | |
| 53 | enum oid_num_t mgt_oidtonum(u32 oid); |
| 54 | |
| 55 | int mgt_response_to_str(enum oid_num_t, union oid_res_t *, char *); |
| 56 | |
| 57 | #endif /* !defined(_OID_MGT_H) */ |
| 58 | /* EOF */ |