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

Bob Copeland me
Tue Nov 4 04:02:05 PST 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