[PATCH v3] mesh: Make inactivity timer configurable

Bob Copeland me
Fri Jan 16 05:07:10 PST 2015


On Fri, Jan 16, 2015 at 06:29:17PM +0900, Masashi Honma wrote:
> Current mesh code uses ap_max_inactivity as inactivity timer. This patch makes
> it configurable.

Thanks, looks good to me.

If we do add DEL_STATION event handling to wpa_s (and deactivate
ap_max_inactivity timer), then this code:

> +	if ((params->flags & wpa_driver_mesh_flag_user_mpm) || timeout == 0)
> +		timeout = 0xffffffff;

could go away.  But as long as it's much larger than the ap timer
it should work fine.

-- 
Bob Copeland %% http://bobcopeland.com/



More information about the Hostap mailing list