linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Add option to have more than one process listen for beacons per wiphy?
Date: Mon, 22 Oct 2012 16:48:54 -0700	[thread overview]
Message-ID: <5085DB66.7020400@candelatech.com> (raw)

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


             reply	other threads:[~2012-10-22 23:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-22 23:48 Ben Greear [this message]
2012-10-23  7:23 ` Add option to have more than one process listen for beacons per wiphy? Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5085DB66.7020400@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).