[PATCH 2/2] ibss: enable HT40 if supported

Jouni Malinen j at w1.fi
Sun Jan 4 08:22:31 EST 2015


On Mon, Dec 29, 2014 at 08:14:59AM +0100, Janusz Dziedzic wrote:
> Setup HT40+/HT40- if supported by driver.
 
How would this handle 20/40 MHz coexistence requirements and overlapped
BSS scanning expectations?

> +	int allowed_40[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, 184, 192 };

That is very confusingly named variable.. I'd assume this is supposed to
be something like ht40plus[], i.e., a list of primary channels on which
the secondary channel is above the primary channel.

> +	wpa_printf(MSG_DEBUG, "ibss setup freq channel %d, sec_channel_offset %d",

This function was used with mesh, so this is getting even more
confusing when debug logs would talk about IBSS.
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list