[PATCH 06/12] mesh: Reduce none 11N Self-protected Action frame size

Bob Copeland me at bobcopeland.com
Tue Nov 4 07:02:05 EST 2014


On Tue, Nov 04, 2014 at 02:36:47PM +0900, Masashi Honma wrote:
> +#ifdef CONFIG_IEEE80211N
> +	if (type != PLINK_CLOSE &&
> +	    wpa_s->current_ssid->mesh_ht_mode > CHAN_NO_HT) {
> +		buf_len += 2 + 26 + /* HT capabilities */
> +			   2 + 22;  /* HT operation */
> +	}
> +#endif /* CONFIG_IEEE80211N */

Hmm, does it really matter if you allocate an extra 52 bytes?

-- 
Bob Copeland %% www.bobcopeland.com


More information about the HostAP mailing list