Search Linux Wireless

Add option to have more than one process listen for beacons per wiphy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
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@xxxxxxxxx>
    Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>


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@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux