[RFC1/2] 11ac changes - VHT IEs in beacons

Johannes Berg johannes
Mon Jun 4 00:28:05 PDT 2012


On Mon, 2012-06-04 at 07:13 +0000, Mahesh Palivela wrote:

> --- a/src/drivers/nl80211_copy.h
> +++ b/src/drivers/nl80211_copy.h
> @@ -1786,6 +1786,9 @@ enum nl80211_mpath_info {
>   * @NL80211_BAND_ATTR_HT_CAPA: HT capabilities, as in the HT information IE
>   * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
>   * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
> + * @NL80211_BAND_ATTR_VHT_MCS_SET: 8-byte attribute containing the MCS set as
> + *	defined in 802.11ac
> + * @NL80211_BAND_ATTR_VHT_CAPA: VHT capabilities, as in the VHT capabilities IE
>   * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined
>   * @__NL80211_BAND_ATTR_AFTER_LAST: internal use
>   */
> @@ -1799,6 +1802,9 @@ enum nl80211_band_attr {
>  	NL80211_BAND_ATTR_HT_AMPDU_FACTOR,
>  	NL80211_BAND_ATTR_HT_AMPDU_DENSITY,
>  
> +	NL80211_BAND_ATTR_VHT_MCS_SET,
> +	NL80211_BAND_ATTR_VHT_CAPA,
> +
>  	/* keep last */
>  	__NL80211_BAND_ATTR_AFTER_LAST,
>  	NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1

And this, of course, is pure heresy. Don't change nl80211.h in hostapd
when you haven't proposed any kernel patches.

johannes




More information about the Hostap mailing list