Re: [PATCH v2 2/6] nl80211: Pass probe response data to drivers
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-01-25 10:12:07
On Mon, 2011-01-24 at 22:47 +0200, Arik Nemtsov wrote:
On Mon, Jan 24, 2011 at 13:35, Johannes Berg [off-list ref] wrote:quoted
On Sun, 2011-01-23 at 23:02 +0200, Arik Nemtsov wrote:quoted
Allow usermode to pass probe-response data. This data can be used as a template probe-response offloading.Why use a separate command for this, and not do it like the SSID? I alsoIts only relevant to AP-mode (at least for now) so bss_conf didn't seem appropriate. Also since its a dynamically allocated buffer it should be protected by RCU.
But all that is unrelated to the nl80211 API, no? Also the SSID already uses bss_conf too, and it's AP mode too...
About compatibility - good point there. Currently the probe response template is set according to the beacon for compatibility. As for SSID - with the current wl12xx we'll set an empty SSID when a non-supporting hostapd is encountered. I'll fix that (in a v3). Other than that, we should be able to operate with either one configured.
Does that mean if you set an empty SSID it won't reply but pass them up? Then you could implement the behaviour I just asked for ... johannes