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
2428 * @NL80211_MNTR_FLAG_OTHER_BSS: disable BSSID filtering2428 * @NL80211_MNTR_FLAG_OTHER_BSS: disable BSSID filtering
2429 * @NL80211_MNTR_FLAG_COOK_FRAMES: report frames after processing.2429 * @NL80211_MNTR_FLAG_COOK_FRAMES: report frames after processing.
2430 * overrides all other flags.2430 * overrides all other flags.
2431 * @NL80211_MNTR_FLAG_ACTIVE: use the configured MAC address
2432 * and ACK incoming unicast packets.
2431 *2433 *
2432 * @__NL80211_MNTR_FLAG_AFTER_LAST: internal use2434 * @__NL80211_MNTR_FLAG_AFTER_LAST: internal use
2433 * @NL80211_MNTR_FLAG_MAX: highest possible monitor flag2435 * @NL80211_MNTR_FLAG_MAX: highest possible monitor flag
@@ -2439,6 +2441,7 @@ enum nl80211_mntr_flags { · 5 unmodified lines
2439 NL80211_MNTR_FLAG_CONTROL,2441 NL80211_MNTR_FLAG_CONTROL,
2440 NL80211_MNTR_FLAG_OTHER_BSS,2442 NL80211_MNTR_FLAG_OTHER_BSS,
2441 NL80211_MNTR_FLAG_COOK_FRAMES,2443 NL80211_MNTR_FLAG_COOK_FRAMES,
2444 NL80211_MNTR_FLAG_ACTIVE,
2442 2445
2443 /* keep last */2446 /* keep last */
2444 __NL80211_MNTR_FLAG_AFTER_LAST,2447 __NL80211_MNTR_FLAG_AFTER_LAST,
@@ -3595,6 +3598,7 @@ enum nl80211_feature_flags { · 1150 unmodified lines
3595 NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 1 << 14,3598 NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 1 << 14,
3596 NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15,3599 NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15,
3597 NL80211_FEATURE_USERSPACE_MPM = 1 << 16,3600 NL80211_FEATURE_USERSPACE_MPM = 1 << 16,
3601 NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17,
3598};3602};
3599 3603
3600/**3604/**

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