In the compat-wireless-2008-04-07 package AP support is deactivated for
the mac80211 framework.

This Patch from Johannes Berg will activate it.
In the other patch for the mac80211 package I send to the list this
patch is integrated for compat-wireless-2008-04-20.


Signed-off-by: Hauke Mehrtens <[EMAIL PROTECTED]>

--
Hauke Mehrtens
Index: package/mac80211/patches/002-allow-ap-vlan-modes.patch
===================================================================
--- package/mac80211/patches/002-allow-ap-vlan-modes.patch	(Revision 0)
+++ package/mac80211/patches/002-allow-ap-vlan-modes.patch	(Revision 0)
@@ -0,0 +1,28 @@
+Subject: mac80211: allow AP and VLAN modes
+
+Source: http://johannes.sipsolutions.net/patches/kernel/all/LATEST/016-allow-ap-vlan-modes.patch
+This patch allows switching interfaces into AP/VLAN modes using
+cfg80211 (nl80211). Don't allow doing it with wext because then
+people will just attempt to do it manually (without hostapd) and
+complain that it doesn't work.
+
+Signed-off-by: Johannes Berg <[EMAIL PROTECTED]>
+---
+ net/mac80211/cfg.c |    6 ++++
+ 1 file changed, 6 insertions(+)
+
+--- compat-wireless-2008-04-07/net/mac80211/cfg.c	2008-04-07 06:13:14.000000000 +0200
++++ compat-wireless-2008-04-07.new/net/mac80211/cfg.c	2008-04-20 16:17:12.000000000 +0200
+@@ -35,6 +35,12 @@
+ 	case NL80211_IFTYPE_MESH_POINT:
+ 		return IEEE80211_IF_TYPE_MESH_POINT;
+ #endif
++	case NL80211_IFTYPE_AP: 
++		return IEEE80211_IF_TYPE_AP; 
++	case NL80211_IFTYPE_AP_VLAN: 
++		return IEEE80211_IF_TYPE_VLAN;
++	case NL80211_IFTYPE_WDS:
++		return IEEE80211_IF_TYPE_WDS;
+ 	default:
+ 		return IEEE80211_IF_TYPE_INVALID;
+ 	}

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to