[PATCH 3/4] hostapd: pass VHT capabilities to driver wrapper

Johannes Berg johannes at sipsolutions.net
Fri Dec 28 09:35:50 EST 2012


On Fri, 2012-12-28 at 15:32 +0100, Johannes Berg wrote:

> +void hostapd_get_vht_capab(struct hostapd_data *hapd,
> +			   struct ieee80211_vht_capabilities *vht_cap,
> +			   struct ieee80211_vht_capabilities *neg_vht_cap)
> +{
> +	if (vht_cap == NULL)
> +		return;
> +	os_memcpy(neg_vht_cap, vht_cap, sizeof(*neg_vht_cap));
> +
> +	/* TODO: mask own capabilities, like get_ht_capab() */

I'm not convinced this is needed -- maybe just remove this?

The kernel, at least mac80211, certainly doesn't require it right now.

johannes



More information about the HostAP mailing list