set_ap_wps_ie in driver_nl80211

Bartosz.Markowski at tieto.com Bartosz.Markowski
Fri May 6 02:49:56 PDT 2011


Hi,

What I ment is: if driver handles probe requests and probe responses internally (wihout notifying) hostapd.

How to pass this IE for Probe Resp then?

Isn't this function comment from set_ap_wps_ie() valid anymore?

\Bartosz

-----Original Message-----
From: Johannes Berg [mailto:johannes at sipsolutions.net] 
Sent: 6 maja 2011 11:04
To: Markowski Bartosz
Cc: hostap at lists.shmoo.com
Subject: RE: set_ap_wps_ie in driver_nl80211

On Fri, 2011-05-06 at 11:46 +0300, Bartosz.Markowski at tieto.com wrote:
> What about this comment:
> 
> 	 * This will also be used to add P2P IE(s) into Beacon/Probe Response
> 	 * frames when operating as a GO. The driver is responsible for adding
> 	 * timing related attributes (e.g., NoA) in addition to the IEs
> 	 * included here by appending them after these buffers. This call is
> 	 * also used to provide Probe Response IEs for P2P Listen state
> 	 * operations for drivers that generate the Probe Response frames
> 	 * internally.
> 	 */
> 	int (*set_ap_wps_ie)(void *priv, const struct wpabuf *beacon,
> 			     const struct wpabuf *proberesp,
> 			     const struct wpabuf *assocresp);
> 
> Especially part for drivers that generate the Probe Response frames internally?

Yes. My old comment applies to that:

That doesn't make any sense, the whole beacon is programmed and probe responses are sent by hostapd.

johannes




More information about the Hostap mailing list