[PATCH] hostapd: Supply default parameters for OBSS

Jouni Malinen j at w1.fi
Fri Mar 14 18:22:33 EDT 2014


On Wed, Mar 12, 2014 at 03:28:39PM -0700, Paul Stewart wrote:
> For some client OBSS implementations that are performed in
> firmware, all OBSS parameters need to be set to valid values.
> Do this, as well as supplying the "20/40 Coex Mgmt Support"
> flag in the extended capabilities IE.

Thanks, applied.

> @@ -54,7 +54,19 @@ u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid)
> -		/* TODO: Fill in more parameters (supplicant ignores them) */
> +		/* Fill in default values for remaining parameters (7.3.2.60) */
> +		scan_params->scan_passive_dwell =
> +			host_to_le16(20);
> +		scan_params->scan_active_dwell =
> +			host_to_le16(10);
> +		scan_params->scan_passive_total_per_channel =
> +			host_to_le16(200);
> +		scan_params->scan_active_total_per_channel =
> +			host_to_le16(20);
> +		scan_params->channel_transition_delay_factor =
> +			host_to_le16(5);
> +		scan_params->scan_activity_threshold =
> +			host_to_le16(5);

Though, I changed that IEEE 802.11 reference to match the current
standard and also mention the MIB where these defaults come from. I also
changed that last value to 25 which is the defined default. If 5 was
used here on purpose, please submit a separate patch to change it with
the comment updated to indicate why it is different.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list