• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *  Copyright (C) 2003 Aurelien Alleaume <slts@free.fr>
4  */
5 
6 #if !defined(_OID_MGT_H)
7 #define _OID_MGT_H
8 
9 #include "isl_oid.h"
10 #include "islpci_dev.h"
11 
12 extern struct oid_t isl_oid[];
13 
14 int mgt_init(islpci_private *);
15 
16 void mgt_clean(islpci_private *);
17 
18 /* I don't know where to put these 2 */
19 extern const int frequency_list_a[];
20 int channel_of_freq(int);
21 
22 void mgt_le_to_cpu(int, void *);
23 
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);
26 
27 
28 int mgt_get_request(islpci_private *, enum oid_num_t, int, void *,
29 		    union oid_res_t *);
30 
31 int mgt_commit_list(islpci_private *, enum oid_num_t *, int);
32 
33 void mgt_set(islpci_private *, enum oid_num_t, void *);
34 
35 void mgt_get(islpci_private *, enum oid_num_t, void *);
36 
37 int mgt_commit(islpci_private *);
38 
39 int mgt_mlme_answer(islpci_private *);
40 
41 enum oid_num_t mgt_oidtonum(u32 oid);
42 
43 int mgt_response_to_str(enum oid_num_t, union oid_res_t *, char *);
44 
45 #endif				/* !defined(_OID_MGT_H) */
46 /* EOF */
47