blob: 8ea15f98636cff640035c30a107d7af48334736d [file] [log] [blame]
/*
* Copyright (c) 2012 Quantenna Communications, Inc.
* All rights reserved.
*
* Common DFS re-entry definitions.
*/
#ifndef _IEEE80211_DFS_REENTRY_H
#define _IEEE80211_DFS_REENTRY_H
/*
* DFS-reentry
*/
#define IEEE80211_PICK_DOMIAN_MASK 0x0007
#define IEEE80211_PICK_ALL 0x0001 /* pick channel from all available channels */
#define IEEE80211_PICK_DFS 0x0002 /* pick channel from available DFS channel */
#define IEEE80211_PICK_NONDFS 0x0004 /* pick channel from available non-DFS channel */
#define IEEE80211_PICK_CONTROL_MASK 0x00F8
#define IEEE80211_PICK_SCAN_FLUSH 0x0008
#define IEEE80211_PICK_BG_ACTIVE 0x0010
#define IEEE80211_PICK_BG_PASSIVE_FAST 0x0020
#define IEEE80211_PICK_BG_PASSIVE_NORMAL 0x0040
#define IEEE80211_PICK_BG_PASSIVE_SLOW 0x0080
#define IEEE80211_PICK_BG_MODE_MASK 0x00F0
#define IEEE80211_PICK_ALGORITHM_MASK 0xFF00
#define IEEE80211_PICK_CLEAREST 0x0100 /* pick clearest channel */
#define IEEE80211_PICK_REENTRY 0x0200 /* pick channel again after DFS process */
#define IEEE80211_PICK_NOPICK 0x0400 /* do not pick channel */
#define IEEE80211_PICK_NOPICK_BG 0x0800 /* scan background and do not pick channel */
#define IEEE80211_PICK_DEFAULT (IEEE80211_PICK_ALL | IEEE80211_PICK_CLEAREST)
#define IEEE80211_SCS_PICK_DFS_ONLY 0x1/* Pick channels from DFS set only*/
#define IEEE80211_SCS_PICK_NON_DFS_ONLY 0x2/* Pick channels from Non-DFS set only*/
#define IEEE80211_SCS_PICK_AVAILABLE_DFS_ONLY 0x4/* Pick channels from available DFS set*/
#define IEEE80211_SCS_PICK_AVAILABLE_ANY_CHANNEL 0x8/* Pick channels from available DFS and Non-DFS sets*/
#define IEEE80211_SCS_PICK_ANYWAY 0x10/* Omit channel margins during channel pick*/
#define IEEE80211_SCS_PICK_NOT_AVAILABLE_DFS_ONLY 0x20/* Pick channels from unavailable DFS set*/
#endif