[PATCH v3 12/15] driver_nl80211: register for beacons

Jouni Malinen j at w1.fi
Tue Dec 6 11:42:17 EST 2011


On Sat, Nov 19, 2011 at 01:39:22PM +0100, Johannes Berg wrote:
> When running AP mode, we need to receive beacons
> over overlapping BSSes to handle protection. Use
> the new nl80211 command for this. As the command
> works per wiphy (and we don't want to receive the
> beacons multiple times) add an abstraction that
> keeps track of per-wiphy data.

Thanks, applied.

> +nl80211_get_wiphy_data_ap(struct i802_bss *bss)

> +	w = os_zalloc(sizeof(*w));
> +	w->wiphy_idx = wiphy_idx;

Though, with something important added after the memory allocation.. ;-)

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list