Sorry, looks like that's my mistake (I thought the patch had made it in). Greg -- thanks for queuing the patch. For completeness, I should note that ath5k mesh is later broken by "ath5k: Update PCU code" and fixed again (hopefully both in by 2.6.29!) by "ath5k: Correct usage of AR5K_CFG_ADHOC" Greg and Keir -- I also suggest Brian's patch, "mac80211: decrement ref count to netdev after launching mesh discovery", commit 05188d21d21dc8976bff13a9ca73a230eef86d40 for stable as it should apply there and fixes a bug that will sometimes prevent module unload if a mesh interface was active. Thanks, On Fri, Jan 23, 2009 at 7:17 AM, Bob Copeland <me@xxxxxxxxxxxxxxx> wrote: > On Fri, Jan 23, 2009 at 8:30 AM, Keir <keirlawson@xxxxxxxxx> wrote: >> Hi, >> >> According to the 802.11s website it seems to claim that mesh >> networking is supported for ath5k devices in kernel 2.6.28, however, >> upon running ifconfig mesh0 up (having previously created the mesh >> device using iw) I get "SIOCSIFFLAGS: Operation not supported". > > 2.6.28 does not support mesh, at least from looking at the code, > ath5k_add_interface has: > > switch (conf->type) { > case NL80211_IFTYPE_STATION: > case NL80211_IFTYPE_ADHOC: > case NL80211_IFTYPE_MONITOR: > sc->opmode = conf->type; > break; > default: > ret = -EOPNOTSUPP; > goto end; > } > > It needs to at least also have NL80211_IFTYPE_MESH_POINT. > > Mesh was enabled for 2.6.29 via b706e65b40417e03c2451bb3f92488f3736843fa, > so if you need it in 2.6.28 you can ask Greg to pick it up for stable. > > -- > Bob Copeland %% www.bobcopeland.com > -- > 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 > -- 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