On Mon, Jan 24, 2011 at 13:41, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Sun, 2011-01-23 at 23:02 +0200, Arik Nemtsov wrote: >> Support passing SSID and probe-response template to drivers. >> This data can be used to offload the beacon -> probe-req -> probe-resp >> process to HW. > > I still think you should add a wiphy flag and advertise it in nl80211 to > advertise and request this behaviour. That will allow hostapd (and > mac80211 in IBSS mode) to not reply to probe requests when they aren't > filtered out by the device, and will allow hostapd/wpa_s to also > restrict its operation to non-P2P etc. as Jouni pointed out. For P2P > then that will have to be extended more I guess, and the firmware > functionality be improved -- or even disabled. > Well a wiphy flag won't do here. Probe requests may be filtered in some modes (AP-mode) but needed in others (p2p?). I think flexibility is a nice added bonus here. A FW can decide to handle most standard probe-requests and simply not pass them up. Others ("complicated" ones) it can pass up to hostapd and expect it to reply. The current patches leave this policy in the hands of the driver/fw. Regards, Arik -- 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