[PATCH] wpa_supplicant: Allow user to disable short guard interval (SGI).

Jouni Malinen j
Tue Dec 18 04:46:56 PST 2012


On Thu, Dec 13, 2012 at 09:30:26AM -0800, greearb at candelatech.com wrote:
> Requires kernel patch to make the SGI-20 properly disabled...SGI-40
> will already work since kernel 3.4 or so.

Thanks, applied.

> diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
> @@ -1637,6 +1637,7 @@ static const struct parse_data ssid_fields[] = {
>  #ifdef CONFIG_HT_OVERRIDES
>  	{ INT_RANGE(disable_ht, 0, 1) },
>  	{ INT_RANGE(disable_ht40, -1, 1) },
> +	{ INT_RANGE(disable_sgi, -1, 1) },
>  	{ INT_RANGE(disable_max_amsdu, -1, 1) },

Though, I changed that range to 0..1 since -1 did not seem to make sense
for it. I'd assume that disable_ht40 range is also incorrect, i.e., only
the A-MSDU parameters use -1.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list