Loading...
Note: File does not exist in v3.1.
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
12extern struct oid_t isl_oid[];
13
14int mgt_init(islpci_private *);
15
16void mgt_clean(islpci_private *);
17
18/* I don't know where to put these 2 */
19extern const int frequency_list_a[];
20int channel_of_freq(int);
21
22void mgt_le_to_cpu(int, void *);
23
24int mgt_set_request(islpci_private *, enum oid_num_t, int, void *);
25int mgt_set_varlen(islpci_private *, enum oid_num_t, void *, int);
26
27
28int mgt_get_request(islpci_private *, enum oid_num_t, int, void *,
29 union oid_res_t *);
30
31int mgt_commit_list(islpci_private *, enum oid_num_t *, int);
32
33void mgt_set(islpci_private *, enum oid_num_t, void *);
34
35void mgt_get(islpci_private *, enum oid_num_t, void *);
36
37int mgt_commit(islpci_private *);
38
39int mgt_mlme_answer(islpci_private *);
40
41enum oid_num_t mgt_oidtonum(u32 oid);
42
43int mgt_response_to_str(enum oid_num_t, union oid_res_t *, char *);
44
45#endif /* !defined(_OID_MGT_H) */
46/* EOF */