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

Masashi Honma masashi.honma
Tue Nov 4 05:54:36 PST 2014


2014-11-04 21:02 GMT+09:00 Bob Copeland <me at bobcopeland.com>:
> Hmm, does it really matter if you allocate an extra 52 bytes?

I was not reported it causes any problem.

This is just refactoring.


2014-11-04 21:02 GMT+09:00 Bob Copeland <me at bobcopeland.com>:
> 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