diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-09-16 08:58:22 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-16 15:46:06 -0400 |
commit | 074ac8df9f93f2a35a356d92fd7f16cd846f0a03 (patch) | |
tree | b6a77291a1eea9a11862ad78e965c1df29e62d43 /include/linux/nl80211.h | |
parent | f799a301abf77b87133d624164d28dc2b521e99d (diff) |
cfg80211/nl80211: introduce p2p device types
This adds P2P-STA and P2P-GO as device types so
we can distinguish between those and normal STA
or AP (respectively) type interfaces.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 31603e8b5581..f0518b0278a9 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1020,6 +1020,8 @@ enum nl80211_attrs { | |||
1020 | * @NL80211_IFTYPE_WDS: wireless distribution interface | 1020 | * @NL80211_IFTYPE_WDS: wireless distribution interface |
1021 | * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames | 1021 | * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames |
1022 | * @NL80211_IFTYPE_MESH_POINT: mesh point | 1022 | * @NL80211_IFTYPE_MESH_POINT: mesh point |
1023 | * @NL80211_IFTYPE_P2P_CLIENT: P2P client | ||
1024 | * @NL80211_IFTYPE_P2P_GO: P2P group owner | ||
1023 | * @NL80211_IFTYPE_MAX: highest interface type number currently defined | 1025 | * @NL80211_IFTYPE_MAX: highest interface type number currently defined |
1024 | * @NUM_NL80211_IFTYPES: number of defined interface types | 1026 | * @NUM_NL80211_IFTYPES: number of defined interface types |
1025 | * | 1027 | * |
@@ -1036,6 +1038,8 @@ enum nl80211_iftype { | |||
1036 | NL80211_IFTYPE_WDS, | 1038 | NL80211_IFTYPE_WDS, |
1037 | NL80211_IFTYPE_MONITOR, | 1039 | NL80211_IFTYPE_MONITOR, |
1038 | NL80211_IFTYPE_MESH_POINT, | 1040 | NL80211_IFTYPE_MESH_POINT, |
1041 | NL80211_IFTYPE_P2P_CLIENT, | ||
1042 | NL80211_IFTYPE_P2P_GO, | ||
1039 | 1043 | ||
1040 | /* keep last */ | 1044 | /* keep last */ |
1041 | NUM_NL80211_IFTYPES, | 1045 | NUM_NL80211_IFTYPES, |