* Add option to have more than one process listen for beacons per wiphy?
@ 2012-10-22 23:48 Ben Greear
2012-10-23 7:23 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2012-10-22 23:48 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
We have been using one hostapd process per virtual AP interface.
With the commit below, this stopped working because the second hostapd would
fail to register as a beacon listener since the first was already registered.
commit 5e760230e42cf759bd923457ca2753aacf2e656e
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Nov 4 11:18:17 2011 +0100
cfg80211: allow registering to beacons
Add the ability to register to received beacon frames
to allow implementing OLBC logic in userspace. The
registration is per wiphy since there's no point in
receiving the same frame multiple times.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
To me, this is a regression bug and worth fixing.
I would like to write up some patch that allows more than one
hostapd to run per wiphy interface (basically, one per VAP interface).
A simple means would be a fixed-length array of nlpids (with max of maybe
16 or so). Or, could do a variable length array, or list, or some other
way to register more than one at a time. If it were up to me, I'd choose
a fixed-length array just to keep the code simple.
Any opinions on this?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Add option to have more than one process listen for beacons per wiphy?
2012-10-22 23:48 Add option to have more than one process listen for beacons per wiphy? Ben Greear
@ 2012-10-23 7:23 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2012-10-23 7:23 UTC (permalink / raw)
To: Ben Greear; +Cc: linux-wireless@vger.kernel.org
On Mon, 2012-10-22 at 16:48 -0700, Ben Greear wrote:
> A simple means would be a fixed-length array of nlpids (with max of maybe
> 16 or so). Or, could do a variable length array, or list, or some other
> way to register more than one at a time. If it were up to me, I'd choose
> a fixed-length array just to keep the code simple.
>
> Any opinions on this?
Fixed-length seems like a bad idea, you'll eventually complain about it
again :P
A list of small structures like the management frame registrations seems
like the best option?
Alternatively, we could have a new multicast group but that'd also
require hostapd changes.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-23 7:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 23:48 Add option to have more than one process listen for beacons per wiphy? Ben Greear
2012-10-23 7:23 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).