[RFC 5/7] hostapd: pass VHT capabilities to driver wrapper

Johannes Berg johannes at sipsolutions.net
Wed Nov 21 11:41:06 EST 2012


On Wed, 2012-11-21 at 17: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() */
> +}

FWIW, I'm not really sure why we should do this or why HT does it.
nl80211 doesn't require it for either of them.

johannes



More information about the HostAP mailing list