aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2014-10-22 15:23:05 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-10-27 03:48:33 -0400
commite8f479b11268af3f206d1580f6b0d572d6ecb4f7 (patch)
treecc3e07ffbe5c26c3a928dd1d59bcf3d9d1b378b8 /include/uapi/linux
parent9a0cb89a8aad7c04505abf88202b1dd376fc50bc (diff)
cfg80211: support configuring vif mac addr on create
This is useful when creating virtual interfaces. Keeps udev from mucking with things it shouldn't, since the default MAC is never seen by udev when specified on the cmd-line during creation. Signed-off-by: Ben Greear <greearb@candelatech.com> [check for feature flag in nl80211 to force drivers to set it] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index be1d5def304d..f7daae59248e 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -4056,6 +4056,9 @@ enum nl80211_ap_sme_features {
4056 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS 4056 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
4057 * command. Standard IEEE 802.11 TSPEC setup is not yet supported, it 4057 * command. Standard IEEE 802.11 TSPEC setup is not yet supported, it
4058 * needs to be able to handle Block-Ack agreements and other things. 4058 * needs to be able to handle Block-Ack agreements and other things.
4059 * @NL80211_FEATURE_MAC_ON_CREATE: Device supports configuring
4060 * the vif's MAC address upon creation.
4061 * See 'macaddr' field in the vif_params (cfg80211.h).
4059 */ 4062 */
4060enum nl80211_feature_flags { 4063enum nl80211_feature_flags {
4061 NL80211_FEATURE_SK_TX_STATUS = 1 << 0, 4064 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -4085,6 +4088,7 @@ enum nl80211_feature_flags {
4085 NL80211_FEATURE_STATIC_SMPS = 1 << 24, 4088 NL80211_FEATURE_STATIC_SMPS = 1 << 24,
4086 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25, 4089 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
4087 NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26, 4090 NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26,
4091 NL80211_FEATURE_MAC_ON_CREATE = 1 << 27,
4088}; 4092};
4089 4093
4090/** 4094/**