Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] nl80211: update interface types
@ 2007-03-27 16:00 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-03-27 16:00 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

"secondary" type doesn't seem useful, no driver implements it and the
semantics aren't clear either. Hence, don't support that in nl80211 but
do support AP_VLAN type devices.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
 include/linux/nl80211.h |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

--- wireless-dev.orig/include/linux/nl80211.h	2007-03-27 16:33:42.773155480 +0200
+++ wireless-dev/include/linux/nl80211.h	2007-03-27 16:33:45.543155480 +0200
@@ -224,16 +224,13 @@ enum nl80211_multicast_groups {
  * @NL80211_IFTYPE_ADHOC: independent BSS member
  * @NL80211_IFTYPE_STATION: managed BSS member
  * @NL80211_IFTYPE_AP: access point
+ * @NL80211_IFTYPE_AP_VLAN: VLAN interface for access points
  * @NL80211_IFTYPE_WDS: wireless distribution interface
- * @NL80211_IFTYPE_SECONDARY: ???
  * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames
  * @__NL80211_IFTYPE_AFTER_LAST: internal use
  *
  * These values are used with the NL80211_ATTR_IFTYPE
  * to set the type of an interface.
- * Note that these are intentionally compatible with
- * the IW_MODE_* constants except for the removal of
- * IW_MODE_AUTO.
  *
  */
 enum nl80211_iftype {
@@ -241,8 +238,8 @@ enum nl80211_iftype {
 	NL80211_IFTYPE_ADHOC,
 	NL80211_IFTYPE_STATION,
 	NL80211_IFTYPE_AP,
+	NL80211_IFTYPE_AP_VLAN,
 	NL80211_IFTYPE_WDS,
-	NL80211_IFTYPE_SECONDARY,
 	NL80211_IFTYPE_MONITOR,
 
 	/* keep last */



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-28  9:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 16:00 [PATCH] nl80211: update interface types Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox