OLD | NEW |
(Empty) | |
| 1 //------------------------------------------------------------------------------ |
| 2 // <copyright file="discovery.h" company="Atheros"> |
| 3 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved. |
| 4 // |
| 5 // This program is free software; you can redistribute it and/or modify |
| 6 // it under the terms of the GNU General Public License version 2 as |
| 7 // published by the Free Software Foundation; |
| 8 // |
| 9 // Software distributed under the License is distributed on an "AS |
| 10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 11 // implied. See the License for the specific language governing |
| 12 // rights and limitations under the License. |
| 13 // |
| 14 // |
| 15 //------------------------------------------------------------------------------ |
| 16 //============================================================================== |
| 17 // Author(s): ="Atheros" |
| 18 //============================================================================== |
| 19 |
| 20 #ifndef _DISCOVERY_H_ |
| 21 #define _DISCOVERY_H_ |
| 22 |
| 23 /* |
| 24 * DC_SCAN_PRIORITY is an 8-bit bitmap of the scan priority of a channel |
| 25 */ |
| 26 typedef enum { |
| 27 DEFAULT_SCPRI = 0x01, |
| 28 POPULAR_SCPRI = 0x02, |
| 29 SSIDS_SCPRI = 0x04, |
| 30 PROF_SCPRI = 0x08, |
| 31 } DC_SCAN_PRIORITY; |
| 32 |
| 33 /* The following search type construct can be used to manipulate the behavior of
the search module based on different bits set */ |
| 34 typedef enum { |
| 35 SCAN_RESET = 0, |
| 36 SCAN_ALL = (DEFAULT_SCPRI | POPULAR_SCPRI | \ |
| 37 SSIDS_SCPRI | PROF_SCPRI), |
| 38 |
| 39 SCAN_POPULAR = (POPULAR_SCPRI | SSIDS_SCPRI | PROF_SCPRI), |
| 40 SCAN_SSIDS = (SSIDS_SCPRI | PROF_SCPRI), |
| 41 SCAN_PROF_MASK = (PROF_SCPRI), |
| 42 SCAN_MULTI_CHANNEL = 0x000100, |
| 43 SCAN_DETERMINISTIC = 0x000200, |
| 44 SCAN_PROFILE_MATCH_TERMINATED = 0x000400, |
| 45 SCAN_HOME_CHANNEL_SKIP = 0x000800, |
| 46 SCAN_CHANNEL_LIST_CONTINUE = 0x001000, |
| 47 SCAN_CURRENT_SSID_SKIP = 0x002000, |
| 48 SCAN_ACTIVE_PROBE_DISABLE = 0x004000, |
| 49 SCAN_CHANNEL_HINT_ONLY = 0x008000, |
| 50 SCAN_ACTIVE_CHANNELS_ONLY = 0x010000, |
| 51 SCAN_UNUSED1 = 0x020000, /* unused */ |
| 52 SCAN_PERIODIC = 0x040000, |
| 53 SCAN_FIXED_DURATION = 0x080000, |
| 54 SCAN_AP_ASSISTED = 0x100000, |
| 55 } DC_SCAN_TYPE; |
| 56 |
| 57 typedef enum { |
| 58 BSS_REPORTING_DEFAULT = 0x0, |
| 59 EXCLUDE_NON_SCAN_RESULTS = 0x1, /* Exclude results outside of scan */ |
| 60 } DC_BSS_REPORTING_POLICY; |
| 61 |
| 62 typedef enum { |
| 63 DC_IGNORE_WPAx_GROUP_CIPHER = 0x01, |
| 64 DC_PROFILE_MATCH_DONE = 0x02, |
| 65 DC_IGNORE_AAC_BEACON = 0x04, |
| 66 DC_CSA_FOLLOW_BSS = 0x08, |
| 67 } DC_PROFILE_FILTER; |
| 68 |
| 69 #define DEFAULT_DC_PROFILE_FILTER (DC_CSA_FOLLOW_BSS) |
| 70 |
| 71 #endif /* _DISCOVERY_H_ */ |
OLD | NEW |