WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / wireless / intersil / prism54 / oid_mgt.h
bloba7dc9e24c0bf8db5bdc4fb41d72984ee598eccc6
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2003 Aurelien Alleaume <slts@free.fr>
4 */
6 #if !defined(_OID_MGT_H)
7 #define _OID_MGT_H
9 #include "isl_oid.h"
10 #include "islpci_dev.h"
12 extern struct oid_t isl_oid[];
14 int mgt_init(islpci_private *);
16 void mgt_clean(islpci_private *);
18 /* I don't know where to put these 2 */
19 extern const int frequency_list_a[];
20 int channel_of_freq(int);
22 void mgt_le_to_cpu(int, void *);
24 int mgt_set_request(islpci_private *, enum oid_num_t, int, void *);
25 int mgt_set_varlen(islpci_private *, enum oid_num_t, void *, int);
28 int mgt_get_request(islpci_private *, enum oid_num_t, int, void *,
29 union oid_res_t *);
31 int mgt_commit_list(islpci_private *, enum oid_num_t *, int);
33 void mgt_set(islpci_private *, enum oid_num_t, void *);
35 void mgt_get(islpci_private *, enum oid_num_t, void *);
37 int mgt_commit(islpci_private *);
39 int mgt_mlme_answer(islpci_private *);
41 enum oid_num_t mgt_oidtonum(u32 oid);
43 int mgt_response_to_str(enum oid_num_t, union oid_res_t *, char *);
45 #endif /* !defined(_OID_MGT_H) */
46 /* EOF */