mailer.conf - Add missing send-mail for dma.
[dragonfly.git] / sys / dev / netif / acx / _acxcmd.h
1 /*
2  * Copyright (c) 2006 The DragonFly Project.  All rights reserved.
3  * 
4  * This code is derived from software contributed to The DragonFly Project
5  * by Sepherosa Ziehau <sepherosa@gmail.com>
6  * 
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 
11  * 1. Redistributions of source code must retain the above copyright
12  *    notice, this list of conditions and the following disclaimer.
13  * 2. Redistributions in binary form must reproduce the above copyright
14  *    notice, this list of conditions and the following disclaimer in
15  *    the documentation and/or other materials provided with the
16  *    distribution.
17  * 3. Neither the name of The DragonFly Project nor the names of its
18  *    contributors may be used to endorse or promote products derived
19  *    from this software without specific, prior written permission.
20  * 
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
25  * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26  * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
27  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
31  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32  * SUCH DAMAGE.
33  * 
34  * $DragonFly: src/sys/dev/netif/acx/_acxcmd.h,v 1.2 2008/06/06 10:47:14 sephe Exp $
35  */
36
37 #ifndef _X_ACXCMD_H
38 #define _X_ACXCMD_H
39
40 #define ACXCMD_GET_CONF         0x01
41 #define ACXCMD_SET_CONF         0x02
42 #define ACXCMD_ENABLE_RXCHAN    0x03
43 #define ACXCMD_ENABLE_TXCHAN    0x04
44 #define ACXCMD_TMPLT_TIM        0x0a
45 #define ACXCMD_JOIN_BSS         0x0b
46 #define ACXCMD_WEP_MGMT         0x0c    /* acx111 */
47 #define ACXCMD_SLEEP            0x0f
48 #define ACXCMD_WAKEUP           0x10
49 #define ACXCMD_INIT_MEM         0x12    /* acx100 */
50 #define ACXCMD_TMPLT_BEACON     0x13
51 #define ACXCMD_TMPLT_PROBE_RESP 0x14
52 #define ACXCMD_TMPLT_NULL_DATA  0x15
53 #define ACXCMD_TMPLT_PROBE_REQ  0x16
54 #define ACXCMD_INIT_RADIO       0x18
55 #define ACXCMD_CALIBRATE        0x19    /* acx111 */
56
57 #if 0
58 /*
59  * acx111 does not agree with acx100 about
60  * the meaning of following values.  So they
61  * are put into chip specific files.
62  */
63 #define ACX_CONF_FW_RING        0x0003
64 #define ACX_CONF_MEMOPT         0x0005
65 #endif
66 #define ACX_CONF_MEMBLK_SIZE    0x0004  /* acx100 */
67 #define ACX_CONF_RATE_FALLBACK  0x0006
68 #define ACX_CONF_WEPOPT         0x0007  /* acx100 */
69 #define ACX_CONF_MMAP           0x0008
70 #define ACX_CONF_FWREV          0x000d
71 #define ACX_CONF_RXOPT          0x0010
72 #define ACX_CONF_OPTION         0x0015  /* acx111 */
73 #define ACX_CONF_EADDR          0x1001
74 #define ACX_CONF_NRETRY_SHORT   0x1005
75 #define ACX_CONF_NRETRY_LONG    0x1006
76 #define ACX_CONF_WEPKEY         0x1007  /* acx100 */
77 #define ACX_CONF_MSDU_LIFETIME  0x1008
78 #define ACX_CONF_REGDOM         0x100a
79 #define ACX_CONF_ANTENNA        0x100b
80 #define ACX_CONF_TXPOWER        0x100d  /* acx111 */
81 #define ACX_CONF_CCA_MODE       0x100e
82 #define ACX_CONF_ED_THRESH      0x100f
83 #define ACX_CONF_WEP_TXKEY      0x1010
84
85 #endif  /* !_X_ACXCMD_H */