History

{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.

Sam Leffler committed 14 years ago

Commit ed473771 parent f461be33 files · +31 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+15−0
@@ -1279,6 +1279,8 @@ enum nl80211_commands { · 1278 unmodified lines
1279 * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from1279 * @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 defined1284 * @NL80211_ATTR_MAX: highest attribute number currently defined
1283 * @__NL80211_ATTR_AFTER_LAST: internal use1285 * @__NL80211_ATTR_AFTER_LAST: internal use
1284 */1286 */
@@ -1540,6 +1542,8 @@ enum nl80211_attrs { · 255 unmodified lines
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 { · 1540 unmodified lines
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 */