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

Jouni Malinen j
Tue Dec 6 08:42:17 PST 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