History

cfg80211: support an active monitor interface flag

An active monitor interface is one that is used for communication (via injection). It is expected to ACK incoming unicast packets. This is useful for running various 802.11 testing utilities that associate to an AP via injection and manage the state in user space.

Felix Fietkau committed 13 years ago

Commit e057d3c1 parent 6abb9cb3 files · +16 −0Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+4−0
@@ -2428,6 +2428,8 @@ enum nl80211_survey_info { · 2427 unmodified lines
24282428 * @NL80211_MNTR_FLAG_OTHER_BSS: disable BSSID filtering
24292429 * @NL80211_MNTR_FLAG_COOK_FRAMES: report frames after processing.
24302430 * overrides all other flags.
2431+ * @NL80211_MNTR_FLAG_ACTIVE: use the configured MAC address
2432+ * and ACK incoming unicast packets.
24312433 *
24322434 * @__NL80211_MNTR_FLAG_AFTER_LAST: internal use
24332435 * @NL80211_MNTR_FLAG_MAX: highest possible monitor flag
@@ -2439,6 +2441,7 @@ enum nl80211_mntr_flags { · 5 unmodified lines
24392441 NL80211_MNTR_FLAG_CONTROL,
24402442 NL80211_MNTR_FLAG_OTHER_BSS,
24412443 NL80211_MNTR_FLAG_COOK_FRAMES,
2444+ NL80211_MNTR_FLAG_ACTIVE,
24422445
24432446 /* keep last */
24442447 __NL80211_MNTR_FLAG_AFTER_LAST,
@@ -3595,6 +3598,7 @@ enum nl80211_feature_flags { · 1150 unmodified lines
35953598 NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 1 << 14,
35963599 NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15,
35973600 NL80211_FEATURE_USERSPACE_MPM = 1 << 16,
3601+ NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17,
35983602 };
35993603
36003604 /**

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