aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nl80211.h
diff options
context:
space:
mode:
authorSam Leffler <sleffler@chromium.org>2012-10-12 00:03:31 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-10-18 03:01:23 -0400
commited47377154310fd2fd59d75fcdeb3d022344fb31 (patch)
tree228eb525b26b448b13b8d74de01ba91a42dedc06 /include/uapi/linux/nl80211.h
parentf461be3eff662f01a177ecea8c1d7b040bb6bfbe (diff)
{nl,cfg}80211: add a flags word to scan requests
Add a flags word to direct and scheduled scan requests; it will be used for control of optional behaviours such as flushing the bss cache prior to doing a scan. Signed-off-by: Sam Leffler <sleffler@chromium.org> Tested-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux/nl80211.h')
-rw-r--r--include/uapi/linux/nl80211.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 71ab23b0356d..4d0b49ee4c2c 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -1279,6 +1279,8 @@ enum nl80211_commands {
1279 * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from 1279 * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from
1280 * association request when used with NL80211_CMD_NEW_STATION) 1280 * association request when used with NL80211_CMD_NEW_STATION)
1281 * 1281 *
1282 * @NL80211_ATTR_SCAN_FLAGS: scan request control flags (u32)
1283 *
1282 * @NL80211_ATTR_MAX: highest attribute number currently defined 1284 * @NL80211_ATTR_MAX: highest attribute number currently defined
1283 * @__NL80211_ATTR_AFTER_LAST: internal use 1285 * @__NL80211_ATTR_AFTER_LAST: internal use
1284 */ 1286 */
@@ -1540,6 +1542,8 @@ enum nl80211_attrs {
1540 1542
1541 NL80211_ATTR_VHT_CAPABILITY, 1543 NL80211_ATTR_VHT_CAPABILITY,
1542 1544
1545 NL80211_ATTR_SCAN_FLAGS,
1546
1543 /* add attributes here, update the policy in nl80211.c */ 1547 /* add attributes here, update the policy in nl80211.c */
1544 1548
1545 __NL80211_ATTR_AFTER_LAST, 1549 __NL80211_ATTR_AFTER_LAST,
@@ -3086,4 +3090,15 @@ enum nl80211_connect_failed_reason {
3086 NL80211_CONN_FAIL_BLOCKED_CLIENT, 3090 NL80211_CONN_FAIL_BLOCKED_CLIENT,
3087}; 3091};
3088 3092
3093/**
3094 * enum nl80211_scan_flags - scan request control flags
3095 *
3096 * Scan request control flags are used to control the handling
3097 * of NL80211_CMD_TRIGGER_SCAN and NL80211_CMD_START_SCHED_SCAN
3098 * requests.
3099 * (will be filled)
3100enum nl80211_scan_flags {
3101};
3102 */
3103
3089#endif /* __LINUX_NL80211_H */ 3104#endif /* __LINUX_NL80211_H */