blob: f35e79486428d366bee01cbf77782002b6b2fd5d [file] [log] [blame]
Henk de Groot68c0bdf2009-09-27 11:12:52 +02001/*******************************************************************************
2 * Agere Systems Inc.
3 * Wireless device driver for Linux (wlags49).
4 *
5 * Copyright (c) 1998-2003 Agere Systems Inc.
6 * All rights reserved.
7 * http://www.agere.com
8 *
9 * Initially developed by TriplePoint, Inc.
10 * http://www.triplepoint.com
11 *
12 *------------------------------------------------------------------------------
13 *
14 * Header describing information required for the private IOCTL handlers.
15 *
16 *------------------------------------------------------------------------------
17 *
18 * SOFTWARE LICENSE
19 *
20 * This software is provided subject to the following terms and conditions,
21 * which you should read carefully before using the software. Using this
22 * software indicates your acceptance of these terms and conditions. If you do
23 * not agree with these terms and conditions, do not use the software.
24 *
Al Virod36b6912011-12-29 17:09:01 -050025 * Copyright © 2003 Agere Systems Inc.
Henk de Groot68c0bdf2009-09-27 11:12:52 +020026 * All rights reserved.
27 *
28 * Redistribution and use in source or binary forms, with or without
29 * modifications, are permitted provided that the following conditions are met:
30 *
31 * . Redistributions of source code must retain the above copyright notice, this
32 * list of conditions and the following Disclaimer as comments in the code as
33 * well as in the documentation and/or other materials provided with the
34 * distribution.
35 *
36 * . Redistributions in binary form must reproduce the above copyright notice,
37 * this list of conditions and the following Disclaimer in the documentation
38 * and/or other materials provided with the distribution.
39 *
40 * . Neither the name of Agere Systems Inc. nor the names of the contributors
41 * may be used to endorse or promote products derived from this software
42 * without specific prior written permission.
43 *
44 * Disclaimer
45 *
Al Virod36b6912011-12-29 17:09:01 -050046 * THIS SOFTWARE IS PROVIDED “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
Henk de Groot68c0bdf2009-09-27 11:12:52 +020047 * INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF
48 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY
49 * USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN
50 * RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. OR CONTRIBUTORS BE LIABLE FOR ANY
51 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
52 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
54 * ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, CONTRACT, STRICT
55 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
56 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
57 * DAMAGE.
58 *
59 ******************************************************************************/
60
Henk de Groot68c0bdf2009-09-27 11:12:52 +020061#ifndef __WL_PRIV_H__
62#define __WL_PRIV_H__
63
64
65
66
67/*******************************************************************************
68 * function prototypes
69 ******************************************************************************/
70#ifdef WIRELESS_EXT
71
72
Johan Meiring30b437d2012-11-30 18:58:38 +020073int wvlan_set_netname(struct net_device *, struct iw_request_info *,
74 union iwreq_data *, char *extra);
Henk de Groot68c0bdf2009-09-27 11:12:52 +020075
Johan Meiring30b437d2012-11-30 18:58:38 +020076int wvlan_get_netname(struct net_device *, struct iw_request_info *,
77 union iwreq_data *, char *extra);
Henk de Groot68c0bdf2009-09-27 11:12:52 +020078
Johan Meiring30b437d2012-11-30 18:58:38 +020079int wvlan_set_station_nickname(struct net_device *, struct iw_request_info *,
80 union iwreq_data *, char *extra);
Henk de Groot68c0bdf2009-09-27 11:12:52 +020081
Johan Meiring30b437d2012-11-30 18:58:38 +020082int wvlan_get_station_nickname(struct net_device *, struct iw_request_info *,
83 union iwreq_data *, char *extra);
Henk de Groot68c0bdf2009-09-27 11:12:52 +020084
Johan Meiring30b437d2012-11-30 18:58:38 +020085int wvlan_set_porttype(struct net_device *, struct iw_request_info *,
86 union iwreq_data *, char *extra);
Henk de Groot68c0bdf2009-09-27 11:12:52 +020087
Johan Meiring30b437d2012-11-30 18:58:38 +020088int wvlan_get_porttype(struct net_device *, struct iw_request_info *,
89 union iwreq_data *, char *extra);
Henk de Groot68c0bdf2009-09-27 11:12:52 +020090
91
Johan Meiring067f0dc2012-11-30 18:58:37 +020092#endif /* WIRELESS_EXT */
Henk de Groot68c0bdf2009-09-27 11:12:52 +020093
94
95
96
97#ifdef USE_UIL
98
Johan Meiring00871bc2012-11-30 18:58:36 +020099int wvlan_uil(struct uilreq *urq, struct wl_private *lp);
Henk de Groot68c0bdf2009-09-27 11:12:52 +0200100
Johan Meiring067f0dc2012-11-30 18:58:37 +0200101/* int wvlan_uil_connect( struct uilreq *urq, struct wl_private *lp ); */
102/* int wvlan_uil_disconnect( struct uilreq *urq, struct wl_private *lp ); */
103/* int wvlan_uil_action( struct uilreq *urq, struct wl_private *lp ); */
104/* int wvlan_uil_block( struct uilreq *urq, struct wl_private *lp ); */
105/* int wvlan_uil_unblock( struct uilreq *urq, struct wl_private *lp ); */
106/* int wvlan_uil_send_diag_msg( struct uilreq *urq, struct wl_private *lp ); */
107/* int wvlan_uil_put_info( struct uilreq *urq, struct wl_private *lp ); */
108/* int wvlan_uil_get_info( struct uilreq *urq, struct wl_private *lp ); */
Henk de Groot68c0bdf2009-09-27 11:12:52 +0200109
Johan Meiring067f0dc2012-11-30 18:58:37 +0200110/* int cfg_driver_info( struct uilreq *urq, struct wl_private *lp ); */
111/* int cfg_driver_identity( struct uilreq *urq, struct wl_private *lp ); */
Henk de Groot68c0bdf2009-09-27 11:12:52 +0200112
Johan Meiring067f0dc2012-11-30 18:58:37 +0200113#endif /* USE_UIL */
Henk de Groot68c0bdf2009-09-27 11:12:52 +0200114
115
116#ifdef USE_RTS
117
Johan Meiring00871bc2012-11-30 18:58:36 +0200118int wvlan_rts(struct rtsreq *rrq, __u32 io_base);
119int wvlan_rts_read(__u16 reg, __u16 *val, __u32 io_base);
120int wvlan_rts_write(__u16 reg, __u16 val, __u32 io_base);
121int wvlan_rts_batch_read(struct rtsreq *rrq, __u32 io_base);
122int wvlan_rts_batch_write(struct rtsreq *rrq, __u32 io_base);
Henk de Groot68c0bdf2009-09-27 11:12:52 +0200123
Johan Meiring067f0dc2012-11-30 18:58:37 +0200124#endif /* USE_RTS */
Henk de Groot68c0bdf2009-09-27 11:12:52 +0200125
126
Johan Meiring067f0dc2012-11-30 18:58:37 +0200127#endif /* __WL_PRIV_H__ */