PageRenderTime 34ms CodeModel.GetById 30ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/net/wireless/prism54/oid_mgt.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 59 lines | 22 code | 18 blank | 19 comment | 0 complexity | c5daa942f3123ccafc384121ea034d19 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 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, write to the Free Software
15 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16 *
17 */
18
19#if !defined(_OID_MGT_H)
20#define _OID_MGT_H
21
22#include "isl_oid.h"
23#include "islpci_dev.h"
24
25extern struct oid_t isl_oid[];
26
27int mgt_init(islpci_private *);
28
29void mgt_clean(islpci_private *);
30
31/* I don't know where to put these 2 */
32extern const int frequency_list_a[];
33int channel_of_freq(int);
34
35void mgt_le_to_cpu(int, void *);
36
37int mgt_set_request(islpci_private *, enum oid_num_t, int, void *);
38int mgt_set_varlen(islpci_private *, enum oid_num_t, void *, int);
39
40
41int mgt_get_request(islpci_private *, enum oid_num_t, int, void *,
42		    union oid_res_t *);
43
44int mgt_commit_list(islpci_private *, enum oid_num_t *, int);
45
46void mgt_set(islpci_private *, enum oid_num_t, void *);
47
48void mgt_get(islpci_private *, enum oid_num_t, void *);
49
50int mgt_commit(islpci_private *);
51
52int mgt_mlme_answer(islpci_private *);
53
54enum oid_num_t mgt_oidtonum(u32 oid);
55
56int mgt_response_to_str(enum oid_num_t, union oid_res_t *, char *);
57
58#endif				/* !defined(_OID_MGT_H) */
59/* EOF */