2007-12-12 17:18:07

by Johannes Berg

[permalink] [raw]
Subject: privacy_invoked in AP interfaces?

Hi,

I was just testing hostapd and it told me:
Could not set PrivacyInvoked for interface wlan0

This is because we only allow setting that for STA interfaces, but what
should the setting do for AP interfaces? I don't see any point in it, is
there?

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part

2007-12-14 12:17:52

by Johannes Berg

[permalink] [raw]
Subject: Re: privacy_invoked in AP interfaces?


> > I was just testing hostapd and it told me:
> > Could not set PrivacyInvoked for interface wlan0
> >
> > This is because we only allow setting that for STA interfaces, but what
> > should the setting do for AP interfaces? I don't see any point in it, is
> > there?
>
> The only use for it in the AP mode is to support drivers (or well, more
> likely firmware designs) that insist on generating the Beacon (and Probe
> Response) frames themselves. I would be fine with net/mac80211 not
> supporting such designs, but it would probably be better to continue to
> support this in hostapd (and make it possible to do this with
> cfg/nl80211, too).

Ok, thanks for the clarification.

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part

2007-12-14 04:55:06

by Jouni Malinen

[permalink] [raw]
Subject: Re: privacy_invoked in AP interfaces?

On Wed, Dec 12, 2007 at 10:53:07AM +0100, Johannes Berg wrote:

> I was just testing hostapd and it told me:
> Could not set PrivacyInvoked for interface wlan0
>
> This is because we only allow setting that for STA interfaces, but what
> should the setting do for AP interfaces? I don't see any point in it, is
> there?

The only use for it in the AP mode is to support drivers (or well, more
likely firmware designs) that insist on generating the Beacon (and Probe
Response) frames themselves. I would be fine with net/mac80211 not
supporting such designs, but it would probably be better to continue to
support this in hostapd (and make it possible to do this with
cfg/nl80211, too).

--
Jouni Malinen PGP id EFC895FA