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/linux (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
12791279 * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from
12801280 * association request when used with NL80211_CMD_NEW_STATION)
12811281 *
1282+ * @NL80211_ATTR_SCAN_FLAGS: scan request control flags (u32)
1283+ *
12821284 * @NL80211_ATTR_MAX: highest attribute number currently defined
12831285 * @__NL80211_ATTR_AFTER_LAST: internal use
12841286 */
@@ -1540,6 +1542,8 @@ enum nl80211_attrs { · 255 unmodified lines
15401542
15411543 NL80211_ATTR_VHT_CAPABILITY,
15421544
1545+ NL80211_ATTR_SCAN_FLAGS,
1546+
15431547 /* add attributes here, update the policy in nl80211.c */
15441548
15451549 __NL80211_ATTR_AFTER_LAST,
@@ -3086,4 +3090,15 @@ enum nl80211_connect_failed_reason { · 1540 unmodified lines
30863090 NL80211_CONN_FAIL_BLOCKED_CLIENT,
30873091 };
30883092
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)
3100+enum nl80211_scan_flags {
3101+};
3102+ */
3103+
30893104 #endif /* __LINUX_NL80211_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t