OLD | NEW |
1 //------------------------------------------------------------------------------ | 1 //------------------------------------------------------------------------------ |
2 | 2 |
3 // <copyright file="ar6kap_common.h" company="Atheros"> | 3 // <copyright file="ar6kap_common.h" company="Atheros"> |
4 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved. | 4 // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved. |
5 // | 5 // |
6 // This program is free software; you can redistribute it and/or modify | |
7 // it under the terms of the GNU General Public License version 2 as | |
8 // published by the Free Software Foundation; | |
9 // | 6 // |
10 // Software distributed under the License is distributed on an "AS | 7 // Permission to use, copy, modify, and/or distribute this software for any |
11 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 8 // purpose with or without fee is hereby granted, provided that the above |
12 // implied. See the License for the specific language governing | 9 // copyright notice and this permission notice appear in all copies. |
13 // rights and limitations under the License. | 10 // |
| 11 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 12 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 13 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 14 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 15 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 16 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
14 // | 18 // |
15 // | 19 // |
16 //------------------------------------------------------------------------------ | 20 //------------------------------------------------------------------------------ |
17 | 21 |
18 //============================================================================== | 22 //============================================================================== |
19 | 23 |
20 // This file contains the definitions of common AP mode data structures. | 24 // This file contains the definitions of common AP mode data structures. |
21 // | 25 // |
22 // Author(s): ="Atheros" | 26 // Author(s): ="Atheros" |
23 //============================================================================== | 27 //============================================================================== |
24 | 28 |
25 #ifndef _AR6KAP_COMMON_H_ | 29 #ifndef _AR6KAP_COMMON_H_ |
26 #define _AR6KAP_COMMON_H_ | 30 #define _AR6KAP_COMMON_H_ |
27 /* | 31 /* |
28 * Used with AR6000_XIOCTL_AP_GET_STA_LIST | 32 * Used with AR6000_XIOCTL_AP_GET_STA_LIST |
29 */ | 33 */ |
30 typedef struct { | 34 typedef struct { |
31 A_UINT8 mac[ATH_MAC_LEN]; | 35 A_UINT8 mac[ATH_MAC_LEN]; |
32 A_UINT8 aid; | 36 A_UINT8 aid; |
33 A_UINT8 keymgmt; | 37 A_UINT8 keymgmt; |
34 A_UINT8 ucipher; | 38 A_UINT8 ucipher; |
35 A_UINT8 auth; | 39 A_UINT8 auth; |
36 } station_t; | 40 } station_t; |
37 typedef struct { | 41 typedef struct { |
38 station_t sta[AP_MAX_NUM_STA]; | 42 station_t sta[AP_MAX_NUM_STA]; |
39 } ap_get_sta_t; | 43 } ap_get_sta_t; |
40 #endif /* _AR6KAP_COMMON_H_ */ | 44 #endif /* _AR6KAP_COMMON_H_ */ |
OLD | NEW |