On Thu, May 22, 2008 at 11:17 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Thu, 2008-05-22 at 17:12 +0800, Zhu Yi wrote: >> On Wed, 2008-05-21 at 17:19 +0200, Stefanik Gábor wrote: >> > also works in monitor-while-associated mode. >> >> How does it work? AFAICS, mac80211 wext.c blocks setting essid and bssid >> in monitor mode. Did you patch it? > > You just create two virtual interfaces. Which, incidentally, iwlwifi > seems to be quite buggy about: it will accept all types, even those it > doesn't support (mesh, ap, wds?) > > johannes > Exactly. I should have wrote multi-VAP mode, since that's what it really is, except for that it doesn't panic, unlike madwifi's similarly named mode. Wext.c blocks setting ESSID and BSSID for monitor interfaces - but there is nothing that prevents a monitor and a station interface to coexist on the same wmaster - and even though setting ESSID and BSSID on the monitor interface (call it "rtap0") is blocked, they still work on the station interface (for example, "wlan0"). (This multi-interface mode is exposed by the iw tool, as well as aircrack-ng's airmon-ng script, which essentially acts as a front-end for iw.) Gábor -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) -- 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