This allows creating interfaces in WDS mode or switching existing ones into WDS mode (both via cfg80211 and wext.) Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- Not too useful without AP mode, but I see no reason to not allow WDS (unlike AP where I do see reasons.) Maybe somebody can come up with a different use for it... net/mac80211/cfg.c | 2 ++ net/mac80211/wext.c | 3 +++ 2 files changed, 5 insertions(+) --- everything.orig/net/mac80211/cfg.c 2008-04-14 15:34:25.000000000 +0200 +++ everything/net/mac80211/cfg.c 2008-04-14 15:35:20.000000000 +0200 @@ -33,6 +33,8 @@ nl80211_type_to_mac80211_type(enum nl802 case NL80211_IFTYPE_MESH_POINT: return IEEE80211_IF_TYPE_MESH_POINT; #endif + case NL80211_IFTYPE_WDS: + return IEEE80211_IF_TYPE_WDS; default: return IEEE80211_IF_TYPE_INVALID; } --- everything.orig/net/mac80211/wext.c 2008-04-14 15:33:27.000000000 +0200 +++ everything/net/mac80211/wext.c 2008-04-14 15:35:20.000000000 +0200 @@ -236,6 +236,9 @@ static int ieee80211_ioctl_siwmode(struc case IW_MODE_ADHOC: type = IEEE80211_IF_TYPE_IBSS; break; + case IW_MODE_REPEAT: + type = IEEE80211_IF_TYPE_WDS; + break; case IW_MODE_MONITOR: type = IEEE80211_IF_TYPE_MNTR; break; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html